function Trig_Intro_Cleanup_Actions takes nothing returns nothing
local real x = GetRectCenterX(gg_rct_Dummy_Trigger_Create)
local real y = GetRectCenterY(gg_rct_Dummy_Trigger_Create)
if (GetLocalPlayer() == Player(1)) then
call ClearSelection()
call SelectUnit(udg_Paladin, true)
endif
if (GetLocalPlayer() == Player(3)) then
call ClearSelection()
call SelectUnit(udg_Warrior, true)
endif
if (GetLocalPlayer() == Player(4)) then
call ClearSelection()
call SelectUnit(udg_Mage, true)
endif
if (GetLocalPlayer() == Player(9)) then
call ClearSelection()
call SelectUnit(udg_Priest, true)
endif
if (GetLocalPlayer() == Player(1)) then
call ResetToGameCamera(0.00)
endif
if (GetLocalPlayer() == Player(3)) then
call ResetToGameCamera(0.00)
endif
if (GetLocalPlayer() == Player(4)) then
call ResetToGameCamera(0.00)
endif
if (GetLocalPlayer() == Player(9)) then
call ResetToGameCamera(0.00)
endif
if (GetLocalPlayer() == Player(1)) then
call PanCameraToTimed(GetRectCenterX(gg_rct_Paladin_End), GetRectCenterY(gg_rct_Paladin_End), 0.00)
endif
if (GetLocalPlayer() == Player(3)) then
call PanCameraToTimed(GetRectCenterX(gg_rct_Warrior_End), GetRectCenterY(gg_rct_Warrior_End), 0.00)
endif
if (GetLocalPlayer() == Player(4)) then
call PanCameraToTimed(GetRectCenterX(gg_rct_Mage_End), GetRectCenterY(gg_rct_Mage_End), 0.00)
endif
if (GetLocalPlayer() == Player(9)) then
call PanCameraToTimed(GetRectCenterX(gg_rct_Priest_End), GetRectCenterY(gg_rct_Priest_End), 0.00)
endif
set udg_DummyTriggerUnit = CreateUnit(Player(6), 'du00', x, y, 270.00)
endfunction
//===========================================================================
function InitTrig_Intro_Cleanup takes nothing returns nothing
set gg_trg_Intro_Cleanup = CreateTrigger( )
call TriggerAddAction( gg_trg_Intro_Cleanup, function Trig_Intro_Cleanup_Actions )
endfunction