Full Version : SETONTRIGMOB and GIVE
xmlspawner >>Q&A >>SETONTRIGMOB and GIVE
<< Prev | Next >>
Kin-Kran- 03-06-2007
I am trying to get a spawner to work as a skillgate,teleport and place an item in the players pack. This is what I have in the entrys:
1. SETONTRIGMOB/SKILL,magery/100/SKILL,meditation/100/ect
2. SETONTRIGMOB/location/(5861,929,-20)map,felucca
3. GIVE/welcomepack
The settings on the spawner that are changed are:
Proximity Message " blah blah "
ProximityRange=0
SpawnOnTrigger=true
Spawnrange=0
Min and Max Time = 2-4 seconds
The problem I am having is sometimes it doesnt teleport you right away and you get a welcomepack and the message multiple times. Other times you wont get the welcomepack and/or you are not teleported. I have changed some of the settings around on the spawner but havnt nailed it so it only does each action once and everytime you step on it.
ArteGordon- 03-06-2007
if you want all of those entries to be executed when the spawner is triggered, you need to put them all into the same subgroup, so that they are spawned together as a group.
If you dont do that, then when the spawner is triggered, it just randomly picks one of the spawn entries.
Kin-Kran- 03-06-2007
Ooh, i guess that was a pretty basic question. Yes that did it. The only issue i am having with it now is giving more then one item. ( welcomepack ) * It is still doing all actions twice*
Using GIVE/welcomepack
ArteGordon- 03-07-2007
make sure that you arent triggering more than once. Set the Min/MaxRefract time to something greater than zero so that it has to wait before it can be triggered again.
If you are still having trouble, you can post the XML for the spawner and I can take a look.
Kin-Kran- 03-07-2007
The Refract time was it. I am still learning the basics. Thanks once more!