Detecting when npcs / enemies spawn

Discuss modding questions and implementation details.
Post Reply
User avatar
joshcamas
Posts: 87
Joined: Mon Sep 21, 2020 7:01 am

Detecting when npcs / enemies spawn

Post by joshcamas »

Is there an event of some sort to detect when an npc or enemy spawns? I was hoping to just detect when a scene transition occurs, but since enemies can spawn whenever (such as when loitering) and since npcs can spawn when getting close to a town, clearly that won't work...

Post Reply