Discuss this page on this pages TalkPage

objGetArmorLevel

Syntax (objGetArmorLevel obj item/armorSegment)
Arguments obj: Spaceobject the armor is on
item/armorSegment:
Returns Percentage
Category spaceObject functions
Description Returns the armor's hitpoints as a percentage of full.

Example

 (objGetArmorLevel gPlayership 0)

Returns the hitpoints as a percentage of full of the playership's forward segment.

Return to Space Object functions list

Return to functions list