User Tools

Site Tools


modding:function:objgetitems

Discuss this page on this page's Talk Page

objGetItems

See objGetItems at Xelerus

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.txt · Last modified: 2015/04/23 14:41 by pixelfck