Difference between revisions of "GetDistance"
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 | ||
}} | }} | ||
==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)]] |