//::///////////////////////////////////////////////
//:: Default On Percieve
//:: NW_C2_DEFAULT2
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
    Checks to see if the perceived target is an
    enemy and if so fires the Determine Combat
    Round function
*/
//:://////////////////////////////////////////////
//:: Created By: Preston Watamaniuk
//:: Created On: Oct 16, 2001
//:://////////////////////////////////////////////

#include "NW_I0_GENERIC"
#include "EL_LOOT_INCLUDE"
int nCalledBy=GetUserDefinedEventNumber();
object oSeen = GetNearestCreature (CREATURE_TYPE_PLAYER_CHAR,
PLAYER_CHAR_IS_PC);
void main()
{
switch(nCalledBy)
{
case 1002:
if (GetIsPC(oSeen))
{
ActionSpeakString("For the glory of the Spider Queen! Come, my pretties!");
break;
case 1007:
el_LootMobOnUserDef();
}
}
}
