Is there a way to have xmlspawner to spawn a moongate that will cycle thru a set of locations?
What I'm doing is making a maze and at different locations I'm wanting to have moongates that will cycle thru 4 locations or more randomly so that they'll never know which gate will take them to the main prize area.
yes, you could have a spawner that spawned a moongate, and then had entries that changed the moongate target locations periodically.
set up your moongate spawner and give it a name like "RandomMoongateSpawner"
subgroup 1: moongate
then set up your random target location spawner with entries like
SETONSPAWN,RandomMoongateSpawner,1/target/(100,1000,0)/targetmap/felucca
SETONSPAWN,RandomMoongateSpawner,1/target/(250,980,0)/targetmap/trammel
SETONSPAWN,RandomMoongateSpawner,1/target/(350,345,0)/targetmap/felucca
SETONSPAWN,RandomMoongateSpawner,1/target/(876,124,0)/targetmap/malas
and set the maxcount of the spawner to 1 so that only one of them will spawn at a time. Then set the min/maxdelay to whatever interval you want.
You could also forget about the moongate spawner and just manually place a moongate, and then create your random target location spawner, set the SetItem property on the spawner to point to the moongate, and use entries like
SET/target/(100,1000,0)/targetmap/felucca
SET/target/(250,980,0)/targetmap/trammel
SET/target/(350,345,0)/targetmap/felucca
SET/target/(876,124,0)/targetmap/malas
this is a bit more efficient than the SETONSPAWN approach.
Note, you can add as many entries as you like. Just set the maxcount of the spawner to 1 so that only 1 of them is spawned at a time.