Discuss this page on this pages TalkPage
| 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. |
(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