How do I check if there is already an npc on the map using plotscripting?
Jump to navigation
Jump to search
You can do this using the NPC copy count command.
if(npc copy count(4) >= 1) then, begin # things that only happen if there is at least one copy of NPC ID 4 on the map else # things that happen if there are no copies of NPC ID 4 on the map end