Discuss this page on this pages TalkPage
Syntax | (objGetDistance spaceObject spaceObject) |
---|---|
Arguments | spaceObject: The space object you want to find the distance from. |
spaceObject: The space object you want to find the distance to. | |
Returns | number: The distance between the two space objects. |
Category | spaceobject |
Description | Returns the distance between the two space objects in light-seconds. |
(objGetDistance gPlayerShip gsource)
Returns the distance in light-seconds between the calling space object and the player ship. Return to Functions list