Discuss this page on this page's [[objGetArmorDamage Talk Page|Talk Page]] === objGetArmorDamage === See [[http://xelerus.de/index.php?s=functions&function=83|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 functions|armor]], [[repair & damage functions|repair & damage]], [[spaceobject functions|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