Hi! I noticed that Pull Requests are disabled, so I'm sharing my implementation of the NPC/Monster respawn system here.
You can review the changes directly on my fork here:
targun123@edbf0e1
Features:
- Added
ActorRespawnTimer component to hold template ID, delay, and spawn position.
- Added
ActorRespawnSystem to update elapsed time since death and handle respawning via World::addNpc.
Hi! I noticed that Pull Requests are disabled, so I'm sharing my implementation of the NPC/Monster respawn system here.
You can review the changes directly on my fork here:
targun123@edbf0e1
Features:
ActorRespawnTimercomponent to hold template ID, delay, and spawn position.ActorRespawnSystemto update elapsed time since death and handle respawning viaWorld::addNpc.