Heya
Is there any way I can add an attachment to an item, in order that the item can only be equiped by the player with the name in xmldata value or something?
I can add an attachment that will allow you to restrict equipping an item based on an arbitrary conditional test.
So you could test for name, karma, fame, hits, combinations of them etc.
It would use the same syntax as other xmlspawner conditional tests where the equipping player would be considered the trigger mob. So, set the conditional test for
GETONTRIGMOB,name="blah"
to restrict it to players named "blah"
so that would make the looter have the item bound to just him?
yes, using the XmlRestrictEquip attachment
http://xmlspawner.15.forumer.com/index.php...st=0entry4398
and spawning an item on a triggered spawner like
longsword/name/{GETONTRIGMOB,name}'s sword/ATTACH/<xmlrestrictequip/test/@GETONTRIGMOB,name="{GETONTRIGMOB,name}>"it will give the sword the players name, and assign a test that checks for that players name when equipping