NpcSet

Group
player
Methods
1
Fields
None

Getting one

client:getTopLevelWorldView():npcs()

Methods

MethodReturnsDescription
byIndex(number)NPC?The NPC at index, or nil.

Returned by

MethodReturnsDescription
WorldView.npcsNpcSetThe NPCs in it: a set walked with for _, npc in set, looked up with byIndex, counted with #.

Method details