Functions Documentation |
|
Name |
objGetArmorDamage |
Syntax |
(objGetArmorDamage spaceObject number) |
Argument List |
spaceObject: The space object that you want to get the damage of the armor from.
number: The segment number of the armor of the space object from what you want to get the damaged from. |
Returns |
number: The amount of damage the armor has. |
Category |
repair/damage, spaceobject, armor
|
Description |
Returns the amount of damage on the armor segment on the space object. |
Example |
(objGetArmorDamage gPlayerShip 0)
Returns the amount of damage on the forward armor. |
Comment |
Basic function for getting the armor damage from a space object. |