//::///////////////////////////////////////////////
//:: Default: On User Defined
//:: NW_C2_DEFAULTD
//:: Copyright (c) 2002 Bioware Corp.
//:://////////////////////////////////////////////
/*
    Determines the course of action to be taken
    on a user defined event.
*/
//:://////////////////////////////////////////////
//:: Created By: Don Moar
//:: Created On: April 28, 2002
//:://////////////////////////////////////////////
#include "NW_I0_GENERIC"
int nCalledBy=GetUserDefinedEventNumber();
object oSeen = GetNearestCreature (CREATURE_TYPE_PLAYER_CHAR,
PLAYER_CHAR_IS_PC);
void main()
{
switch(nCalledBy)
{
case 1002:
if (GetIsPC(oSeen))
{
ActionSpeakString("Die, surface fairies! Jezzryn will have your hearts!", TALKVOLUME_SHOUT);
break;
case 1007:
SetLocalInt(GetModule(), "zaerthadead", 1);
}
}
}
