User Tools

Site Tools


modding:function:sysgetenvironment

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

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