Full Version : Activate one Spawner with another
xmlspawner >>Q&A >>Activate one Spawner with another
<< Prev | Next >>
Quick_silver- 07-16-2006
I have 2 Spawners. One with the mobiles to spawn. And another with a should activate the first spawner on an event. For Exemple a player come in range.
But how to trigge a spawner with another?
aph- 07-16-2006

QUOTE (Quick_silver @ July 16, 2006 05:01 pm)
I have 2 Spawners. One with the mobiles to spawn. And another with a should activate the first spawner on an event. For Exemple a player come in range. But how to trigge a spawner with another?

If I understood your problem right as u think you can do that this way:
first spawner with mobiles is set to Running=False
than set the second spawner's ProximityRange>0 and to spawn entry use this syntax:
SET,first spawner serial/Running/True
but that will set the spawner only to running/true, so you can also use something like this:
you'll need those 2 spawners and 1 TimedLever
first spawner with mobiles is set to Running=False
than you'll need the TimedLever (you can add the lever on spawn and set Z/20/Visible/false)
and set the TimedLever props like this:
Target0Item-> target the first spawner with mobiles
Target0Property-> set/running/false
Target1Item-> target the first spawner with mobiles
Target1Property-> set/running/true
than you should set Min/Max delay (to set how long will the first spawner stay at Running/True)
than set the second spawner's ProximityRange>0 and to spawn entry use this syntax:
SET,lever serial/State/1
I don't know if this is the best way how to do that, but it works properly.
ArteGordon- 07-16-2006
you can also set the ProximityRange of the first spawner to -2 to put it into manual external triggering mode. Then have the second spawner set the ProximityActivated property of the first spawner to activate it.
from xmlspawner2.txt

QUOTE
- added the donthurtme.xml example to xmlextras that demonstrates the manual ProximityActivated modifications with forced external triggering (ProximityRange = -2). To test it out, just load it and then damage the orc that spawns. That will trigger the second spawner which is in forced external triggering mode. (thanks to Sou^^ for the example idea).

QUOTE
- Added a new proximityrange setting. Setting proximity range to -2 disables both proximity detection as well as free spawning. This allow a spawner to be set to spawn only under external direction by having the ProximityActivated property explicitly set to true by some external agent, such as another spawner, or a switch, etc.
This can be used to create spawn chains that are triggered by one spawner, and then propagate to other spawners. e.g. Have a quest spawner that triggers on a player, and then causes another spawner to trigger using the spawn spec "SET/triggermob/TRIGMOB/proximityactivated/true". Because the proximityrange is set to -2, this becomes the only way to activate the spawner.

and related posts
http://xmlspawner.15.forumer.com/index.php?showtopic=88
http://xmlspawner.15.forumer.com/index.php?showtopic=538