void ClearAndJumpToObject(object oDestination);
void ClearAndJumpToObject(object oDestination)
{
    ClearAllActions();
    JumpToObject(oDestination);
}



void main()
{

    object oPC = GetFirstPC();
    object oTarget;


        oTarget = GetWaypointByTag("WP_Milly_Jump");


        FadeToBlack(oPC);
        DelayCommand(0.5, ClearAndJumpToObject(oTarget));
        //DelayCommand(1.0, AssignCommand(OBJECT_SELF, ClearAndJumpToObject(oTarget2)));
        DelayCommand(2.5, AssignCommand(oPC, FadeFromBlack(oPC)));



        }


