Discuss this page on this page's Talk Page

objGetArmorDamage

See objGetArmorDamage at Xelerus

Syntax (objGetArmorDamage spaceObject number)
Arguments 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 armor, repair & damage, spaceObject
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.

Return to Functions list