Discuss this page on this page's [[objGetItems Talk Page|Talk Page]] === objGetItems === See [[http://xelerus.de/index.php?s=functions&function=97|objGetItems at Xelerus]] ^ Syntax | (objGetItems spaceObject criteria) | ^ Arguments | spaceObject: The space object that the items are in. (See also [[Globals|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 functions|item]], [[spaceobject functions|spaceObject]] | ^ Description | Creates and returns a list of all the items in the space object that match the criteria. See [[modding/function/legend#item_criteria|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