void main()
{
    object oClicker = GetClickingObject();
    object oTarget = GetTransitionTarget(OBJECT_SELF);
    if (GetLocalInt(GetModule(), "nEpilogeFlag") == 1) {
      oTarget = GetObjectByTag("WP_OUTSIDE_FARM_EPILOGE");
    }
    location lLoc = GetLocation(oTarget);
    AssignCommand(oClicker,JumpToLocation(lLoc));
    AssignCommand(oClicker, ActionDoCommand(SetCameraFacing(0.0f)));
    AssignCommand(oClicker, ActionDoCommand(SetFacing(0.0f)));
    // clucky follows owner PC
    object oChicken = GetObjectByTag("jhr_chicken");
    if ((GetIsObjectValid(oChicken)) && (GetLocalInt(GetModule(), "nCluckyActiveFlag") == 1))
    {
        if ((GetIsObjectValid(oClicker)) && (oClicker == GetLocalObject(oChicken, "oOwner")))
        {
            AssignCommand(oChicken, ClearAllActions());
            AssignCommand(oChicken, ActionJumpToLocation(lLoc));
            AssignCommand(oChicken, ActionForceFollowObject(oClicker));
        }
    }
}
