Is there are way to have the spawner change a property value on an item in a players backpack?
Here is what I want to do...We have a level system that uses experience points. The point information is contained on an invisible item in the players pack. In the main script I have a method that allows quests and such to add experience (AddExp). This works great on static scripted quests. However, I cant figure out a way to get an xmlquest spawner to add experience points on a successful quest ending. Is this possible?
if it is a public property, then you can set it using the SETONCARRIED keyword.
SETONCARRIED,itemname[,itemtype]/prop/value
yeah, I thought of that, the problem here would be that the value of a players exp will be different for each player, so it can't just set the value to xx, it needs to take the current value and add xx.....
SETONCARRIED,itemname[,itemtype]/prop/INC,10
would increment the value of the property by 10
SETONCARRIED,itemname[,itemtype]/prop/INC,{RND,1,10}
would increment the value of the property by a random amount between 1 and 10
Ah!! Inc....what would we do without you!!
Thanks again Arte...