Full Version : NextSpawnTime
xmlspawner >>XMLSpawner Attachments >>NextSpawnTime
<< Prev | Next >>
ArteGordon- 10-23-2007
Normally, spawn times do not depend on when creatures are killed.
This attachment will allow you to reset the next spawn time on a spawner that spawns a creature when that creature dies.
To use this just add the attachment to a spawned creature like this
orc/ATTACH/nextspawntime,mindelay,maxdelay
or
orc/ATTACH/nextspawntime
If you specify a min and maxdelay (in minutes), then those values will be used to update the next spawn time for the spawner that spawned the creature.
If you do not specify a min/maxdelay then the values will be taken from the spawner that spawned the creature.
For example, normally if you had a spawner with a spawn interval of 5 minutes, and you spawned a creature, and then 4 minutes and 50 seconds later you killed it, the next creature would respawn 10 seconds later.
With this attachment, the next creature would respawn 5 minutes later regardless of when you killed it.