Full Version : Making a Key Disentegrate
xmlspawner >>Q&A >>Making a Key Disentegrate


<< Prev | Next >>

Deathbringer- 08-12-2006
I have a chest, that requires a key to open, the key drops off a boss, I want it so that when you use the key, it disentigrates, but can't figure out how to do this without custom scripting xD

ArteGordon- 08-12-2006
It is possible to have a key delete itself by adding an attachment to the key, but it requires that you enable the OnUse method for attachments. It is not part of the standard installation instructions because I havent tested it extensively.

You could also do it by using a triggered spawner that was activated when the chest was unlocked and deleted the key using something like

SETONCARRIED,yourspecialkeyname,key/DELETE

You could take a look at the chestguardian example in xmlextras.zip

Deathbringer- 08-12-2006
thanks =) I'll try that, I just wish keys had a number of uses or something..