User Tools

Site Tools


modding:function:objisknown

Discuss this page on this pages TalkPage

objIsKnown

See objIsKnown at Xelerus

Syntax (objIsKnown obj) → True/Nil
Arguments obj: The spaceObject that you want to test.
Returns boolean: True if the space object is known, otherwise Nil.
Category condition query, spaceobject
Description Query function asking if the spaceObject is known, the object can be known by objSetKnown, seeing it onscreen, or targeting it.

Example

(objIsKnown gSource)

Returns true if the player has already discovered this space object. Return to Functions list

modding/function/objisknown.txt · Last modified: 2014/12/27 04:40 by 127.0.0.1