22 lines
525 B
Plaintext
22 lines
525 B
Plaintext
|
////////////////////////////////////////////////////////////////////////////////
|
||
|
//
|
||
|
// 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);
|
||
|
|
||
|
|
||
|
}
|