//:://///////////////////////////////////////////// //:: Name x2_def_ondeath //:: Copyright (c) 2001 Bioware Corp. //::////////////////////////////////////////////// /* Default OnDeath script */ //::////////////////////////////////////////////// //:: Created By: Keith Warner //:: Created On: June 11/03 //::////////////////////////////////////////////// void main() { ActionCastSpellAtLocation(SPELL_EPIC_HELLBALL , GetLocation(OBJECT_SELF), PROJECTILE_PATH_TYPE_DEFAULT, TRUE); AssignCommand(OBJECT_SELF, PlaySound("as_pl_screamm4")); ActionSpeakString("No!!! No... Save Me!! Someone.. HELLlllllllllp Meeaughh..", TALKVOLUME_TALK); DestroyObject(GetObjectByTag("KryxSpirit1")); DestroyObject(GetObjectByTag("KryxSpirit2")); DestroyObject(GetObjectByTag("KryxSpirit3")); DestroyObject(GetObjectByTag("KryxSpirit4")); CreateObject(OBJECT_TYPE_PLACEABLE, "StaffLight", GetLocation(OBJECT_SELF)); }