User Tools

Site Tools


modding:function:objgetarmordamage

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

modding/function/objgetarmordamage.txt · Last modified: 2014/12/27 04:40 by 127.0.0.1