modding:function:objisabandoned
Discuss this page on this pages TalkPage
objIsAbandoned
Syntax | (objIsAbandoned spaceObject) |
---|---|
Arguments | spaceObject: The space object you want to see if it is abandoned. |
Returns | condition: True if the space object is abandoned. Nil otherwise. |
Category | condition query, spaceobject |
Description | Checks to see if the space object is abandoned. (ie has been destroyed) |
Example
(objIsAbandoned gplayership)
Returns Nil. No time will the player ship be abandoned until the game is over.
(objIsAbandoned Nil)
returns True–useful when a station has been destroyed (from 0.99) Return to Functions list
modding/function/objisabandoned.txt · Last modified: 2014/12/27 04:40 by 127.0.0.1