User Tools

Site Tools


modding:function:objgetdistance

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

modding:function:objgetdistance [2014/12/27 04:40] – external edit 127.0.0.1modding:function:objgetdistance [2017/01/21 00:38] (current) 0xabcdef
Line 10: Line 10:
 ^ Returns | number: The distance between the two space objects. | ^ Returns | number: The distance between the two space objects. |
 ^ Category | [[spaceobject]] | ^ Category | [[spaceobject]] |
-^ Description | Returns the distance between the two space objects. |+^ Description | Returns the distance between the two space objects in light-seconds. |
  
 === Example === === Example ===
  
 <code lisp>(objGetDistance gPlayerShip gsource)</code> <code lisp>(objGetDistance gPlayerShip gsource)</code>
-Returns the distance between the calling space object and the player ship.+Returns the distance in light-seconds between the calling space object and the player ship.
 Return to [[:Functions]] list Return to [[:Functions]] list
  
modding/function/objgetdistance.1419655255.txt.gz · Last modified: 2017/01/21 00:38 (external edit)