Select

From NexusWiki
Revision as of 03:01, 19 June 2009 by LordValarian (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Select(list, condition);

Adds elements to the list from the scene; those elements, that fulfill the condition’s term value (or it equals to 1). You can refer to the just examined object’s variables with the S. prefix. E.g.: select(1,S.NPC) – it adds all of the NPCs to certain lists. Its return value is the number of elements.