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


void main()
{

    object oPC = GetFirstPC();
    object oTarget;

    // Get the creature who triggered this event.



        oTarget = GetWaypointByTag("WP_TOWERRETURN");


        FadeToBlack(oPC);
        CreateObject(OBJECT_TYPE_CREATURE, "scotti003", GetLocation(GetObjectByTag("WP_SCOTTIFINAL")));
        DelayCommand(1.0, AssignCommand(oPC, ClearAndJumpToObject(oTarget)));
        DelayCommand(1.1, AssignCommand(oPC, FadeFromBlack(oPC)));
        DestroyObject (OBJECT_SELF, 2.0);
}



