Functions Documentation
View Function Edit Function
Name objGetItems
Syntax (objGetItems spaceObject criteria)
Argument List spaceObject: The space object that the items are in.
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 spaceobject, item
Description Creates and returns a list of all the items in the space object that match the criteria.
Categories can be seen here:
http://transcendence.kronosaur.com/wiki/modding/function/legend#item_criteria
Example
(objGetItems gplayerShip "wI")


Returns a list of all the installed weapons on the ship.
Comment Useful for getting all the items of a certain kind from a space object. It is most often used to check if the space object contains a certain kind of items.