Gets the NPC Ids of all NPCs rendered on the screen identified by the specified name. Otherwise, returns -1.
The name of an NPC.
table of ids for each identified NPCs.
idList = osrs.ClientOp.getNpcIdByNameAll("Man")for index, id in pairs(idList) do osrs.ClientOp.highlightNpcOn( id, osrs.ClientOp.npcCreationCycle(id), 6);end Copy
idList = osrs.ClientOp.getNpcIdByNameAll("Man")for index, id in pairs(idList) do osrs.ClientOp.highlightNpcOn( id, osrs.ClientOp.npcCreationCycle(id), 6);end
Gets the NPC Ids of all NPCs rendered on the screen identified by the specified name. Otherwise, returns -1.