modding:function:armgetrepaircost
Discuss this page on this pages TalkPage
armGetRepairCost
See armGetRepairCost at Xelerus
| Syntax | (armGetRepairCost type) → Cost to repair 1 hit point |
|---|---|
| Arguments | type: The type of the armor you want to get the repair cost from. This is not the UNID. |
| Returns | integer: The cost of repairing one point of damage of this armor. |
| Category | armor, armortype, cash, damage |
| Description | Returns the repair cost of one point of damage for this armor type. |
Example
(armGetRepairCost (objGetArmorType gPlayerShip 0))
This returns the cost of repairing one point of damage on your forward armor. Return to Functions list
modding/function/armgetrepaircost.txt · Last modified: by 127.0.0.1
