Discuss this page on this pages TalkPage

objGetShieldLevel

See objGetShieldLevel at Xelerus

Syntax (objGetShieldLevel spaceObject)
Arguments spaceObject: The space object that you want to get the shield level of.
Returns number: The amount of shield left divided by the max amount of shield on the space object. Returns -1 if no shield is equipped.
Category shield, spaceobject
Description Finds and returns the percent of shield remaining.

Example

(objGetShieldLevel gplayership)

Returns the percent of shield remaining. Return to Functions list