Functions Documentation |
|
Name |
objRepairArmor |
Syntax |
(objRepairArmor spaceObject number [number]) |
Argument List |
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 |
spaceobject, repair/damage, armor
|
Description |
Repairs the armor at the given spot for other optionally given amount. |
Example |
(objRepairArmor gPlayerShip 0)
Repairs the forward armor fully. |
Comment |
Would love an armor equipping function that acts just like this one. It is nice and simple and fully able to be done within the code. |