#include "nw_i0_tool"
void main()
{
    // Get the creature who triggered this event.
    object oPC = GetEnteringObject();

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

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

    // Cutscene functions:
    BlackScreen(oPC);

    // Cutscene functions:
    FadeFromBlack(oPC, FADE_SPEED_SLOW);

    // Cutscene functions:
    SetCutsceneMode(oPC, TRUE);

//SetLocalString(oPC, "ylwrch", "1");

//if (!GetIsPC(oPC)) return;

//int DoOnce = GetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF));

//if (DoOnce==TRUE) return;

SetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF), TRUE);

//RewardPartyGP(1500, oPC, FALSE);

//CreateItemOnObject("it_recall002", oPC);

// Update all players' journals.
//    AddJournalQuestEntry("Region in Peril", 1, oPC, FALSE, TRUE);

//    object oActor;

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

    // Have "arivinylrch1" strike up a conversation with the PC.
//    oActor = GetNearestObjectByTag("arivinylrch", oPC);
//    AssignCommand(oActor, ActionStartConversation(oPC));


}

