Full Version : Question about smartspawning and 2 more things.
xmlspawner >>Q&A >>Question about smartspawning and 2 more things.


<< Prev | Next >>

djkee- 11-21-2007
Hello everyone biggrin.gif

I got the smartspawning part ok biggrin.gif

Now i have another problem sad.gif

I am spawning a moongate and i was able to make it dispellable=false but i cant set the coordinates sad.gif
I tried 6586, 866, 0
y=6586, x=866, z=0
[,6586][,866][,0]
[,6586[,866[,0]]]
and nothing worked sad.gif

Can anyone please help me ?

****************************
*EDIT*
How do i set a teleporter to active=true ? and how do i make it so when one player is teleported the teleporter is inactive again ?

****************************

Last question biggrin.gif
Is there a list of the commands and how i can combine them together ?
Like if i want to spawn a creature that will drop something special and it will be in its corpse and i want to set the hue, name, etc.

Thank you so much for helping me and i am sorry if i am asking stupid questions.
I want to say thank you to ArteGordon for making the xmlspawner soooo awesome biggrin.gif

ArteGordon- 12-07-2007
to set coordinates you need to use this format

(6586, 866, 0)

so spawn your moongate like

moongate/target/(6586, 866, 0)/targetmap/trammel

In general, the format you need to use to set a property is the format that you see when you try to get the property. So when you do a '[get target' on a moongate, it will report the coordinate in the form shown above.

For teleporters, you set the 'Active' property to true or false to enable/disable it. To inactivate a teleporter on player use, you would either need to script that into a custom teleporter, or you could use an xmlspawner to do the teleporting (which I think is a lot easier).

You make a spawner-based teleporter by setting the proximity range, and then using an entry like

SETONTRIGMOB/location/(6586, 866, 0)/map/trammel

and then you can easily control how and when you want the spawner to teleport players by adding conditions for triggering the spawner.
For example you could tag players with a temporary attachment that only allowed them to use a given teleporter once a day, or required that they be carrying a certain item, or be on a certain quest, etc.

For keywords that you can use when spawning, your best bet is the How-to forum or some of the tutorial links like this one
http://xmlspawner.15.forumer.com/index.php?showtopic=531