Functions Documentation
View Function Edit Function
Name sysGetEnvironment
Syntax (sysGetEnvironment spaceObject)
Argument List spaceObject: The space object you want to check its environment.
Returns number: The unid of the space environment.
Category spaceobject, 0.99, unid
Description Gets the environment the space object is in.
Example
(sysGetEnvironment gplayership)

Returns the unid of the environment the player ship is in.
Comment Can be very useful in checking what environments space objects are in. Currently not so useful due to we only have one space environment.