void main()
{
        object oPC = GetPCSpeaker();

        // Change the waypoint in this target beacon to point to wherever
        // you want the PC to transport to.
        object TargetBeacon = GetWaypointByTag("MY_HIDDEN_DOOR_LOC");
        location Target;

        if ((GetIsObjectValid(oPC)) && GetIsObjectValid(TargetBeacon)) {
                Target = GetLocation(TargetBeacon);
                AssignCommand(oPC, ActionJumpToLocation(Target));
        }
        // clucky follows owner PC
        object oChicken = GetObjectByTag("jhr_chicken");
        if ((GetIsObjectValid(oChicken)) && (GetLocalInt(GetModule(), "nCluckyActiveFlag") == 1))
        {
            if ((GetIsObjectValid(oPC)) && (oPC == GetLocalObject(oChicken, "oOwner")))
            {
                AssignCommand(oChicken, ClearAllActions());
                AssignCommand(oChicken, ActionJumpToLocation(Target));
                AssignCommand(oChicken, ActionForceFollowObject(oPC));
            }
        }

}

