Functions Documentation
View Function Edit Function
Name objSetItemCharges
Syntax (objSetItemCharges obj item charges [count]) -> itemStruct
Argument List obj: the spaceobject that has the item
item: the item to set charges
charges: how many charges you want to set
[count]: the amount of items in the stack to set charges on
Returns ItemStruct: the new item
Category spaceobject, item
Description Used by the NM900 missile pod to reload
Example Taken from &itNM900MissilePod;
<Events>
<Reload>
; Reloads the pod with missiles
(objSetItemCharges gSource gItem 36)
</Reload>
</Events>
Comment