PRC8/nwn/nwnprc/trunk/scripts/prc_ai_mob_death.nss

8 lines
231 B
Plaintext
Raw Normal View History

void main()
{
if(GetIsObjectValid(GetMaster(OBJECT_SELF)))
ExecuteScript("x2_hen_death", OBJECT_SELF);
else
ExecuteScript("x2_def_ondeath", OBJECT_SELF);
ExecuteScript("prc_npc_death", OBJECT_SELF);
}