Difference between revisions of "GetDistance"

398 bytes added ,  19:34, 9 November 2012
no edit summary
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))
imported>Hammil
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Incomplete}}
{{Function
|CSWikiPage = GetDistance
|origin = GECK1
|summary = Used to find the distance between two references.
|name = GetDistance
|returnVal = Distance
|returnType = float
|referenceType = [Actor, Activator]
|arguments =
  {{FunctionArgument
  |Name = Target
  |Type = ref
  }}
|example = <pre>Player.GetDistance Molerat01Ref</pre>
Returns the distance between the player and the Molerat
}}


Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/GetDistance GetDistance].
==Notes==
If a null reference - or a reference to an object not in the current cell - is passed, the script crashes


[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (GECK 1.0)]]
[[Category:Functions (GECK 1.1)]]
[[Category:Movement Functions]]
[[Category:Movement Functions]]
[[Category:Movement Functions (GECK 1.0)]]
[[Category:Movement Functions (GECK 1.1)]]
[[Category:Condition Functions]]
[[Category:Condition Functions]]
[[Category:Condition Functions (GECK 1.0)]]
[[Category:Condition Functions (GECK 1.1)]]
Anonymous user