Difference between revisions of "GetDistance"

59 bytes added ,  19:34, 9 November 2012
no edit summary
imported>Hammil
imported>Hammil
 
Line 14: Line 14:
  |example = <pre>Player.GetDistance Molerat01Ref</pre>
  |example = <pre>Player.GetDistance Molerat01Ref</pre>
Returns the distance between the player and the Molerat
Returns the distance between the player and the Molerat
|bugs = If a null reference is passed, the script crashes
}}
}}
==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:Functions (GECK 1.1)]]
Anonymous user