Select
From NexusWiki
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.