//:://///////////////////////////////////////////// //:: Name x2_def_ondeath //:: Copyright (c) 2001 Bioware Corp. //::////////////////////////////////////////////// /* Default OnDeath script */ //::////////////////////////////////////////////// //:: Created By: Keith Warner //:: Created On: June 11/03 //::////////////////////////////////////////////// void main() { object oReaver = GetLocalObject(OBJECT_SELF, "Reaver"); object oDeepHorror1 = GetLocalObject(OBJECT_SELF, "DeepHorror1"); object oDeepHorror2 = GetLocalObject(OBJECT_SELF, "DeepHorror2"); effect eUnsummon = EffectVisualEffect(VFX_IMP_UNSUMMON); ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eUnsummon, GetLocation(oReaver)); ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eUnsummon, GetLocation(oDeepHorror1)); ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eUnsummon, GetLocation(oDeepHorror2)); DestroyObject(oReaver); DestroyObject(oDeepHorror1); DestroyObject(oDeepHorror2); ExecuteScript("nw_c2_default7", OBJECT_SELF); }