04-07-2020, 07:02 AM
Fix for spawn system + Dynamic spawn (not tested)
Fixes:
-Stop timers when max npcs reached.
-Restart timers if any npc get killed or tamed
Dynamic spawn:
-U can tell the spawn to change spawn_group or npc_id once all npcs are killed or tamed.
U only need to add a tag to any spawn to let it work. But u Will need to create a function you tell the spawn the new spawngroup u want it to get. There is an example.
-If u dont want Dynamic spawn to being triggered, just remove @prespawn and the script inside it. U can also remove the functions that make it work.
Fixes:
-Stop timers when max npcs reached.
-Restart timers if any npc get killed or tamed
Dynamic spawn:
-U can tell the spawn to change spawn_group or npc_id once all npcs are killed or tamed.
U only need to add a tag to any spawn to let it work. But u Will need to create a function you tell the spawn the new spawngroup u want it to get. There is an example.
-If u dont want Dynamic spawn to being triggered, just remove @prespawn and the script inside it. U can also remove the functions that make it work.