User Tools

Site Tools


modding:function:objrepairarmor

Discuss this page on this page's Talk Page

objRepairArmor

See objRepairArmor at Xelerus

Syntax (objRepairArmor spaceObject number [number])
Arguments spaceObject: The space object you want to repair some armor of.
number: Where on the space object you want to repair the armor on.
[number]: The optional number of the amount you want to repair. If not given repairs for full.
Returns condition: True if successful.
Category armor, damage, spaceobject
Description Repairs the armor at the given spot for other optionally given amount.

Example

(objRepairArmor gPlayerShip 0)

Repairs the forward armor fully.

Return to Functions list

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