//////////////////////////////////////////////////////////////////////////////// // // Olander's Dead Processor // oai_proc_dead // by Don Anderson // dandersonru@msn.com // // Processes Dead Creatures // //////////////////////////////////////////////////////////////////////////////// //NESS Functionality //#include "spawn_functions" #include "x2_inc_compon" // The following line has been added to support Scrotok's Lootable Corpses script #include "_kb_loot_corpse" void main() { object oNPC = OBJECT_SELF; object oTarget = GetLastKiller(); //NESS Deactivate Corpse //NESS_ProcessDeadCreature(oNPC); //AssignCommand(oNPC, SetIsDestroyable(FALSE,FALSE,FALSE)); //Custom Death Scripts //ExecuteScript("oai_cust_death", OBJECT_SELF); //This line has been added to support Scrotok's Lootable Corpses script LeaveCorpse(oNPC); craft_drop_items(oTarget); }