Wand of destruction

What it does
It's make a wand of destruction. If you target the wand on a useable object, the object will simply disappear ! If you target a creature, it will fly to the upper of the screen and disappear. Try it on your caracter !

The Script
In the main screen, Edit->Module Properties->Events on the "OnActivateItem" tab, choose edit

// Module OnActivateItem Script // // This script handles all the unique item properties for the module. // Currently scripted items: // Wand of Destruction // // Written By: Roli (rolandersky@yahoo.com) // Last Updated: (09/07/02) // void main { // General Initialization:  Find what item was used object oUsed = GetItemActivated; // Verify if the wand is used. Put the item's tag. if (GetTag(oUsed) == "WandofDestruction") {    // Get the target of the wand object target = GetItemActivatedTarget; // Make the target disappear ApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectDisappear, target, 1.5); } }