Rune_PRC8/_module/nss/wrap_mod_ondeath.nss

22 lines
525 B
Plaintext
Raw Permalink Normal View History

2024-09-13 09:10:39 -04:00
////////////////////////////////////////////////////////////////////////////////
//
// Wrapper
// wrap_mod_ondeath
// by Don Anderson
//
////////////////////////////////////////////////////////////////////////////////
void main()
{
//From Master Configuration opw_mod_onload
//string sDeathSystem = GetLocalString(GetModule(),"DEATHSYSTEM");
//ExecuteScript(sDeathSystem,OBJECT_SELF);
object oPC = GetLastPlayerDied();
{
ExecuteScript("nw_o0_death", oPC);
}
ExecuteScript("prc_ondeath", OBJECT_SELF);
}