Discuss this page on this pages TalkPage
Syntax | (objRemoveItem spaceObject itemStruct [number]) |
---|---|
Arguments | spaceObject: The space object you want to remove an item from. |
itemStruct: The item you want to remove from the object. | |
[number]: The optional number of items you want to remove. | |
Returns | condition: True if successful. |
Category | item, spaceobject |
Description | Removes the number of items (defaults to whatever is in the itemStruct) from the space object. |
(objRemoveItem gPlayerShip (itmCreate &itLongzhuSphere; 1))
Removes a Longzhu Sphere from the player ship and returns if it could do it. Return to Functions list