Full Version : Respawning back to max after spawn delay is up
xmlspawner >>Q&A >>Respawning back to max after spawn delay is up
<< Prev | Next >>
Rift- 05-05-2006
Okay spawning about 20 creatures with hour delay on respawn well what I was wanting is if the respawn time comes it respawns all the monsters thats been killed instead of one each time the hour comes up......... I was wondering if I set the minD maxD if that would help any or am I going to need to just reset the whole spawner
ArteGordon- 05-05-2006

QUOTE (Rift @ May 05, 2006 03:07 pm)
Okay spawning about 20 creatures with hour delay on respawn well what I was wanting is if the respawn time comes it respawns all the monsters thats been killed instead of one each time the hour comes up......... I was wondering if I set the minD maxD if that would help any or am I going to need to just reset the whole spawner

Set the Per field for the spawn entry to 20, and then on each spawner tick (1 hour in your case), it will spawn up to 20 of them at a time.
The Per field specified the number of spawns that you want respawned "per" spawner tick (the default is 1).
Also note that you if have multiple spawns in the same subgroup, then when the subgroup is spawned, each of the entries in that subgroup will be spawned on each spawner tick.
So for example, if you had a set of spawns like
orcs Max=3
harpies Max=4
trolls Max=5
and you wanted them all to respawn back to the max on each spawner tick, just put them all into the same subgroup, and assign the Per value the same as their individual Max values.
orcs Max=3, Per=3, Sub=1
harpies Max=4, Per=4, Sub=1
trolls Max=5, Per=5, Sub=1
Rift- 05-05-2006
I knew it be something easy going to try it thanks