I am going to assume the zones are set as dynamic (they shut down if empty of players).
Do accomplish this.
Assign upon spawning your raid mobs each a unique global variable.
ect quest::setglobal("dragon1",1,7,F); another would be "dragon2", "dragon3", "dragon4",
Upon death delete the global.
Add to your spawn script, a check if any of the other globals are defined, if they are defined this means they are still spawned, if they are not defined this means they have been killed. If all are undefined, then roll your 1-6.
Lets say a roll of 6 = spawn all the dragons again. So if roll equal six set 4 new global lets called it quest::setglobal("Respawn_Now_Dragon",4,7,F); ect through Respawn_Now_Dragon4
In each zone that has the raid npc you want to spawn, for example, permafrost and solb. You should have an invisble NPC that is constantly spawned. So as soon as the zone loads up when a player zones in, it will run a sub event spawn script. In this script now check if "Respawn_Now" is defined or not and IF the raid mob is up or not. If defined and the raid mob isn't up then spawn the raid mob and delete the global.
Sorry if this is verbose but I didn't feel like formatting all the code. Anyways no reason this wouldn't accomplish what you want. Any questions let me know.
Kayen
GM Stormhaven
|