Files
Anphillia_PRC8/_module/nss/ee_evtg_onex.nss
Jaysyn904 28cdb617b3 Initial commit
Adding all of the current content for Anphillia Unlimited.
2024-01-04 07:49:38 -05:00

29 lines
1.0 KiB
Plaintext

/************************************************************************
* script name : eE_eventgroup_onexhausted
* created by : eyesolated
* date : 2011/6/1
*
* description : OnExhausted script for eyesolated Encounters Event Groups.
*
* notes : This script is called by eyesolated Encounters, do NOT
* add it anywhere yourself!
*
* changes : 2011/6/1 - eyesolated - Initial creation
************************************************************************/
#include "ee_inc"
void main()
{
string sEventGroup = GetTag(OBJECT_SELF);
object oEncounter = eE_GetEventEncounter(OBJECT_SELF);
eE_DebugMSG(oEncounter, "Event Group " + sEventGroup + " exhausted");
// Retrieve the eE Event Object Tag for this Event Group's OnExhaust
string sEventTag = GetLocalString(oEncounter, sEventGroup + "_OnExhaust");
// If the EventTag is empty, there no events associated with this creature's OnSpawn
if (sEventTag != "")
{
eE_HandleEvents(oEncounter, sEventTag);
}
}