Amon_PRC8/_module/nss/kryxfinaldeath.nss

24 lines
934 B
Plaintext
Raw Permalink Normal View History

2025-04-03 19:00:46 -04:00
//::///////////////////////////////////////////////
//:: 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));
}