User Tools

Site Tools


modding:function:itmgettypes

Discuss this page on this pages TalkPage

itmGetTypes

See itmGetTypes at Xelerus

Syntax (itmGetTypes criteria) → list of itemUNIDs
Arguments criteria: a string that limits which items will be returned.
Returns a list of item UNID's containing all the items in game (including mods) that match the criteria specified
Category 0.99, item
Description A list of item criteria can be found here: http://wiki.neurohack.com/transcendence/wiki/functionlegend#item_criteria

Example

Print the names of all weapons in game on the debug console:

(enum (itmGetTypes "*w") itm (dbgOutput (itmGetName itm 0)))

Return to Functions list

modding/function/itmgettypes.txt · Last modified: 2014/12/27 04:40 by 127.0.0.1