Gets the NPC Ids of all NPCs rendered on the screen.
table of ids for all NPCs on-screen.
-- Get a list of all of the npc id's that are on screen idList = osrs.ClientOp.getNpcIdAll()-- Print the name of all of the npc's using their idsfor index, id in pairs(idList) do osrs.print(osrs.ClientOp.npcName(id))end Copy
-- Get a list of all of the npc id's that are on screen idList = osrs.ClientOp.getNpcIdAll()-- Print the name of all of the npc's using their idsfor index, id in pairs(idList) do osrs.print(osrs.ClientOp.npcName(id))end
Gets the NPC Ids of all NPCs rendered on the screen.