modding:function:objgetitems
This is an old revision of the document!
Discuss this page on this page's Talk Page
objGetItems
| Syntax | (objGetItems spaceObject criteria) |
|---|---|
| Arguments | spaceObject: The space object that the items are in. (See also gPlayerShip) |
| criteria: The criteria that you want the items you get to match. | |
| Returns | list: A list of all the items in the space object that match the criteria. |
| Category | item, spaceObject |
| Description | Creates and returns a list of all the items in the space object that match the criteria. See Categories in the Function Legend page |
Example
(objGetItems gplayerShip "wI")
Returns a list of all the installed weapons on the ship.
Return to Functions list
modding/function/objgetitems.1419655255.txt.gz · Last modified: (external edit)
