Difference between revisions of "GetDistance"

535 bytes added ,  19:34, 9 November 2012
no edit summary
imported>Wkilleen
 
imported>Hammil
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/GetDistance GetDistance].
{{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
}}
 
==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.1)]]
[[Category:Movement Functions]]
[[Category:Movement Functions]]
[[Category:Movement Functions (GECK 1.1)]]
[[Category:Condition Functions]]
[[Category:Condition Functions]]
[[Category:Condition Functions (GECK 1.1)]]
Anonymous user