Difference between revisions of "GetDistance"

398 bytes added ,  19:34, 9 November 2012
no edit summary
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
imported>Hammil
 
(2 intermediate revisions by 2 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]]
Anonymous user