Discuss this page on this pages TalkPage

sysGetEnvironment

See sysGetEnvironment at Xelerus

Syntax (sysGetEnvironment spaceObject)
Arguments spaceObject: The space object you want to check its environment.
Returns number: The unid of the space environment.
Category 0.99, spaceobject, unid
Description Gets the environment the space object is in.

Example

(sysGetEnvironment gplayership)

Returns the unid of the environment the player ship is in. Return to Functions list