Released Scripts - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere X (/Forum-Sphere-X) +--- Forum: General Help (/Forum-General-Help--58) +--- Thread: Released Scripts (/Thread-Released-Scripts) |
Released Scripts - rastrero - 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. RE: Released Scripts - Jhobean - 04-12-2020 12:54 AM Very intersting THX!! Instead of using @death in the event, maybe use @destroy so if a GM or a script do .remove on it, it will work? RE: Released Scripts - rastrero - 04-13-2020 01:31 AM sure, @destroy would work better. ty. |