my xmlquestnpc would add a spawner in the backpack of a player that activates it.
SETONTRIGMOB/ADD/<xmlspawner/addspawn/@#CONDITION,.... ; SET....>
this creates a spawner with
"#CONDITION,..." on the first row but "; SET..." is missing
where am i wrong?
QUOTE (ApplyNow85 @ July 17, 2009 05:11 pm) |
my xmlquestnpc would add a spawner in the backpack of a player that activates it.
SETONTRIGMOB/ADD/<xmlspawner/addspawn/@#CONDITION,.... ; SET....>
this creates a spawner with "#CONDITION,..." on the first row but "; SET..." is missing
where am i wrong? |
Do you have something like this?
CODE |
SETONTRIGMOB/ADD/<xmlspawner/addspawn/@#CONDITION,{GETONTRIGMOB,hits} > 10; SET/hits/{GETONTRIGMOB,hits}> |
The { } cause the spawner to get the info, rather than add that to the spawner entry. You'll have to find some way around that to get what you're looking for. When I used this, it gave me a spawner with the following in entry 1:
CODE |
#CONDITION, > 10; SET/hits/ |
As you can see, each place where the { } were, there is nothing. Is this what you were trying?