modding:function:shpgetarmor
Discuss this page on this pages TalkPage
shpGetArmor
| Syntax | (shpGetArmor ship number) |
|---|---|
| Arguments | ship: The ship that you want to get the armor from. |
| number: Where on the ship you want to get the armor from. | |
| Returns | itemStruct: The item struct of the armor. |
| Category | armor, ship |
| Description | Returns what armor the ship is equipped with at the given location. |
Example
(shpGetArmor gplayership 0)
Returns an item struct of the forward armor. Return to Functions list
modding/function/shpgetarmor.txt · Last modified: by 127.0.0.1
