void main()
{
    if (!(GetLocalInt(OBJECT_SELF, "nTriggered")))
    {
        SetLocalInt(GetModule(), "nHeroEncounterSpawned", 1);
        SetLocalInt(OBJECT_SELF, "nTriggered", 1);
    }
    object oPerceived =  GetEnteringObject();
    if (GetIsPC(oPerceived) && !GetIsDM(oPerceived))
    {
        SignalEvent(GetObjectByTag("jhr_zendril_battle"), EventUserDefined(2010));
    }
}
