Functions Documentation |
|
Name |
armGetHitPoints |
Syntax |
(armGetHitPoints type) -> Hit points of armor |
Argument List |
type: The type of the armor you want to get the name from. This is not the UNID. |
Returns |
The amount of hit points of the armor |
Category |
0.99, armortype, armor
|
Description |
Get the max hit points on the armor segment. |
Example |
Get the player ships forward armor segment, and see how many hitpoints it has:
(armGetHitPoints (objGetArmorType gPlayerShip 0))
|
Comment |
It returns the max hit points of the armor segment, and not the actual hitpoints of the segment if it is damaged. (use objGetArmorDamage instead) |