/*
 *  Script generated by LS Script Generator, v.TK.0
 *
 *  For download info, please visit:
 *  http://nwvault.ign.com/View.php?view=Other.Detail&id=1502
 */
// Put this script OnEnter.


void main()
{
   // object oActor;

    // Get the creature who triggered this event.
  //  object oPC = GetEnteringObject();

    // Only fire for (real) PCs.
 //   if ( !GetIsPC(oPC)  ||  GetIsDMPossessed(oPC) )
   //     return;

    // Only fire once per PC.
    //if ( GetLocalInt(oPC, "DO_ONCE__" + GetTag(OBJECT_SELF)) )
    //    return;
    //SetLocalInt(oPC, "DO_ONCE__" + GetTag(OBJECT_SELF), TRUE);

  //  // If the PC is exactly at stage 3 of journal quest "TheHiddenOne".
    if ( GetLocalInt(GetFirstPC(), "NW_JOURNAL_ENTRYTheHiddenOne") == 3 )
    {

        SetEncounterActive(TRUE);
        DestroyObject(OBJECT_SELF);
}
}
