RATDOG/_module/nss/hif_onplayerrest.nss
Jaysyn904 2e30722043 Level One rework
Revamped Level One: North & Level One: Central to be as close to PnP as possible.  Added Level One: Latrene 3 area.  Added efreeti appearance from CEP3.  Revamped efreeti bottle to be like PnP (no wishes, yet)
2023-09-23 22:02:32 -04:00

25 lines
748 B
Plaintext

// prc_rest,x2_mod_def_rest
/////////////////////////////////////////////////////////////////////
//
// This script has been auto-generated by HakInstaller to call
// multiple handlers for the onplayerrest event.
//
/////////////////////////////////////////////////////////////////////
void main()
{
ExecuteScript("prc_rest", OBJECT_SELF);
ExecuteScript("x2_mod_def_rest", OBJECT_SELF);
// Find the nearest summoned Efreeti with the specified tag
object oSummonedEfreeti = GetNearestObjectByTag("SUM_EFREETI001");
// Check if the summoned Efreeti exists and is valid
if (GetIsObjectValid(oSummonedEfreeti))
{
// Destroy the summoned Efreeti immediately
DestroyObject(oSummonedEfreeti, 0.0f);
}
}