generated from Jaysyn/ModuleTemplate
Initial commit
Initial commit
This commit is contained in:
21
_module/nss/wrap_mod_ondeath.nss
Normal file
21
_module/nss/wrap_mod_ondeath.nss
Normal file
@@ -0,0 +1,21 @@
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// 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);
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user