generated from Jaysyn/ModuleTemplate
Initial commit
Initial commit
This commit is contained in:
21
_removed/hif_onplayerdeat.nss
Normal file
21
_removed/hif_onplayerdeat.nss
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
// nw_o0_death,prc_ondeath
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// This script has been auto-generated by HakInstaller to call
|
||||
// multiple handlers for the onplayerdeath event.
|
||||
//
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
#include "f_vampire_spls_h"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetLastPlayerDied();
|
||||
if(GetIsVampire(oPC)) ExecuteScript("f_vampiredied", oPC);
|
||||
else ExecuteScript("nw_o0_death", oPC);
|
||||
|
||||
{
|
||||
ExecuteScript("nw_o0_death", OBJECT_SELF);
|
||||
ExecuteScript("prc_ondeath", OBJECT_SELF);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user