User Tools

Site Tools


modding:function:objgetid

Discuss this page on this page's Talk Page

objGetID

See objGetID at Xelerus

Syntax (objGetID spaceObject)
Arguments spaceObject: The space object you want to find the ID of.
Returns number: The ID of the space object.
Category spaceObject
Description Returns the ID of the space object.

This isn't the UNID. The ID is a number that uniquely identifies a spaceObject in the whole explored universe. (to get a ID, the spaceObject must be first created, of course)
The function is currently used only for the Sung slavers.
This function is used in conjunction with objGetObjByID.

Example

TODO

Return to Functions list

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