User Tools

Site Tools


modding:function:objgetlevel

Discuss this page on this pages TalkPage

objGetLevel

See objGetLevel at Xelerus

Syntax (objGetLevel obj) → level
Arguments obj: The spaceObject you want to get the level of
Returns level: an integer representing the level of the object
Category spaceobject
Description easy to use function to get the level of an object in the current system

Example

(objGetLevel (objGetTarget gPlayerShip))

Returns the level of the player current target Return to Functions list

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