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