Name | Type | is_array | initial_value |
Team_1_Rounds | integer | No | |
Team_2_Rounds | integer | No | |
Team_3_Rounds | integer | No | |
Team_4_Rounds | integer | No |
function Trig_Start_Game_Func002002 takes nothing returns nothing
call AdjustPlayerStateBJ( 750, GetEnumPlayer(), PLAYER_STATE_RESOURCE_GOLD )
endfunction
function Trig_Start_Game_Func003002 takes nothing returns nothing
call CreateFogModifierRectBJ( true, GetEnumPlayer(), FOG_OF_WAR_VISIBLE, gg_rct_Map )
endfunction
function Trig_Start_Game_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call ForForce( GetPlayersAll(), function Trig_Start_Game_Func002002 )
call ForForce( GetPlayersAll(), function Trig_Start_Game_Func003002 )
call AddSpecialEffectLocBJ( GetRectCenter(gg_rct_End_Team_1), "Abilities\\Spells\\Human\\MassTeleport\\MassTeleportTo.mdl" )
call AddSpecialEffectLocBJ( GetRectCenter(gg_rct_End_Team_2), "Abilities\\Spells\\Human\\MassTeleport\\MassTeleportTo.mdl" )
call AddSpecialEffectLocBJ( GetRectCenter(gg_rct_End_Team_3), "Abilities\\Spells\\Human\\MassTeleport\\MassTeleportTo.mdl" )
call AddSpecialEffectLocBJ( GetRectCenter(gg_rct_End_Team_4), "Abilities\\Spells\\Human\\MassTeleport\\MassTeleportTo.mdl" )
call CreateQuestBJ( bj_QUESTTYPE_OPT_DISCOVERED, "TRIGSTR_096", "TRIGSTR_097", "ReplaceableTextures\\CommandButtons\\BTNBasicStruct.blp" )
call FlashQuestDialogButtonBJ( )
call TriggerSleepAction( 0.25 )
call TriggerExecute( gg_trg_Create_Scoreboard )
endfunction
//===========================================================================
function InitTrig_Start_Game takes nothing returns nothing
set gg_trg_Start_Game = CreateTrigger( )
call TriggerAddAction( gg_trg_Start_Game, function Trig_Start_Game_Actions )
endfunction
function Trig_Time_Actions takes nothing returns nothing
call SetTimeOfDay( 12 )
endfunction
//===========================================================================
function InitTrig_Time takes nothing returns nothing
set gg_trg_Time = CreateTrigger( )
call TriggerRegisterTimerEventPeriodic( gg_trg_Time, 0.01 )
call TriggerAddAction( gg_trg_Time, function Trig_Time_Actions )
endfunction
function Trig_Player_leaves_Game_Func002002 takes nothing returns nothing
call KillUnit( GetEnumUnit() )
endfunction
function Trig_Player_leaves_Game_Func003002001 takes nothing returns boolean
return ( GetUnitTypeId(GetEnumUnit()) == 'ncop' )
endfunction
function Trig_Player_leaves_Game_Func003002 takes nothing returns nothing
if ( Trig_Player_leaves_Game_Func003002001() ) then
call RemoveUnit( GetEnumUnit() )
else
call DoNothing( )
endif
endfunction
function Trig_Player_leaves_Game_Actions takes nothing returns nothing
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, ( GetPlayerName(GetTriggerPlayer()) + " |cff8000FFhas left the game !!!" ) )
call ForGroupBJ( GetUnitsOfPlayerAll(GetEnumPlayer()), function Trig_Player_leaves_Game_Func002002 )
call ForGroupBJ( GetUnitsOfPlayerAll(GetEnumPlayer()), function Trig_Player_leaves_Game_Func003002 )
endfunction
//===========================================================================
function InitTrig_Player_leaves_Game takes nothing returns nothing
set gg_trg_Player_leaves_Game = CreateTrigger( )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_leaves_Game, Player(0) )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_leaves_Game, Player(1) )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_leaves_Game, Player(2) )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_leaves_Game, Player(3) )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_leaves_Game, Player(4) )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_leaves_Game, Player(5) )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_leaves_Game, Player(6) )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_leaves_Game, Player(7) )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_leaves_Game, Player(8) )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_leaves_Game, Player(9) )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_leaves_Game, Player(10) )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_leaves_Game, Player(11) )
call TriggerAddAction( gg_trg_Player_leaves_Game, function Trig_Player_leaves_Game_Actions )
endfunction
function Trig_Flash_Quests_Actions takes nothing returns nothing
call FlashQuestDialogButtonBJ( )
endfunction
//===========================================================================
function InitTrig_Flash_Quests takes nothing returns nothing
set gg_trg_Flash_Quests = CreateTrigger( )
call TriggerRegisterTimerEventPeriodic( gg_trg_Flash_Quests, 45.00 )
call TriggerAddAction( gg_trg_Flash_Quests, function Trig_Flash_Quests_Actions )
endfunction
function Trig_Start_to_play_Special_Sound_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call TriggerSleepAction( 1.00 )
call PlayMusicBJ( gg_snd_Linkin_Park_Pushing_Me_Away )
call TriggerSleepAction( 4.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, "TRIGSTR_125" )
endfunction
//===========================================================================
function InitTrig_Start_to_play_Special_Sound takes nothing returns nothing
set gg_trg_Start_to_play_Special_Sound = CreateTrigger( )
call TriggerAddAction( gg_trg_Start_to_play_Special_Sound, function Trig_Start_to_play_Special_Sound_Actions )
endfunction
function Trig_Kick_Blue_Func003002 takes nothing returns nothing
call RemoveUnit( GetEnumUnit() )
endfunction
function Trig_Kick_Blue_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, ( GetPlayerName(Player(1)) + " |cff0000FFhas been kicked from the game." ) )
call ForGroupBJ( GetUnitsOfPlayerAll(Player(1)), function Trig_Kick_Blue_Func003002 )
call CustomDefeatBJ( Player(1), "TRIGSTR_099" )
endfunction
//===========================================================================
function InitTrig_Kick_Blue takes nothing returns nothing
set gg_trg_Kick_Blue = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Kick_Blue, Player(0), "-kick 2", true )
call TriggerAddAction( gg_trg_Kick_Blue, function Trig_Kick_Blue_Actions )
endfunction
function Trig_Kick_Teal_Func003002 takes nothing returns nothing
call RemoveUnit( GetEnumUnit() )
endfunction
function Trig_Kick_Teal_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, ( GetPlayerName(Player(2)) + " |cff00FFFFhas been kicked from the game." ) )
call ForGroupBJ( GetUnitsOfPlayerAll(Player(2)), function Trig_Kick_Teal_Func003002 )
call CustomDefeatBJ( Player(2), "TRIGSTR_100" )
endfunction
//===========================================================================
function InitTrig_Kick_Teal takes nothing returns nothing
set gg_trg_Kick_Teal = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Kick_Teal, Player(0), "-kick 3", true )
call TriggerAddAction( gg_trg_Kick_Teal, function Trig_Kick_Teal_Actions )
endfunction
function Trig_Kick_Purple_Func003002 takes nothing returns nothing
call RemoveUnit( GetEnumUnit() )
endfunction
function Trig_Kick_Purple_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, ( GetPlayerName(Player(3)) + " |cff800080has been kicked from the game." ) )
call ForGroupBJ( GetUnitsOfPlayerAll(Player(3)), function Trig_Kick_Purple_Func003002 )
call CustomDefeatBJ( Player(3), "TRIGSTR_101" )
endfunction
//===========================================================================
function InitTrig_Kick_Purple takes nothing returns nothing
set gg_trg_Kick_Purple = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Kick_Purple, Player(0), "-kick 4", true )
call TriggerAddAction( gg_trg_Kick_Purple, function Trig_Kick_Purple_Actions )
endfunction
function Trig_Kick_Yellow_Func003002 takes nothing returns nothing
call RemoveUnit( GetEnumUnit() )
endfunction
function Trig_Kick_Yellow_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, ( GetPlayerName(Player(4)) + " |cffFFFF00has been kicked from the game." ) )
call ForGroupBJ( GetUnitsOfPlayerAll(Player(4)), function Trig_Kick_Yellow_Func003002 )
call CustomDefeatBJ( Player(4), "TRIGSTR_102" )
endfunction
//===========================================================================
function InitTrig_Kick_Yellow takes nothing returns nothing
set gg_trg_Kick_Yellow = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Kick_Yellow, Player(0), "-kick 5", true )
call TriggerAddAction( gg_trg_Kick_Yellow, function Trig_Kick_Yellow_Actions )
endfunction
function Trig_Kick_Orange_Func003002 takes nothing returns nothing
call RemoveUnit( GetEnumUnit() )
endfunction
function Trig_Kick_Orange_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, ( GetPlayerName(Player(5)) + " |cffFF8000has been kicked from the game." ) )
call ForGroupBJ( GetUnitsOfPlayerAll(Player(5)), function Trig_Kick_Orange_Func003002 )
call CustomDefeatBJ( Player(5), "TRIGSTR_103" )
endfunction
//===========================================================================
function InitTrig_Kick_Orange takes nothing returns nothing
set gg_trg_Kick_Orange = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Kick_Orange, Player(0), "-kick 6", true )
call TriggerAddAction( gg_trg_Kick_Orange, function Trig_Kick_Orange_Actions )
endfunction
function Trig_Kick_Green_Func003002 takes nothing returns nothing
call RemoveUnit( GetEnumUnit() )
endfunction
function Trig_Kick_Green_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, ( GetPlayerName(Player(6)) + " |cff00FF00has been kicked from the game." ) )
call ForGroupBJ( GetUnitsOfPlayerAll(Player(6)), function Trig_Kick_Green_Func003002 )
call CustomDefeatBJ( Player(6), "TRIGSTR_104" )
endfunction
//===========================================================================
function InitTrig_Kick_Green takes nothing returns nothing
set gg_trg_Kick_Green = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Kick_Green, Player(0), "-kick 7", true )
call TriggerAddAction( gg_trg_Kick_Green, function Trig_Kick_Green_Actions )
endfunction
function Trig_Kick_Pink_Func003002 takes nothing returns nothing
call RemoveUnit( GetEnumUnit() )
endfunction
function Trig_Kick_Pink_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, ( GetPlayerName(Player(7)) + " |cffFF00FFhas been kicked from the game." ) )
call ForGroupBJ( GetUnitsOfPlayerAll(Player(7)), function Trig_Kick_Pink_Func003002 )
call CustomDefeatBJ( Player(7), "TRIGSTR_105" )
endfunction
//===========================================================================
function InitTrig_Kick_Pink takes nothing returns nothing
set gg_trg_Kick_Pink = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Kick_Pink, Player(0), "-kick 8", true )
call TriggerAddAction( gg_trg_Kick_Pink, function Trig_Kick_Pink_Actions )
endfunction
function Trig_Kick_Grey_Func003002 takes nothing returns nothing
call RemoveUnit( GetEnumUnit() )
endfunction
function Trig_Kick_Grey_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, ( GetPlayerName(Player(8)) + " |cff808080has been kicked from the game." ) )
call ForGroupBJ( GetUnitsOfPlayerAll(Player(8)), function Trig_Kick_Grey_Func003002 )
call CustomDefeatBJ( Player(8), "TRIGSTR_106" )
endfunction
//===========================================================================
function InitTrig_Kick_Grey takes nothing returns nothing
set gg_trg_Kick_Grey = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Kick_Grey, Player(0), "-kick 9", true )
call TriggerAddAction( gg_trg_Kick_Grey, function Trig_Kick_Grey_Actions )
endfunction
function Trig_Kick_Lightblue_Func003002 takes nothing returns nothing
call RemoveUnit( GetEnumUnit() )
endfunction
function Trig_Kick_Lightblue_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, ( GetPlayerName(Player(9)) + " |cff8080FFhas been kicked from the game." ) )
call ForGroupBJ( GetUnitsOfPlayerAll(Player(9)), function Trig_Kick_Lightblue_Func003002 )
call CustomDefeatBJ( Player(9), "TRIGSTR_107" )
endfunction
//===========================================================================
function InitTrig_Kick_Lightblue takes nothing returns nothing
set gg_trg_Kick_Lightblue = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Kick_Lightblue, Player(0), "-kick 10", true )
call TriggerAddAction( gg_trg_Kick_Lightblue, function Trig_Kick_Lightblue_Actions )
endfunction
function Trig_Kick_Darkgreen_Func003002 takes nothing returns nothing
call RemoveUnit( GetEnumUnit() )
endfunction
function Trig_Kick_Darkgreen_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, ( GetPlayerName(Player(10)) + " |cff008000has been kicked from the game." ) )
call ForGroupBJ( GetUnitsOfPlayerAll(Player(10)), function Trig_Kick_Darkgreen_Func003002 )
call CustomDefeatBJ( Player(10), "TRIGSTR_108" )
endfunction
//===========================================================================
function InitTrig_Kick_Darkgreen takes nothing returns nothing
set gg_trg_Kick_Darkgreen = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Kick_Darkgreen, Player(0), "-kick 11", true )
call TriggerAddAction( gg_trg_Kick_Darkgreen, function Trig_Kick_Darkgreen_Actions )
endfunction
function Trig_Kick_Brown_Func003002 takes nothing returns nothing
call RemoveUnit( GetEnumUnit() )
endfunction
function Trig_Kick_Brown_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, ( GetPlayerName(Player(11)) + " |cffA29757has been kicked from the game." ) )
call ForGroupBJ( GetUnitsOfPlayerAll(Player(11)), function Trig_Kick_Brown_Func003002 )
call CustomDefeatBJ( Player(11), "TRIGSTR_109" )
endfunction
//===========================================================================
function InitTrig_Kick_Brown takes nothing returns nothing
set gg_trg_Kick_Brown = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Kick_Brown, Player(0), "-kick 12", true )
call TriggerAddAction( gg_trg_Kick_Brown, function Trig_Kick_Brown_Actions )
endfunction
function Trig_Create_Scoreboard_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call CreateLeaderboardBJ( GetPlayersAll(), "TRIGSTR_032" )
call LeaderboardAddItemBJ( Player(0), GetLastCreatedLeaderboard(), "TRIGSTR_033", udg_Team_1_Rounds )
call LeaderboardAddItemBJ( Player(3), GetLastCreatedLeaderboard(), "TRIGSTR_036", udg_Team_2_Rounds )
call LeaderboardAddItemBJ( Player(6), GetLastCreatedLeaderboard(), "TRIGSTR_035", udg_Team_3_Rounds )
call LeaderboardAddItemBJ( Player(9), GetLastCreatedLeaderboard(), "TRIGSTR_034", udg_Team_4_Rounds )
endfunction
//===========================================================================
function InitTrig_Create_Scoreboard takes nothing returns nothing
set gg_trg_Create_Scoreboard = CreateTrigger( )
call TriggerAddAction( gg_trg_Create_Scoreboard, function Trig_Create_Scoreboard_Actions )
endfunction
function Trig_Team_1_Conditions takes nothing returns boolean
if ( not ( IsUnitType(GetEnteringUnit(), UNIT_TYPE_HERO) == true ) ) then
return false
endif
return true
endfunction
function Trig_Team_1_Func025001 takes nothing returns boolean
return ( udg_Team_1_Rounds > 2 )
endfunction
function Trig_Team_1_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call DisableTrigger( gg_trg_Lose_Team_1 )
call PlaySoundBJ( gg_snd_Round_Completed )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, "TRIGSTR_037" )
set udg_Team_1_Rounds = ( udg_Team_1_Rounds + 1 )
call LeaderboardSetPlayerItemValueBJ( Player(0), GetLastCreatedLeaderboard(), udg_Team_1_Rounds )
call SetUnitPositionLoc( gg_unit_E000_0024, GetRectCenter(gg_rct_Circle_Red) )
call SetUnitPositionLoc( gg_unit_E000_0025, GetRectCenter(gg_rct_Circle_Blue) )
call SetUnitPositionLoc( gg_unit_E000_0026, GetRectCenter(gg_rct_Circle_Teal) )
call AdjustPlayerStateBJ( 500, Player(0), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( 500, Player(1), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( 500, Player(2), PLAYER_STATE_RESOURCE_GOLD )
call KillUnit( gg_unit_E000_0024 )
call KillUnit( gg_unit_E000_0025 )
call KillUnit( gg_unit_E000_0026 )
call TriggerSleepAction( 3.00 )
call EnableTrigger( gg_trg_Kill_Red )
call EnableTrigger( gg_trg_Kill_Blue )
call EnableTrigger( gg_trg_Kill_Teal )
call ReviveHeroLoc( gg_unit_E000_0024, GetRandomLocInRect(gg_rct_Start_Team_1), true )
call ReviveHeroLoc( gg_unit_E000_0025, GetRandomLocInRect(gg_rct_Start_Team_1), true )
call ReviveHeroLoc( gg_unit_E000_0026, GetRandomLocInRect(gg_rct_Start_Team_1), true )
call TriggerSleepAction( 0.25 )
call SetUnitPositionLoc( gg_unit_ncop_0002, GetRectCenter(gg_rct_Circle_Red) )
call SetUnitPositionLoc( gg_unit_ncop_0001, GetRectCenter(gg_rct_Circle_Blue) )
call SetUnitPositionLoc( gg_unit_ncop_0000, GetRectCenter(gg_rct_Circle_Teal) )
call EnableTrigger( GetTriggeringTrigger() )
call EnableTrigger( gg_trg_Lose_Team_1 )
call TriggerSleepAction( 0.25 )
if ( Trig_Team_1_Func025001() ) then
call DisableTrigger( GetTriggeringTrigger() )
else
call DoNothing( )
endif
endfunction
//===========================================================================
function InitTrig_Team_1 takes nothing returns nothing
set gg_trg_Team_1 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Team_1, gg_rct_End_Team_1 )
call TriggerAddCondition( gg_trg_Team_1, Condition( function Trig_Team_1_Conditions ) )
call TriggerAddAction( gg_trg_Team_1, function Trig_Team_1_Actions )
endfunction
function Trig_Add_more_Wolves_Team_1_Conditions takes nothing returns boolean
if ( not ( IsUnitType(GetEnteringUnit(), UNIT_TYPE_HERO) == true ) ) then
return false
endif
return true
endfunction
function Trig_Add_more_Wolves_Team_1_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_077), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_077), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_078), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_078), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_079), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_079), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_080), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_080), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_081), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_081), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_082), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_082), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_083), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_083), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_084), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_084), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_085), bj_UNIT_FACING )
call TriggerSleepAction( 5.00 )
call EnableTrigger( GetTriggeringTrigger() )
endfunction
//===========================================================================
function InitTrig_Add_more_Wolves_Team_1 takes nothing returns nothing
set gg_trg_Add_more_Wolves_Team_1 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Add_more_Wolves_Team_1, gg_rct_End_Team_1 )
call TriggerAddCondition( gg_trg_Add_more_Wolves_Team_1, Condition( function Trig_Add_more_Wolves_Team_1_Conditions ) )
call TriggerAddAction( gg_trg_Add_more_Wolves_Team_1, function Trig_Add_more_Wolves_Team_1_Actions )
endfunction
function Trig_Team_2_Conditions takes nothing returns boolean
if ( not ( IsUnitType(GetEnteringUnit(), UNIT_TYPE_HERO) == true ) ) then
return false
endif
return true
endfunction
function Trig_Team_2_Func025001 takes nothing returns boolean
return ( udg_Team_2_Rounds > 2 )
endfunction
function Trig_Team_2_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call DisableTrigger( gg_trg_Lose_Team_2 )
call PlaySoundBJ( gg_snd_Round_Completed )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, "TRIGSTR_038" )
set udg_Team_2_Rounds = ( udg_Team_2_Rounds + 1 )
call LeaderboardSetPlayerItemValueBJ( Player(3), GetLastCreatedLeaderboard(), udg_Team_2_Rounds )
call SetUnitPositionLoc( gg_unit_E000_0027, GetRectCenter(gg_rct_Circle_Purple) )
call SetUnitPositionLoc( gg_unit_E000_0028, GetRectCenter(gg_rct_Circle_Yellow) )
call SetUnitPositionLoc( gg_unit_E000_0029, GetRectCenter(gg_rct_Circle_Orange) )
call AdjustPlayerStateBJ( 500, Player(3), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( 500, Player(4), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( 500, Player(5), PLAYER_STATE_RESOURCE_GOLD )
call KillUnit( gg_unit_E000_0027 )
call KillUnit( gg_unit_E000_0028 )
call KillUnit( gg_unit_E000_0030 )
call TriggerSleepAction( 3.00 )
call EnableTrigger( gg_trg_Kill_Purple )
call EnableTrigger( gg_trg_Kill_Yellow )
call EnableTrigger( gg_trg_Kill_Orange )
call ReviveHeroLoc( gg_unit_E000_0027, GetRandomLocInRect(gg_rct_Start_Team_2), true )
call ReviveHeroLoc( gg_unit_E000_0028, GetRandomLocInRect(gg_rct_Start_Team_2), true )
call ReviveHeroLoc( gg_unit_E000_0029, GetRandomLocInRect(gg_rct_Start_Team_2), true )
call TriggerSleepAction( 0.25 )
call SetUnitPositionLoc( gg_unit_ncop_0011, GetRectCenter(gg_rct_Circle_Purple) )
call SetUnitPositionLoc( gg_unit_ncop_0010, GetRectCenter(gg_rct_Circle_Yellow) )
call SetUnitPositionLoc( gg_unit_ncop_0009, GetRectCenter(gg_rct_Circle_Orange) )
call EnableTrigger( GetTriggeringTrigger() )
call EnableTrigger( gg_trg_Lose_Team_2 )
call TriggerSleepAction( 0.25 )
if ( Trig_Team_2_Func025001() ) then
call DisableTrigger( GetTriggeringTrigger() )
else
call DoNothing( )
endif
endfunction
//===========================================================================
function InitTrig_Team_2 takes nothing returns nothing
set gg_trg_Team_2 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Team_2, gg_rct_End_Team_2 )
call TriggerAddCondition( gg_trg_Team_2, Condition( function Trig_Team_2_Conditions ) )
call TriggerAddAction( gg_trg_Team_2, function Trig_Team_2_Actions )
endfunction
function Trig_Add_more_Wolves_Team_2_Conditions takes nothing returns boolean
if ( not ( IsUnitType(GetEnteringUnit(), UNIT_TYPE_HERO) == true ) ) then
return false
endif
return true
endfunction
function Trig_Add_more_Wolves_Team_2_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_086), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_086), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_087), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_087), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_088), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_088), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_089), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_089), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_090), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_090), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_091), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_091), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_092), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_092), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_093), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_093), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_094), bj_UNIT_FACING )
call TriggerSleepAction( 5.00 )
call EnableTrigger( GetTriggeringTrigger() )
endfunction
//===========================================================================
function InitTrig_Add_more_Wolves_Team_2 takes nothing returns nothing
set gg_trg_Add_more_Wolves_Team_2 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Add_more_Wolves_Team_2, gg_rct_End_Team_2 )
call TriggerAddCondition( gg_trg_Add_more_Wolves_Team_2, Condition( function Trig_Add_more_Wolves_Team_2_Conditions ) )
call TriggerAddAction( gg_trg_Add_more_Wolves_Team_2, function Trig_Add_more_Wolves_Team_2_Actions )
endfunction
function Trig_Team_3_Conditions takes nothing returns boolean
if ( not ( IsUnitType(GetEnteringUnit(), UNIT_TYPE_HERO) == true ) ) then
return false
endif
return true
endfunction
function Trig_Team_3_Func025001 takes nothing returns boolean
return ( udg_Team_3_Rounds > 2 )
endfunction
function Trig_Team_3_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call DisableTrigger( gg_trg_Lose_Team_3 )
call PlaySoundBJ( gg_snd_Round_Completed )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, "TRIGSTR_039" )
set udg_Team_3_Rounds = ( udg_Team_3_Rounds + 1 )
call LeaderboardSetPlayerItemValueBJ( Player(6), GetLastCreatedLeaderboard(), udg_Team_3_Rounds )
call SetUnitPositionLoc( gg_unit_E000_0030, GetRectCenter(gg_rct_Circle_Green) )
call SetUnitPositionLoc( gg_unit_E000_0031, GetRectCenter(gg_rct_Circle_Pink) )
call SetUnitPositionLoc( gg_unit_E000_0032, GetRectCenter(gg_rct_Circle_Grey) )
call AdjustPlayerStateBJ( 500, Player(6), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( 500, Player(7), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( 500, Player(8), PLAYER_STATE_RESOURCE_GOLD )
call KillUnit( gg_unit_E000_0030 )
call KillUnit( gg_unit_E000_0031 )
call KillUnit( gg_unit_E000_0032 )
call TriggerSleepAction( 3.00 )
call EnableTrigger( gg_trg_Kill_Green )
call EnableTrigger( gg_trg_Kill_Pink )
call EnableTrigger( gg_trg_Kill_Grey )
call ReviveHeroLoc( gg_unit_E000_0030, GetRandomLocInRect(gg_rct_Start_Team_3), true )
call ReviveHeroLoc( gg_unit_E000_0031, GetRandomLocInRect(gg_rct_Start_Team_3), true )
call ReviveHeroLoc( gg_unit_E000_0032, GetRandomLocInRect(gg_rct_Start_Team_3), true )
call TriggerSleepAction( 0.25 )
call SetUnitPositionLoc( gg_unit_ncop_0008, GetRectCenter(gg_rct_Circle_Green) )
call SetUnitPositionLoc( gg_unit_ncop_0007, GetRectCenter(gg_rct_Circle_Pink) )
call SetUnitPositionLoc( gg_unit_ncop_0006, GetRectCenter(gg_rct_Circle_Grey) )
call EnableTrigger( GetTriggeringTrigger() )
call EnableTrigger( gg_trg_Lose_Team_3 )
call TriggerSleepAction( 0.25 )
if ( Trig_Team_3_Func025001() ) then
call DisableTrigger( GetTriggeringTrigger() )
else
call DoNothing( )
endif
endfunction
//===========================================================================
function InitTrig_Team_3 takes nothing returns nothing
set gg_trg_Team_3 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Team_3, gg_rct_End_Team_3 )
call TriggerAddCondition( gg_trg_Team_3, Condition( function Trig_Team_3_Conditions ) )
call TriggerAddAction( gg_trg_Team_3, function Trig_Team_3_Actions )
endfunction
function Trig_Add_more_Wolves_Team_3_Conditions takes nothing returns boolean
if ( not ( IsUnitType(GetEnteringUnit(), UNIT_TYPE_HERO) == true ) ) then
return false
endif
return true
endfunction
function Trig_Add_more_Wolves_Team_3_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_095), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_095), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_096), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_096), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_097), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_097), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_098), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_098), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_099), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_099), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_100), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_100), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_101), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_101), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_102), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_102), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_103), bj_UNIT_FACING )
call TriggerSleepAction( 5.00 )
call EnableTrigger( GetTriggeringTrigger() )
endfunction
//===========================================================================
function InitTrig_Add_more_Wolves_Team_3 takes nothing returns nothing
set gg_trg_Add_more_Wolves_Team_3 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Add_more_Wolves_Team_3, gg_rct_End_Team_3 )
call TriggerAddCondition( gg_trg_Add_more_Wolves_Team_3, Condition( function Trig_Add_more_Wolves_Team_3_Conditions ) )
call TriggerAddAction( gg_trg_Add_more_Wolves_Team_3, function Trig_Add_more_Wolves_Team_3_Actions )
endfunction
function Trig_Team_4_Conditions takes nothing returns boolean
if ( not ( IsUnitType(GetEnteringUnit(), UNIT_TYPE_HERO) == true ) ) then
return false
endif
return true
endfunction
function Trig_Team_4_Func025001 takes nothing returns boolean
return ( udg_Team_4_Rounds > 2 )
endfunction
function Trig_Team_4_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call DisableTrigger( gg_trg_Lose_Team_4 )
call PlaySoundBJ( gg_snd_Round_Completed )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, "TRIGSTR_040" )
set udg_Team_4_Rounds = ( udg_Team_4_Rounds + 1 )
call LeaderboardSetPlayerItemValueBJ( Player(9), GetLastCreatedLeaderboard(), udg_Team_4_Rounds )
call SetUnitPositionLoc( gg_unit_E000_0033, GetRectCenter(gg_rct_Circle_Lightblue) )
call SetUnitPositionLoc( gg_unit_E000_0034, GetRectCenter(gg_rct_Circle_Darkgreen) )
call SetUnitPositionLoc( gg_unit_E000_0035, GetRectCenter(gg_rct_Circle_Brown) )
call AdjustPlayerStateBJ( 500, Player(9), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( 500, Player(10), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( 500, Player(11), PLAYER_STATE_RESOURCE_GOLD )
call KillUnit( gg_unit_E000_0033 )
call KillUnit( gg_unit_E000_0034 )
call KillUnit( gg_unit_E000_0035 )
call TriggerSleepAction( 3.00 )
call EnableTrigger( gg_trg_Kill_Lightblue )
call EnableTrigger( gg_trg_Kill_Darkgreen )
call EnableTrigger( gg_trg_Kill_Brown )
call ReviveHeroLoc( gg_unit_E000_0033, GetRandomLocInRect(gg_rct_Start_Team_4), true )
call ReviveHeroLoc( gg_unit_E000_0034, GetRandomLocInRect(gg_rct_Start_Team_4), true )
call ReviveHeroLoc( gg_unit_E000_0035, GetRandomLocInRect(gg_rct_Start_Team_4), true )
call TriggerSleepAction( 0.25 )
call SetUnitPositionLoc( gg_unit_ncop_0005, GetRectCenter(gg_rct_Circle_Lightblue) )
call SetUnitPositionLoc( gg_unit_ncop_0004, GetRectCenter(gg_rct_Circle_Darkgreen) )
call SetUnitPositionLoc( gg_unit_ncop_0003, GetRectCenter(gg_rct_Circle_Brown) )
call EnableTrigger( GetTriggeringTrigger() )
call EnableTrigger( gg_trg_Lose_Team_4 )
call TriggerSleepAction( 0.25 )
if ( Trig_Team_4_Func025001() ) then
call DisableTrigger( GetTriggeringTrigger() )
else
call DoNothing( )
endif
endfunction
//===========================================================================
function InitTrig_Team_4 takes nothing returns nothing
set gg_trg_Team_4 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Team_4, gg_rct_End_Team_4 )
call TriggerAddCondition( gg_trg_Team_4, Condition( function Trig_Team_4_Conditions ) )
call TriggerAddAction( gg_trg_Team_4, function Trig_Team_4_Actions )
endfunction
function Trig_Add_more_Wolves_Team_4_Conditions takes nothing returns boolean
if ( not ( IsUnitType(GetEnteringUnit(), UNIT_TYPE_HERO) == true ) ) then
return false
endif
return true
endfunction
function Trig_Add_more_Wolves_Team_4_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_104), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_104), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_105), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_105), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_106), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_106), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_107), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_107), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_108), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_108), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_109), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_109), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_110), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_110), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_111), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_111), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'nder', Player(PLAYER_NEUTRAL_AGGRESSIVE), GetRandomLocInRect(gg_rct_Gebiet_112), bj_UNIT_FACING )
call TriggerSleepAction( 5.00 )
call EnableTrigger( GetTriggeringTrigger() )
endfunction
//===========================================================================
function InitTrig_Add_more_Wolves_Team_4 takes nothing returns nothing
set gg_trg_Add_more_Wolves_Team_4 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Add_more_Wolves_Team_4, gg_rct_End_Team_4 )
call TriggerAddCondition( gg_trg_Add_more_Wolves_Team_4, Condition( function Trig_Add_more_Wolves_Team_4_Conditions ) )
call TriggerAddAction( gg_trg_Add_more_Wolves_Team_4, function Trig_Add_more_Wolves_Team_4_Actions )
endfunction
function Trig_Lose_Team_1_Conditions takes nothing returns boolean
if ( not ( IsUnitDeadBJ(gg_unit_E000_0024) == true ) ) then
return false
endif
if ( not ( IsUnitDeadBJ(gg_unit_E000_0025) == true ) ) then
return false
endif
if ( not ( IsUnitDeadBJ(gg_unit_E000_0026) == true ) ) then
return false
endif
return true
endfunction
function Trig_Lose_Team_1_Func003002 takes nothing returns nothing
call RemoveUnit( GetEnumUnit() )
endfunction
function Trig_Lose_Team_1_Func004002 takes nothing returns nothing
call RemoveUnit( GetEnumUnit() )
endfunction
function Trig_Lose_Team_1_Func005002 takes nothing returns nothing
call RemoveUnit( GetEnumUnit() )
endfunction
function Trig_Lose_Team_1_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, "TRIGSTR_019" )
call ForGroupBJ( GetUnitsOfPlayerAll(Player(0)), function Trig_Lose_Team_1_Func003002 )
call ForGroupBJ( GetUnitsOfPlayerAll(Player(1)), function Trig_Lose_Team_1_Func004002 )
call ForGroupBJ( GetUnitsOfPlayerAll(Player(2)), function Trig_Lose_Team_1_Func005002 )
call TriggerSleepAction( 4.00 )
call CustomDefeatBJ( Player(0), "TRIGSTR_016" )
call CustomDefeatBJ( Player(1), "TRIGSTR_018" )
call CustomDefeatBJ( Player(2), "TRIGSTR_017" )
endfunction
//===========================================================================
function InitTrig_Lose_Team_1 takes nothing returns nothing
set gg_trg_Lose_Team_1 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Lose_Team_1, gg_unit_E000_0024, EVENT_UNIT_DEATH )
call TriggerRegisterUnitEvent( gg_trg_Lose_Team_1, gg_unit_E000_0025, EVENT_UNIT_DEATH )
call TriggerRegisterUnitEvent( gg_trg_Lose_Team_1, gg_unit_E000_0026, EVENT_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Lose_Team_1, Condition( function Trig_Lose_Team_1_Conditions ) )
call TriggerAddAction( gg_trg_Lose_Team_1, function Trig_Lose_Team_1_Actions )
endfunction
function Trig_Lose_Team_2_Conditions takes nothing returns boolean
if ( not ( IsUnitDeadBJ(gg_unit_E000_0027) == true ) ) then
return false
endif
if ( not ( IsUnitDeadBJ(gg_unit_E000_0028) == true ) ) then
return false
endif
if ( not ( IsUnitDeadBJ(gg_unit_E000_0029) == true ) ) then
return false
endif
return true
endfunction
function Trig_Lose_Team_2_Func003002 takes nothing returns nothing
call RemoveUnit( GetEnumUnit() )
endfunction
function Trig_Lose_Team_2_Func004002 takes nothing returns nothing
call RemoveUnit( GetEnumUnit() )
endfunction
function Trig_Lose_Team_2_Func005002 takes nothing returns nothing
call RemoveUnit( GetEnumUnit() )
endfunction
function Trig_Lose_Team_2_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, "TRIGSTR_020" )
call ForGroupBJ( GetUnitsOfPlayerAll(Player(3)), function Trig_Lose_Team_2_Func003002 )
call ForGroupBJ( GetUnitsOfPlayerAll(Player(4)), function Trig_Lose_Team_2_Func004002 )
call ForGroupBJ( GetUnitsOfPlayerAll(Player(5)), function Trig_Lose_Team_2_Func005002 )
call TriggerSleepAction( 4.00 )
call CustomDefeatBJ( Player(3), "TRIGSTR_021" )
call CustomDefeatBJ( Player(4), "TRIGSTR_022" )
call CustomDefeatBJ( Player(5), "TRIGSTR_023" )
endfunction
//===========================================================================
function InitTrig_Lose_Team_2 takes nothing returns nothing
set gg_trg_Lose_Team_2 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Lose_Team_2, gg_unit_E000_0027, EVENT_UNIT_DEATH )
call TriggerRegisterUnitEvent( gg_trg_Lose_Team_2, gg_unit_E000_0028, EVENT_UNIT_DEATH )
call TriggerRegisterUnitEvent( gg_trg_Lose_Team_2, gg_unit_E000_0029, EVENT_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Lose_Team_2, Condition( function Trig_Lose_Team_2_Conditions ) )
call TriggerAddAction( gg_trg_Lose_Team_2, function Trig_Lose_Team_2_Actions )
endfunction
function Trig_Lose_Team_3_Conditions takes nothing returns boolean
if ( not ( IsUnitDeadBJ(gg_unit_E000_0030) == true ) ) then
return false
endif
if ( not ( IsUnitDeadBJ(gg_unit_E000_0031) == true ) ) then
return false
endif
if ( not ( IsUnitDeadBJ(gg_unit_E000_0032) == true ) ) then
return false
endif
return true
endfunction
function Trig_Lose_Team_3_Func003002 takes nothing returns nothing
call RemoveUnit( GetEnumUnit() )
endfunction
function Trig_Lose_Team_3_Func004002 takes nothing returns nothing
call RemoveUnit( GetEnumUnit() )
endfunction
function Trig_Lose_Team_3_Func005002 takes nothing returns nothing
call RemoveUnit( GetEnumUnit() )
endfunction
function Trig_Lose_Team_3_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, "TRIGSTR_024" )
call ForGroupBJ( GetUnitsOfPlayerAll(Player(6)), function Trig_Lose_Team_3_Func003002 )
call ForGroupBJ( GetUnitsOfPlayerAll(Player(7)), function Trig_Lose_Team_3_Func004002 )
call ForGroupBJ( GetUnitsOfPlayerAll(Player(8)), function Trig_Lose_Team_3_Func005002 )
call TriggerSleepAction( 4.00 )
call CustomDefeatBJ( Player(6), "TRIGSTR_025" )
call CustomDefeatBJ( Player(7), "TRIGSTR_026" )
call CustomDefeatBJ( Player(8), "TRIGSTR_027" )
endfunction
//===========================================================================
function InitTrig_Lose_Team_3 takes nothing returns nothing
set gg_trg_Lose_Team_3 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Lose_Team_3, gg_unit_E000_0030, EVENT_UNIT_DEATH )
call TriggerRegisterUnitEvent( gg_trg_Lose_Team_3, gg_unit_E000_0031, EVENT_UNIT_DEATH )
call TriggerRegisterUnitEvent( gg_trg_Lose_Team_3, gg_unit_E000_0032, EVENT_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Lose_Team_3, Condition( function Trig_Lose_Team_3_Conditions ) )
call TriggerAddAction( gg_trg_Lose_Team_3, function Trig_Lose_Team_3_Actions )
endfunction
function Trig_Lose_Team_4_Conditions takes nothing returns boolean
if ( not ( IsUnitDeadBJ(gg_unit_E000_0033) == true ) ) then
return false
endif
if ( not ( IsUnitDeadBJ(gg_unit_E000_0034) == true ) ) then
return false
endif
if ( not ( IsUnitDeadBJ(gg_unit_E000_0035) == true ) ) then
return false
endif
return true
endfunction
function Trig_Lose_Team_4_Func003002 takes nothing returns nothing
call RemoveUnit( GetEnumUnit() )
endfunction
function Trig_Lose_Team_4_Func004002 takes nothing returns nothing
call RemoveUnit( GetEnumUnit() )
endfunction
function Trig_Lose_Team_4_Func005002 takes nothing returns nothing
call RemoveUnit( GetEnumUnit() )
endfunction
function Trig_Lose_Team_4_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, "TRIGSTR_028" )
call ForGroupBJ( GetUnitsOfPlayerAll(Player(9)), function Trig_Lose_Team_4_Func003002 )
call ForGroupBJ( GetUnitsOfPlayerAll(Player(10)), function Trig_Lose_Team_4_Func004002 )
call ForGroupBJ( GetUnitsOfPlayerAll(Player(11)), function Trig_Lose_Team_4_Func005002 )
call TriggerSleepAction( 4.00 )
call CustomDefeatBJ( Player(9), "TRIGSTR_029" )
call CustomDefeatBJ( Player(10), "TRIGSTR_030" )
call CustomDefeatBJ( Player(11), "TRIGSTR_031" )
endfunction
//===========================================================================
function InitTrig_Lose_Team_4 takes nothing returns nothing
set gg_trg_Lose_Team_4 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Lose_Team_4, gg_unit_E000_0033, EVENT_UNIT_DEATH )
call TriggerRegisterUnitEvent( gg_trg_Lose_Team_4, gg_unit_E000_0034, EVENT_UNIT_DEATH )
call TriggerRegisterUnitEvent( gg_trg_Lose_Team_4, gg_unit_E000_0035, EVENT_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Lose_Team_4, Condition( function Trig_Lose_Team_4_Conditions ) )
call TriggerAddAction( gg_trg_Lose_Team_4, function Trig_Lose_Team_4_Actions )
endfunction
function Trig_Kill_Red_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Kill_Red_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call KillUnit( gg_unit_E000_0024 )
call SetUnitPositionLoc( gg_unit_ncop_0002, GetUnitLoc(gg_unit_E000_0024) )
call DisplayTimedTextToForce( bj_FORCE_PLAYER[1], 10.00, ( GetPlayerName(Player(0)) + " |cffFF0000has been killed !" ) )
call DisplayTimedTextToForce( bj_FORCE_PLAYER[2], 10.00, ( GetPlayerName(Player(0)) + " |cffFF0000has been killed !" ) )
call PingMinimapLocForForceEx( bj_FORCE_PLAYER[1], GetUnitLoc(gg_unit_E000_0024), 4.00, bj_MINIMAPPINGSTYLE_SIMPLE, 100, 100.00, 100 )
call PingMinimapLocForForceEx( bj_FORCE_PLAYER[2], GetUnitLoc(gg_unit_E000_0024), 4.00, bj_MINIMAPPINGSTYLE_SIMPLE, 100, 100.00, 100 )
endfunction
//===========================================================================
function InitTrig_Kill_Red takes nothing returns nothing
set gg_trg_Kill_Red = CreateTrigger( )
call TriggerRegisterUnitInRangeSimple( gg_trg_Kill_Red, 90.00, gg_unit_E000_0024 )
call TriggerAddCondition( gg_trg_Kill_Red, Condition( function Trig_Kill_Red_Conditions ) )
call TriggerAddAction( gg_trg_Kill_Red, function Trig_Kill_Red_Actions )
endfunction
function Trig_Kill_Blue_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Kill_Blue_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call KillUnit( gg_unit_E000_0025 )
call SetUnitPositionLoc( gg_unit_ncop_0001, GetUnitLoc(gg_unit_E000_0025) )
call DisplayTimedTextToForce( bj_FORCE_PLAYER[0], 10.00, ( GetPlayerName(Player(1)) + " |cff0000FFhas been killed !" ) )
call DisplayTimedTextToForce( bj_FORCE_PLAYER[2], 10.00, ( GetPlayerName(Player(1)) + " |cff0000FFhas been killed !" ) )
call PingMinimapLocForForceEx( bj_FORCE_PLAYER[0], GetUnitLoc(gg_unit_E000_0025), 4.00, bj_MINIMAPPINGSTYLE_SIMPLE, 100, 100.00, 100 )
call PingMinimapLocForForceEx( bj_FORCE_PLAYER[2], GetUnitLoc(gg_unit_E000_0025), 4.00, bj_MINIMAPPINGSTYLE_SIMPLE, 100, 100.00, 100 )
endfunction
//===========================================================================
function InitTrig_Kill_Blue takes nothing returns nothing
set gg_trg_Kill_Blue = CreateTrigger( )
call TriggerRegisterUnitInRangeSimple( gg_trg_Kill_Blue, 90.00, gg_unit_E000_0025 )
call TriggerAddCondition( gg_trg_Kill_Blue, Condition( function Trig_Kill_Blue_Conditions ) )
call TriggerAddAction( gg_trg_Kill_Blue, function Trig_Kill_Blue_Actions )
endfunction
function Trig_Kill_Teal_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Kill_Teal_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call KillUnit( gg_unit_E000_0026 )
call SetUnitPositionLoc( gg_unit_ncop_0000, GetUnitLoc(gg_unit_E000_0026) )
call DisplayTimedTextToForce( bj_FORCE_PLAYER[0], 10.00, ( GetPlayerName(Player(2)) + " |cff00FFFFhas been killed !" ) )
call DisplayTimedTextToForce( bj_FORCE_PLAYER[1], 10.00, ( GetPlayerName(Player(2)) + " |cff00FFFFhas been killed !" ) )
call PingMinimapLocForForceEx( bj_FORCE_PLAYER[0], GetUnitLoc(gg_unit_E000_0026), 4.00, bj_MINIMAPPINGSTYLE_SIMPLE, 100, 100.00, 100 )
call PingMinimapLocForForceEx( bj_FORCE_PLAYER[1], GetUnitLoc(gg_unit_E000_0026), 4.00, bj_MINIMAPPINGSTYLE_SIMPLE, 100, 100.00, 100 )
endfunction
//===========================================================================
function InitTrig_Kill_Teal takes nothing returns nothing
set gg_trg_Kill_Teal = CreateTrigger( )
call TriggerRegisterUnitInRangeSimple( gg_trg_Kill_Teal, 90.00, gg_unit_E000_0026 )
call TriggerAddCondition( gg_trg_Kill_Teal, Condition( function Trig_Kill_Teal_Conditions ) )
call TriggerAddAction( gg_trg_Kill_Teal, function Trig_Kill_Teal_Actions )
endfunction
function Trig_Kill_Purple_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Kill_Purple_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call KillUnit( gg_unit_E000_0027 )
call SetUnitPositionLoc( gg_unit_ncop_0011, GetUnitLoc(gg_unit_E000_0027) )
call DisplayTimedTextToForce( bj_FORCE_PLAYER[4], 10.00, ( GetPlayerName(Player(3)) + " |cff800080has been killed !" ) )
call DisplayTimedTextToForce( bj_FORCE_PLAYER[5], 10.00, ( GetPlayerName(Player(3)) + " |cff800080has been killed !" ) )
call PingMinimapLocForForceEx( bj_FORCE_PLAYER[4], GetUnitLoc(gg_unit_E000_0027), 4.00, bj_MINIMAPPINGSTYLE_SIMPLE, 100, 100.00, 100 )
call PingMinimapLocForForceEx( bj_FORCE_PLAYER[5], GetUnitLoc(gg_unit_E000_0027), 4.00, bj_MINIMAPPINGSTYLE_SIMPLE, 100, 100.00, 100 )
endfunction
//===========================================================================
function InitTrig_Kill_Purple takes nothing returns nothing
set gg_trg_Kill_Purple = CreateTrigger( )
call TriggerRegisterUnitInRangeSimple( gg_trg_Kill_Purple, 90.00, gg_unit_E000_0027 )
call TriggerAddCondition( gg_trg_Kill_Purple, Condition( function Trig_Kill_Purple_Conditions ) )
call TriggerAddAction( gg_trg_Kill_Purple, function Trig_Kill_Purple_Actions )
endfunction
function Trig_Kill_Yellow_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Kill_Yellow_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call KillUnit( gg_unit_E000_0028 )
call SetUnitPositionLoc( gg_unit_ncop_0010, GetUnitLoc(gg_unit_E000_0028) )
call DisplayTimedTextToForce( bj_FORCE_PLAYER[3], 10.00, ( GetPlayerName(Player(4)) + " |cffFFFF00has been killed !" ) )
call DisplayTimedTextToForce( bj_FORCE_PLAYER[5], 10.00, ( GetPlayerName(Player(4)) + " |cffFFFF00has been killed !" ) )
call PingMinimapLocForForceEx( bj_FORCE_PLAYER[3], GetUnitLoc(gg_unit_E000_0028), 4.00, bj_MINIMAPPINGSTYLE_SIMPLE, 100, 100.00, 100 )
call PingMinimapLocForForceEx( bj_FORCE_PLAYER[5], GetUnitLoc(gg_unit_E000_0028), 4.00, bj_MINIMAPPINGSTYLE_SIMPLE, 100, 100.00, 100 )
endfunction
//===========================================================================
function InitTrig_Kill_Yellow takes nothing returns nothing
set gg_trg_Kill_Yellow = CreateTrigger( )
call TriggerRegisterUnitInRangeSimple( gg_trg_Kill_Yellow, 90.00, gg_unit_E000_0028 )
call TriggerAddCondition( gg_trg_Kill_Yellow, Condition( function Trig_Kill_Yellow_Conditions ) )
call TriggerAddAction( gg_trg_Kill_Yellow, function Trig_Kill_Yellow_Actions )
endfunction
function Trig_Kill_Orange_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Kill_Orange_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call KillUnit( gg_unit_E000_0029 )
call SetUnitPositionLoc( gg_unit_ncop_0009, GetUnitLoc(gg_unit_E000_0029) )
call DisplayTimedTextToForce( bj_FORCE_PLAYER[3], 10.00, ( GetPlayerName(Player(5)) + " |cffFF8000has been killed !" ) )
call DisplayTimedTextToForce( bj_FORCE_PLAYER[4], 10.00, ( GetPlayerName(Player(5)) + " |cffFF8000has been killed !" ) )
call PingMinimapLocForForceEx( bj_FORCE_PLAYER[3], GetUnitLoc(gg_unit_E000_0029), 4.00, bj_MINIMAPPINGSTYLE_SIMPLE, 100, 100.00, 100 )
call PingMinimapLocForForceEx( bj_FORCE_PLAYER[4], GetUnitLoc(gg_unit_E000_0029), 4.00, bj_MINIMAPPINGSTYLE_SIMPLE, 100, 100.00, 100 )
endfunction
//===========================================================================
function InitTrig_Kill_Orange takes nothing returns nothing
set gg_trg_Kill_Orange = CreateTrigger( )
call TriggerRegisterUnitInRangeSimple( gg_trg_Kill_Orange, 90.00, gg_unit_E000_0029 )
call TriggerAddCondition( gg_trg_Kill_Orange, Condition( function Trig_Kill_Orange_Conditions ) )
call TriggerAddAction( gg_trg_Kill_Orange, function Trig_Kill_Orange_Actions )
endfunction
function Trig_Kill_Green_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Kill_Green_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call KillUnit( gg_unit_E000_0030 )
call SetUnitPositionLoc( gg_unit_ncop_0008, GetUnitLoc(gg_unit_E000_0030) )
call DisplayTimedTextToForce( bj_FORCE_PLAYER[7], 10.00, ( GetPlayerName(Player(6)) + " |cff00FF00has been killed !" ) )
call DisplayTimedTextToForce( bj_FORCE_PLAYER[8], 10.00, ( GetPlayerName(Player(6)) + " |cff00FF00has been killed !" ) )
call PingMinimapLocForForceEx( bj_FORCE_PLAYER[7], GetUnitLoc(gg_unit_E000_0030), 4.00, bj_MINIMAPPINGSTYLE_SIMPLE, 100, 100.00, 100 )
call PingMinimapLocForForceEx( bj_FORCE_PLAYER[8], GetUnitLoc(gg_unit_E000_0030), 4.00, bj_MINIMAPPINGSTYLE_SIMPLE, 100, 100.00, 100 )
endfunction
//===========================================================================
function InitTrig_Kill_Green takes nothing returns nothing
set gg_trg_Kill_Green = CreateTrigger( )
call TriggerRegisterUnitInRangeSimple( gg_trg_Kill_Green, 90.00, gg_unit_E000_0030 )
call TriggerAddCondition( gg_trg_Kill_Green, Condition( function Trig_Kill_Green_Conditions ) )
call TriggerAddAction( gg_trg_Kill_Green, function Trig_Kill_Green_Actions )
endfunction
function Trig_Kill_Pink_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Kill_Pink_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call KillUnit( gg_unit_E000_0031 )
call SetUnitPositionLoc( gg_unit_ncop_0007, GetUnitLoc(gg_unit_E000_0031) )
call DisplayTimedTextToForce( bj_FORCE_PLAYER[6], 10.00, ( GetPlayerName(Player(7)) + " |cffFF00FFhas been killed !" ) )
call DisplayTimedTextToForce( bj_FORCE_PLAYER[8], 10.00, ( GetPlayerName(Player(7)) + " |cffFF00FFhas been killed !" ) )
call PingMinimapLocForForceEx( bj_FORCE_PLAYER[6], GetUnitLoc(gg_unit_E000_0031), 4.00, bj_MINIMAPPINGSTYLE_SIMPLE, 100, 100.00, 100 )
call PingMinimapLocForForceEx( bj_FORCE_PLAYER[8], GetUnitLoc(gg_unit_E000_0031), 4.00, bj_MINIMAPPINGSTYLE_SIMPLE, 100, 100.00, 100 )
endfunction
//===========================================================================
function InitTrig_Kill_Pink takes nothing returns nothing
set gg_trg_Kill_Pink = CreateTrigger( )
call TriggerRegisterUnitInRangeSimple( gg_trg_Kill_Pink, 90.00, gg_unit_E000_0031 )
call TriggerAddCondition( gg_trg_Kill_Pink, Condition( function Trig_Kill_Pink_Conditions ) )
call TriggerAddAction( gg_trg_Kill_Pink, function Trig_Kill_Pink_Actions )
endfunction
function Trig_Kill_Grey_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Kill_Grey_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call KillUnit( gg_unit_E000_0032 )
call SetUnitPositionLoc( gg_unit_ncop_0006, GetUnitLoc(gg_unit_E000_0032) )
call DisplayTimedTextToForce( bj_FORCE_PLAYER[6], 10.00, ( GetPlayerName(Player(8)) + " |cff808080has been killed !" ) )
call DisplayTimedTextToForce( bj_FORCE_PLAYER[7], 10.00, ( GetPlayerName(Player(8)) + " |cff808080has been killed !" ) )
call PingMinimapLocForForceEx( bj_FORCE_PLAYER[6], GetUnitLoc(gg_unit_E000_0032), 4.00, bj_MINIMAPPINGSTYLE_SIMPLE, 100, 100.00, 100 )
call PingMinimapLocForForceEx( bj_FORCE_PLAYER[7], GetUnitLoc(gg_unit_E000_0032), 4.00, bj_MINIMAPPINGSTYLE_SIMPLE, 100, 100.00, 100 )
endfunction
//===========================================================================
function InitTrig_Kill_Grey takes nothing returns nothing
set gg_trg_Kill_Grey = CreateTrigger( )
call TriggerRegisterUnitInRangeSimple( gg_trg_Kill_Grey, 90.00, gg_unit_E000_0032 )
call TriggerAddCondition( gg_trg_Kill_Grey, Condition( function Trig_Kill_Grey_Conditions ) )
call TriggerAddAction( gg_trg_Kill_Grey, function Trig_Kill_Grey_Actions )
endfunction
function Trig_Kill_Lightblue_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Kill_Lightblue_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call KillUnit( gg_unit_E000_0033 )
call SetUnitPositionLoc( gg_unit_ncop_0005, GetUnitLoc(gg_unit_E000_0033) )
call DisplayTimedTextToForce( bj_FORCE_PLAYER[10], 10.00, ( GetPlayerName(Player(9)) + " |cff8080FFhas been killed !" ) )
call DisplayTimedTextToForce( bj_FORCE_PLAYER[11], 10.00, ( GetPlayerName(Player(9)) + " |cff8080FFhas been killed !" ) )
call PingMinimapLocForForceEx( bj_FORCE_PLAYER[10], GetUnitLoc(gg_unit_E000_0033), 4.00, bj_MINIMAPPINGSTYLE_SIMPLE, 100, 100.00, 100 )
call PingMinimapLocForForceEx( bj_FORCE_PLAYER[11], GetUnitLoc(gg_unit_E000_0033), 4.00, bj_MINIMAPPINGSTYLE_SIMPLE, 100, 100.00, 100 )
endfunction
//===========================================================================
function InitTrig_Kill_Lightblue takes nothing returns nothing
set gg_trg_Kill_Lightblue = CreateTrigger( )
call TriggerRegisterUnitInRangeSimple( gg_trg_Kill_Lightblue, 90.00, gg_unit_E000_0033 )
call TriggerAddCondition( gg_trg_Kill_Lightblue, Condition( function Trig_Kill_Lightblue_Conditions ) )
call TriggerAddAction( gg_trg_Kill_Lightblue, function Trig_Kill_Lightblue_Actions )
endfunction
function Trig_Kill_Darkgreen_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Kill_Darkgreen_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call KillUnit( gg_unit_E000_0034 )
call SetUnitPositionLoc( gg_unit_ncop_0004, GetUnitLoc(gg_unit_E000_0034) )
call DisplayTimedTextToForce( bj_FORCE_PLAYER[9], 10.00, ( GetPlayerName(Player(10)) + " |cff008000has been killed !" ) )
call DisplayTimedTextToForce( bj_FORCE_PLAYER[11], 10.00, ( GetPlayerName(Player(10)) + " |cff008000has been killed !" ) )
call PingMinimapLocForForceEx( bj_FORCE_PLAYER[9], GetUnitLoc(gg_unit_E000_0034), 4.00, bj_MINIMAPPINGSTYLE_SIMPLE, 100, 100.00, 100 )
call PingMinimapLocForForceEx( bj_FORCE_PLAYER[11], GetUnitLoc(gg_unit_E000_0034), 4.00, bj_MINIMAPPINGSTYLE_SIMPLE, 100, 100.00, 100 )
endfunction
//===========================================================================
function InitTrig_Kill_Darkgreen takes nothing returns nothing
set gg_trg_Kill_Darkgreen = CreateTrigger( )
call TriggerRegisterUnitInRangeSimple( gg_trg_Kill_Darkgreen, 90.00, gg_unit_E000_0034 )
call TriggerAddCondition( gg_trg_Kill_Darkgreen, Condition( function Trig_Kill_Darkgreen_Conditions ) )
call TriggerAddAction( gg_trg_Kill_Darkgreen, function Trig_Kill_Darkgreen_Actions )
endfunction
function Trig_Kill_Brown_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Kill_Brown_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call KillUnit( gg_unit_E000_0035 )
call SetUnitPositionLoc( gg_unit_ncop_0003, GetUnitLoc(gg_unit_E000_0035) )
call DisplayTimedTextToForce( bj_FORCE_PLAYER[9], 10.00, ( GetPlayerName(Player(11)) + " |cffA29757has been killed !" ) )
call DisplayTimedTextToForce( bj_FORCE_PLAYER[10], 10.00, ( GetPlayerName(Player(11)) + " |cffA29757has been killed !" ) )
call PingMinimapLocForForceEx( bj_FORCE_PLAYER[9], GetUnitLoc(gg_unit_E000_0035), 4.00, bj_MINIMAPPINGSTYLE_SIMPLE, 100, 100.00, 100 )
call PingMinimapLocForForceEx( bj_FORCE_PLAYER[10], GetUnitLoc(gg_unit_E000_0035), 4.00, bj_MINIMAPPINGSTYLE_SIMPLE, 100, 100.00, 100 )
endfunction
//===========================================================================
function InitTrig_Kill_Brown takes nothing returns nothing
set gg_trg_Kill_Brown = CreateTrigger( )
call TriggerRegisterUnitInRangeSimple( gg_trg_Kill_Brown, 90.00, gg_unit_E000_0035 )
call TriggerAddCondition( gg_trg_Kill_Brown, Condition( function Trig_Kill_Brown_Conditions ) )
call TriggerAddAction( gg_trg_Kill_Brown, function Trig_Kill_Brown_Actions )
endfunction
function Trig_Revive_Red_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) != 'nder' ) ) then
return false
endif
if ( not ( GetUnitTypeId(GetTriggerUnit()) != 'ncop' ) ) then
return false
endif
return true
endfunction
function Trig_Revive_Red_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call EnableTrigger( gg_trg_Kill_Red )
call UnitAddItemByIdSwapped( 'texp', GetTriggerUnit() )
call ReviveHeroLoc( gg_unit_E000_0024, GetUnitLoc(gg_unit_ncop_0002), false )
call SetUnitPositionLoc( gg_unit_ncop_0002, GetRectCenter(gg_rct_Circle_Red) )
call TriggerSleepAction( 0.25 )
call EnableTrigger( GetTriggeringTrigger() )
endfunction
//===========================================================================
function InitTrig_Revive_Red takes nothing returns nothing
set gg_trg_Revive_Red = CreateTrigger( )
call TriggerRegisterUnitInRangeSimple( gg_trg_Revive_Red, 100.00, gg_unit_ncop_0002 )
call TriggerAddCondition( gg_trg_Revive_Red, Condition( function Trig_Revive_Red_Conditions ) )
call TriggerAddAction( gg_trg_Revive_Red, function Trig_Revive_Red_Actions )
endfunction
function Trig_Revive_Blue_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) != 'nder' ) ) then
return false
endif
if ( not ( GetUnitTypeId(GetTriggerUnit()) != 'ncop' ) ) then
return false
endif
return true
endfunction
function Trig_Revive_Blue_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call EnableTrigger( gg_trg_Kill_Blue )
call UnitAddItemByIdSwapped( 'texp', GetTriggerUnit() )
call ReviveHeroLoc( gg_unit_E000_0025, GetUnitLoc(gg_unit_ncop_0001), false )
call SetUnitPositionLoc( gg_unit_ncop_0001, GetRectCenter(gg_rct_Circle_Blue) )
call TriggerSleepAction( 0.25 )
call EnableTrigger( GetTriggeringTrigger() )
endfunction
//===========================================================================
function InitTrig_Revive_Blue takes nothing returns nothing
set gg_trg_Revive_Blue = CreateTrigger( )
call TriggerRegisterUnitInRangeSimple( gg_trg_Revive_Blue, 100.00, gg_unit_ncop_0001 )
call TriggerAddCondition( gg_trg_Revive_Blue, Condition( function Trig_Revive_Blue_Conditions ) )
call TriggerAddAction( gg_trg_Revive_Blue, function Trig_Revive_Blue_Actions )
endfunction
function Trig_Revive_Teal_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) != 'nder' ) ) then
return false
endif
if ( not ( GetUnitTypeId(GetTriggerUnit()) != 'ncop' ) ) then
return false
endif
return true
endfunction
function Trig_Revive_Teal_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call EnableTrigger( gg_trg_Kill_Teal )
call UnitAddItemByIdSwapped( 'texp', GetTriggerUnit() )
call ReviveHeroLoc( gg_unit_E000_0026, GetUnitLoc(gg_unit_ncop_0000), false )
call SetUnitPositionLoc( gg_unit_ncop_0000, GetRectCenter(gg_rct_Circle_Teal) )
call TriggerSleepAction( 0.25 )
call EnableTrigger( GetTriggeringTrigger() )
endfunction
//===========================================================================
function InitTrig_Revive_Teal takes nothing returns nothing
set gg_trg_Revive_Teal = CreateTrigger( )
call TriggerRegisterUnitInRangeSimple( gg_trg_Revive_Teal, 100.00, gg_unit_ncop_0000 )
call TriggerAddCondition( gg_trg_Revive_Teal, Condition( function Trig_Revive_Teal_Conditions ) )
call TriggerAddAction( gg_trg_Revive_Teal, function Trig_Revive_Teal_Actions )
endfunction
function Trig_Revive_Purple_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) != 'nder' ) ) then
return false
endif
if ( not ( GetUnitTypeId(GetTriggerUnit()) != 'ncop' ) ) then
return false
endif
return true
endfunction
function Trig_Revive_Purple_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call EnableTrigger( gg_trg_Kill_Purple )
call UnitAddItemByIdSwapped( 'texp', GetTriggerUnit() )
call ReviveHeroLoc( gg_unit_E000_0027, GetUnitLoc(gg_unit_ncop_0011), false )
call SetUnitPositionLoc( gg_unit_ncop_0011, GetRectCenter(gg_rct_Circle_Purple) )
call TriggerSleepAction( 0.25 )
call EnableTrigger( GetTriggeringTrigger() )
endfunction
//===========================================================================
function InitTrig_Revive_Purple takes nothing returns nothing
set gg_trg_Revive_Purple = CreateTrigger( )
call TriggerRegisterUnitInRangeSimple( gg_trg_Revive_Purple, 100.00, gg_unit_ncop_0011 )
call TriggerAddCondition( gg_trg_Revive_Purple, Condition( function Trig_Revive_Purple_Conditions ) )
call TriggerAddAction( gg_trg_Revive_Purple, function Trig_Revive_Purple_Actions )
endfunction
function Trig_Revive_Yellow_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) != 'nder' ) ) then
return false
endif
if ( not ( GetUnitTypeId(GetTriggerUnit()) != 'ncop' ) ) then
return false
endif
return true
endfunction
function Trig_Revive_Yellow_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call EnableTrigger( gg_trg_Kill_Yellow )
call UnitAddItemByIdSwapped( 'texp', GetTriggerUnit() )
call ReviveHeroLoc( gg_unit_E000_0028, GetUnitLoc(gg_unit_ncop_0010), false )
call SetUnitPositionLoc( gg_unit_ncop_0010, GetRectCenter(gg_rct_Circle_Yellow) )
call TriggerSleepAction( 0.25 )
call EnableTrigger( GetTriggeringTrigger() )
endfunction
//===========================================================================
function InitTrig_Revive_Yellow takes nothing returns nothing
set gg_trg_Revive_Yellow = CreateTrigger( )
call TriggerRegisterUnitInRangeSimple( gg_trg_Revive_Yellow, 100.00, gg_unit_ncop_0010 )
call TriggerAddCondition( gg_trg_Revive_Yellow, Condition( function Trig_Revive_Yellow_Conditions ) )
call TriggerAddAction( gg_trg_Revive_Yellow, function Trig_Revive_Yellow_Actions )
endfunction
function Trig_Revive_Orange_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) != 'nder' ) ) then
return false
endif
if ( not ( GetUnitTypeId(GetTriggerUnit()) != 'ncop' ) ) then
return false
endif
return true
endfunction
function Trig_Revive_Orange_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call EnableTrigger( gg_trg_Kill_Orange )
call UnitAddItemByIdSwapped( 'texp', GetTriggerUnit() )
call ReviveHeroLoc( gg_unit_E000_0029, GetUnitLoc(gg_unit_ncop_0009), false )
call SetUnitPositionLoc( gg_unit_ncop_0009, GetRectCenter(gg_rct_Circle_Orange) )
call TriggerSleepAction( 0.25 )
call EnableTrigger( GetTriggeringTrigger() )
endfunction
//===========================================================================
function InitTrig_Revive_Orange takes nothing returns nothing
set gg_trg_Revive_Orange = CreateTrigger( )
call TriggerRegisterUnitInRangeSimple( gg_trg_Revive_Orange, 100.00, gg_unit_ncop_0009 )
call TriggerAddCondition( gg_trg_Revive_Orange, Condition( function Trig_Revive_Orange_Conditions ) )
call TriggerAddAction( gg_trg_Revive_Orange, function Trig_Revive_Orange_Actions )
endfunction
function Trig_Revive_Green_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) != 'nder' ) ) then
return false
endif
if ( not ( GetUnitTypeId(GetTriggerUnit()) != 'ncop' ) ) then
return false
endif
return true
endfunction
function Trig_Revive_Green_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call EnableTrigger( gg_trg_Kill_Green )
call UnitAddItemByIdSwapped( 'texp', GetTriggerUnit() )
call ReviveHeroLoc( gg_unit_E000_0030, GetUnitLoc(gg_unit_ncop_0008), false )
call SetUnitPositionLoc( gg_unit_ncop_0008, GetRectCenter(gg_rct_Circle_Green) )
call TriggerSleepAction( 0.25 )
call EnableTrigger( GetTriggeringTrigger() )
endfunction
//===========================================================================
function InitTrig_Revive_Green takes nothing returns nothing
set gg_trg_Revive_Green = CreateTrigger( )
call TriggerRegisterUnitInRangeSimple( gg_trg_Revive_Green, 100.00, gg_unit_ncop_0008 )
call TriggerAddCondition( gg_trg_Revive_Green, Condition( function Trig_Revive_Green_Conditions ) )
call TriggerAddAction( gg_trg_Revive_Green, function Trig_Revive_Green_Actions )
endfunction
function Trig_Revive_Pink_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) != 'nder' ) ) then
return false
endif
if ( not ( GetUnitTypeId(GetTriggerUnit()) != 'ncop' ) ) then
return false
endif
return true
endfunction
function Trig_Revive_Pink_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call EnableTrigger( gg_trg_Kill_Pink )
call UnitAddItemByIdSwapped( 'texp', GetTriggerUnit() )
call ReviveHeroLoc( gg_unit_E000_0031, GetUnitLoc(gg_unit_ncop_0007), false )
call SetUnitPositionLoc( gg_unit_ncop_0007, GetRectCenter(gg_rct_Circle_Pink) )
call TriggerSleepAction( 0.25 )
call EnableTrigger( GetTriggeringTrigger() )
endfunction
//===========================================================================
function InitTrig_Revive_Pink takes nothing returns nothing
set gg_trg_Revive_Pink = CreateTrigger( )
call TriggerRegisterUnitInRangeSimple( gg_trg_Revive_Pink, 100.00, gg_unit_ncop_0007 )
call TriggerAddCondition( gg_trg_Revive_Pink, Condition( function Trig_Revive_Pink_Conditions ) )
call TriggerAddAction( gg_trg_Revive_Pink, function Trig_Revive_Pink_Actions )
endfunction
function Trig_Revive_Grey_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) != 'nder' ) ) then
return false
endif
if ( not ( GetUnitTypeId(GetTriggerUnit()) != 'ncop' ) ) then
return false
endif
return true
endfunction
function Trig_Revive_Grey_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call EnableTrigger( gg_trg_Kill_Grey )
call UnitAddItemByIdSwapped( 'texp', GetTriggerUnit() )
call ReviveHeroLoc( gg_unit_E000_0032, GetUnitLoc(gg_unit_ncop_0006), false )
call SetUnitPositionLoc( gg_unit_ncop_0006, GetRectCenter(gg_rct_Circle_Grey) )
call TriggerSleepAction( 0.25 )
call EnableTrigger( GetTriggeringTrigger() )
endfunction
//===========================================================================
function InitTrig_Revive_Grey takes nothing returns nothing
set gg_trg_Revive_Grey = CreateTrigger( )
call TriggerRegisterUnitInRangeSimple( gg_trg_Revive_Grey, 100.00, gg_unit_ncop_0006 )
call TriggerAddCondition( gg_trg_Revive_Grey, Condition( function Trig_Revive_Grey_Conditions ) )
call TriggerAddAction( gg_trg_Revive_Grey, function Trig_Revive_Grey_Actions )
endfunction
function Trig_Revive_Lightblue_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) != 'nder' ) ) then
return false
endif
if ( not ( GetUnitTypeId(GetTriggerUnit()) != 'ncop' ) ) then
return false
endif
return true
endfunction
function Trig_Revive_Lightblue_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call EnableTrigger( gg_trg_Kill_Lightblue )
call UnitAddItemByIdSwapped( 'texp', GetTriggerUnit() )
call ReviveHeroLoc( gg_unit_E000_0033, GetUnitLoc(gg_unit_ncop_0005), false )
call SetUnitPositionLoc( gg_unit_ncop_0005, GetRectCenter(gg_rct_Circle_Lightblue) )
call TriggerSleepAction( 0.25 )
call EnableTrigger( GetTriggeringTrigger() )
endfunction
//===========================================================================
function InitTrig_Revive_Lightblue takes nothing returns nothing
set gg_trg_Revive_Lightblue = CreateTrigger( )
call TriggerRegisterUnitInRangeSimple( gg_trg_Revive_Lightblue, 100.00, gg_unit_ncop_0005 )
call TriggerAddCondition( gg_trg_Revive_Lightblue, Condition( function Trig_Revive_Lightblue_Conditions ) )
call TriggerAddAction( gg_trg_Revive_Lightblue, function Trig_Revive_Lightblue_Actions )
endfunction
function Trig_Revive_Darkgreen_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) != 'nder' ) ) then
return false
endif
if ( not ( GetUnitTypeId(GetTriggerUnit()) != 'ncop' ) ) then
return false
endif
return true
endfunction
function Trig_Revive_Darkgreen_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call EnableTrigger( gg_trg_Kill_Darkgreen )
call UnitAddItemByIdSwapped( 'texp', GetTriggerUnit() )
call ReviveHeroLoc( gg_unit_E000_0034, GetUnitLoc(gg_unit_ncop_0004), false )
call SetUnitPositionLoc( gg_unit_ncop_0004, GetRectCenter(gg_rct_Circle_Darkgreen) )
call TriggerSleepAction( 0.25 )
call EnableTrigger( GetTriggeringTrigger() )
endfunction
//===========================================================================
function InitTrig_Revive_Darkgreen takes nothing returns nothing
set gg_trg_Revive_Darkgreen = CreateTrigger( )
call TriggerRegisterUnitInRangeSimple( gg_trg_Revive_Darkgreen, 100.00, gg_unit_ncop_0004 )
call TriggerAddCondition( gg_trg_Revive_Darkgreen, Condition( function Trig_Revive_Darkgreen_Conditions ) )
call TriggerAddAction( gg_trg_Revive_Darkgreen, function Trig_Revive_Darkgreen_Actions )
endfunction
function Trig_Revive_Brown_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) != 'nder' ) ) then
return false
endif
if ( not ( GetUnitTypeId(GetTriggerUnit()) != 'ncop' ) ) then
return false
endif
return true
endfunction
function Trig_Revive_Brown_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call EnableTrigger( gg_trg_Kill_Brown )
call UnitAddItemByIdSwapped( 'texp', GetTriggerUnit() )
call ReviveHeroLoc( gg_unit_E000_0035, GetUnitLoc(gg_unit_ncop_0003), false )
call SetUnitPositionLoc( gg_unit_ncop_0003, GetRectCenter(gg_rct_Circle_Brown) )
call TriggerSleepAction( 0.25 )
call EnableTrigger( GetTriggeringTrigger() )
endfunction
//===========================================================================
function InitTrig_Revive_Brown takes nothing returns nothing
set gg_trg_Revive_Brown = CreateTrigger( )
call TriggerRegisterUnitInRangeSimple( gg_trg_Revive_Brown, 100.00, gg_unit_ncop_0003 )
call TriggerAddCondition( gg_trg_Revive_Brown, Condition( function Trig_Revive_Brown_Conditions ) )
call TriggerAddAction( gg_trg_Revive_Brown, function Trig_Revive_Brown_Actions )
endfunction
function Trig_Move_Wolves_back_1_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Wolves_back_1_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnteringUnit(), "move", GetRandomLocInRect(gg_rct_Gebiet_077) )
endfunction
//===========================================================================
function InitTrig_Move_Wolves_back_1 takes nothing returns nothing
set gg_trg_Move_Wolves_back_1 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_1, gg_rct_Gebiet_009 )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_1, gg_rct_Gebiet_010 )
call TriggerAddCondition( gg_trg_Move_Wolves_back_1, Condition( function Trig_Move_Wolves_back_1_Conditions ) )
call TriggerAddAction( gg_trg_Move_Wolves_back_1, function Trig_Move_Wolves_back_1_Actions )
endfunction
function Trig_Move_Wolves_back_2_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Wolves_back_2_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnteringUnit(), "move", GetRandomLocInRect(gg_rct_Gebiet_078) )
endfunction
//===========================================================================
function InitTrig_Move_Wolves_back_2 takes nothing returns nothing
set gg_trg_Move_Wolves_back_2 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_2, gg_rct_Gebiet_011 )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_2, gg_rct_Gebiet_012 )
call TriggerAddCondition( gg_trg_Move_Wolves_back_2, Condition( function Trig_Move_Wolves_back_2_Conditions ) )
call TriggerAddAction( gg_trg_Move_Wolves_back_2, function Trig_Move_Wolves_back_2_Actions )
endfunction
function Trig_Move_Wolves_back_3_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Wolves_back_3_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnteringUnit(), "move", GetRandomLocInRect(gg_rct_Gebiet_079) )
endfunction
//===========================================================================
function InitTrig_Move_Wolves_back_3 takes nothing returns nothing
set gg_trg_Move_Wolves_back_3 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_3, gg_rct_Gebiet_013 )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_3, gg_rct_Gebiet_014 )
call TriggerAddCondition( gg_trg_Move_Wolves_back_3, Condition( function Trig_Move_Wolves_back_3_Conditions ) )
call TriggerAddAction( gg_trg_Move_Wolves_back_3, function Trig_Move_Wolves_back_3_Actions )
endfunction
function Trig_Move_Wolves_back_4_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Wolves_back_4_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnteringUnit(), "move", GetRandomLocInRect(gg_rct_Gebiet_080) )
endfunction
//===========================================================================
function InitTrig_Move_Wolves_back_4 takes nothing returns nothing
set gg_trg_Move_Wolves_back_4 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_4, gg_rct_Gebiet_015 )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_4, gg_rct_Gebiet_016 )
call TriggerAddCondition( gg_trg_Move_Wolves_back_4, Condition( function Trig_Move_Wolves_back_4_Conditions ) )
call TriggerAddAction( gg_trg_Move_Wolves_back_4, function Trig_Move_Wolves_back_4_Actions )
endfunction
function Trig_Move_Wolves_back_5_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Wolves_back_5_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnteringUnit(), "move", GetRandomLocInRect(gg_rct_Gebiet_081) )
endfunction
//===========================================================================
function InitTrig_Move_Wolves_back_5 takes nothing returns nothing
set gg_trg_Move_Wolves_back_5 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_5, gg_rct_Gebiet_017 )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_5, gg_rct_Gebiet_018 )
call TriggerAddCondition( gg_trg_Move_Wolves_back_5, Condition( function Trig_Move_Wolves_back_5_Conditions ) )
call TriggerAddAction( gg_trg_Move_Wolves_back_5, function Trig_Move_Wolves_back_5_Actions )
endfunction
function Trig_Move_Wolves_back_6_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Wolves_back_6_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnteringUnit(), "move", GetRandomLocInRect(gg_rct_Gebiet_082) )
endfunction
//===========================================================================
function InitTrig_Move_Wolves_back_6 takes nothing returns nothing
set gg_trg_Move_Wolves_back_6 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_6, gg_rct_Gebiet_019 )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_6, gg_rct_Gebiet_020 )
call TriggerAddCondition( gg_trg_Move_Wolves_back_6, Condition( function Trig_Move_Wolves_back_6_Conditions ) )
call TriggerAddAction( gg_trg_Move_Wolves_back_6, function Trig_Move_Wolves_back_6_Actions )
endfunction
function Trig_Move_Wolves_back_7_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Wolves_back_7_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnteringUnit(), "move", GetRandomLocInRect(gg_rct_Gebiet_083) )
endfunction
//===========================================================================
function InitTrig_Move_Wolves_back_7 takes nothing returns nothing
set gg_trg_Move_Wolves_back_7 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_7, gg_rct_Gebiet_021 )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_7, gg_rct_Gebiet_022 )
call TriggerAddCondition( gg_trg_Move_Wolves_back_7, Condition( function Trig_Move_Wolves_back_7_Conditions ) )
call TriggerAddAction( gg_trg_Move_Wolves_back_7, function Trig_Move_Wolves_back_7_Actions )
endfunction
function Trig_Move_Wolves_back_8_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Wolves_back_8_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnteringUnit(), "move", GetRandomLocInRect(gg_rct_Gebiet_084) )
endfunction
//===========================================================================
function InitTrig_Move_Wolves_back_8 takes nothing returns nothing
set gg_trg_Move_Wolves_back_8 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_8, gg_rct_Gebiet_023 )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_8, gg_rct_Gebiet_024 )
call TriggerAddCondition( gg_trg_Move_Wolves_back_8, Condition( function Trig_Move_Wolves_back_8_Conditions ) )
call TriggerAddAction( gg_trg_Move_Wolves_back_8, function Trig_Move_Wolves_back_8_Actions )
endfunction
function Trig_Move_Wolves_back_9_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Wolves_back_9_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnteringUnit(), "move", GetRandomLocInRect(gg_rct_Gebiet_085) )
endfunction
//===========================================================================
function InitTrig_Move_Wolves_back_9 takes nothing returns nothing
set gg_trg_Move_Wolves_back_9 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_9, gg_rct_Gebiet_025 )
call TriggerAddCondition( gg_trg_Move_Wolves_back_9, Condition( function Trig_Move_Wolves_back_9_Conditions ) )
call TriggerAddAction( gg_trg_Move_Wolves_back_9, function Trig_Move_Wolves_back_9_Actions )
endfunction
function Trig_Move_Wolves_back_10_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Wolves_back_10_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnteringUnit(), "move", GetRandomLocInRect(gg_rct_Gebiet_086) )
endfunction
//===========================================================================
function InitTrig_Move_Wolves_back_10 takes nothing returns nothing
set gg_trg_Move_Wolves_back_10 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_10, gg_rct_Gebiet_026 )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_10, gg_rct_Gebiet_027 )
call TriggerAddCondition( gg_trg_Move_Wolves_back_10, Condition( function Trig_Move_Wolves_back_10_Conditions ) )
call TriggerAddAction( gg_trg_Move_Wolves_back_10, function Trig_Move_Wolves_back_10_Actions )
endfunction
function Trig_Move_Wolves_back_11_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Wolves_back_11_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnteringUnit(), "move", GetRandomLocInRect(gg_rct_Gebiet_087) )
endfunction
//===========================================================================
function InitTrig_Move_Wolves_back_11 takes nothing returns nothing
set gg_trg_Move_Wolves_back_11 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_11, gg_rct_Gebiet_028 )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_11, gg_rct_Gebiet_029 )
call TriggerAddCondition( gg_trg_Move_Wolves_back_11, Condition( function Trig_Move_Wolves_back_11_Conditions ) )
call TriggerAddAction( gg_trg_Move_Wolves_back_11, function Trig_Move_Wolves_back_11_Actions )
endfunction
function Trig_Move_Wolves_back_12_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Wolves_back_12_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnteringUnit(), "move", GetRandomLocInRect(gg_rct_Gebiet_088) )
endfunction
//===========================================================================
function InitTrig_Move_Wolves_back_12 takes nothing returns nothing
set gg_trg_Move_Wolves_back_12 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_12, gg_rct_Gebiet_030 )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_12, gg_rct_Gebiet_031 )
call TriggerAddCondition( gg_trg_Move_Wolves_back_12, Condition( function Trig_Move_Wolves_back_12_Conditions ) )
call TriggerAddAction( gg_trg_Move_Wolves_back_12, function Trig_Move_Wolves_back_12_Actions )
endfunction
function Trig_Move_Wolves_back_13_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Wolves_back_13_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnteringUnit(), "move", GetRandomLocInRect(gg_rct_Gebiet_089) )
endfunction
//===========================================================================
function InitTrig_Move_Wolves_back_13 takes nothing returns nothing
set gg_trg_Move_Wolves_back_13 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_13, gg_rct_Gebiet_032 )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_13, gg_rct_Gebiet_033 )
call TriggerAddCondition( gg_trg_Move_Wolves_back_13, Condition( function Trig_Move_Wolves_back_13_Conditions ) )
call TriggerAddAction( gg_trg_Move_Wolves_back_13, function Trig_Move_Wolves_back_13_Actions )
endfunction
function Trig_Move_Wolves_back_14_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Wolves_back_14_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnteringUnit(), "move", GetRandomLocInRect(gg_rct_Gebiet_090) )
endfunction
//===========================================================================
function InitTrig_Move_Wolves_back_14 takes nothing returns nothing
set gg_trg_Move_Wolves_back_14 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_14, gg_rct_Gebiet_034 )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_14, gg_rct_Gebiet_035 )
call TriggerAddCondition( gg_trg_Move_Wolves_back_14, Condition( function Trig_Move_Wolves_back_14_Conditions ) )
call TriggerAddAction( gg_trg_Move_Wolves_back_14, function Trig_Move_Wolves_back_14_Actions )
endfunction
function Trig_Move_Wolves_back_15_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Wolves_back_15_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnteringUnit(), "move", GetRandomLocInRect(gg_rct_Gebiet_091) )
endfunction
//===========================================================================
function InitTrig_Move_Wolves_back_15 takes nothing returns nothing
set gg_trg_Move_Wolves_back_15 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_15, gg_rct_Gebiet_036 )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_15, gg_rct_Gebiet_037 )
call TriggerAddCondition( gg_trg_Move_Wolves_back_15, Condition( function Trig_Move_Wolves_back_15_Conditions ) )
call TriggerAddAction( gg_trg_Move_Wolves_back_15, function Trig_Move_Wolves_back_15_Actions )
endfunction
function Trig_Move_Wolves_back_16_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Wolves_back_16_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnteringUnit(), "move", GetRandomLocInRect(gg_rct_Gebiet_092) )
endfunction
//===========================================================================
function InitTrig_Move_Wolves_back_16 takes nothing returns nothing
set gg_trg_Move_Wolves_back_16 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_16, gg_rct_Gebiet_038 )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_16, gg_rct_Gebiet_039 )
call TriggerAddCondition( gg_trg_Move_Wolves_back_16, Condition( function Trig_Move_Wolves_back_16_Conditions ) )
call TriggerAddAction( gg_trg_Move_Wolves_back_16, function Trig_Move_Wolves_back_16_Actions )
endfunction
function Trig_Move_Wolves_back_17_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Wolves_back_17_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnteringUnit(), "move", GetRandomLocInRect(gg_rct_Gebiet_086) )
endfunction
//===========================================================================
function InitTrig_Move_Wolves_back_17 takes nothing returns nothing
set gg_trg_Move_Wolves_back_17 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_17, gg_rct_Gebiet_040 )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_17, gg_rct_Gebiet_041 )
call TriggerAddCondition( gg_trg_Move_Wolves_back_17, Condition( function Trig_Move_Wolves_back_17_Conditions ) )
call TriggerAddAction( gg_trg_Move_Wolves_back_17, function Trig_Move_Wolves_back_17_Actions )
endfunction
function Trig_Move_Wolves_back_18_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Wolves_back_18_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnteringUnit(), "move", GetRandomLocInRect(gg_rct_Gebiet_094) )
endfunction
//===========================================================================
function InitTrig_Move_Wolves_back_18 takes nothing returns nothing
set gg_trg_Move_Wolves_back_18 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_18, gg_rct_Gebiet_042 )
call TriggerAddCondition( gg_trg_Move_Wolves_back_18, Condition( function Trig_Move_Wolves_back_18_Conditions ) )
call TriggerAddAction( gg_trg_Move_Wolves_back_18, function Trig_Move_Wolves_back_18_Actions )
endfunction
function Trig_Move_Wolves_back_19_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Wolves_back_19_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnteringUnit(), "move", GetRandomLocInRect(gg_rct_Gebiet_095) )
endfunction
//===========================================================================
function InitTrig_Move_Wolves_back_19 takes nothing returns nothing
set gg_trg_Move_Wolves_back_19 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_19, gg_rct_Gebiet_043 )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_19, gg_rct_Gebiet_044 )
call TriggerAddCondition( gg_trg_Move_Wolves_back_19, Condition( function Trig_Move_Wolves_back_19_Conditions ) )
call TriggerAddAction( gg_trg_Move_Wolves_back_19, function Trig_Move_Wolves_back_19_Actions )
endfunction
function Trig_Move_Wolves_back_20_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Wolves_back_20_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnteringUnit(), "move", GetRandomLocInRect(gg_rct_Gebiet_096) )
endfunction
//===========================================================================
function InitTrig_Move_Wolves_back_20 takes nothing returns nothing
set gg_trg_Move_Wolves_back_20 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_20, gg_rct_Gebiet_045 )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_20, gg_rct_Gebiet_046 )
call TriggerAddCondition( gg_trg_Move_Wolves_back_20, Condition( function Trig_Move_Wolves_back_20_Conditions ) )
call TriggerAddAction( gg_trg_Move_Wolves_back_20, function Trig_Move_Wolves_back_20_Actions )
endfunction
function Trig_Move_Wolves_back_21_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Wolves_back_21_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnteringUnit(), "move", GetRandomLocInRect(gg_rct_Gebiet_097) )
endfunction
//===========================================================================
function InitTrig_Move_Wolves_back_21 takes nothing returns nothing
set gg_trg_Move_Wolves_back_21 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_21, gg_rct_Gebiet_047 )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_21, gg_rct_Gebiet_048 )
call TriggerAddCondition( gg_trg_Move_Wolves_back_21, Condition( function Trig_Move_Wolves_back_21_Conditions ) )
call TriggerAddAction( gg_trg_Move_Wolves_back_21, function Trig_Move_Wolves_back_21_Actions )
endfunction
function Trig_Move_Wolves_back_22_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Wolves_back_22_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnteringUnit(), "move", GetRandomLocInRect(gg_rct_Gebiet_098) )
endfunction
//===========================================================================
function InitTrig_Move_Wolves_back_22 takes nothing returns nothing
set gg_trg_Move_Wolves_back_22 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_22, gg_rct_Gebiet_049 )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_22, gg_rct_Gebiet_050 )
call TriggerAddCondition( gg_trg_Move_Wolves_back_22, Condition( function Trig_Move_Wolves_back_22_Conditions ) )
call TriggerAddAction( gg_trg_Move_Wolves_back_22, function Trig_Move_Wolves_back_22_Actions )
endfunction
function Trig_Move_Wolves_back_23_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Wolves_back_23_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnteringUnit(), "move", GetRandomLocInRect(gg_rct_Gebiet_099) )
endfunction
//===========================================================================
function InitTrig_Move_Wolves_back_23 takes nothing returns nothing
set gg_trg_Move_Wolves_back_23 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_23, gg_rct_Gebiet_051 )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_23, gg_rct_Gebiet_052 )
call TriggerAddCondition( gg_trg_Move_Wolves_back_23, Condition( function Trig_Move_Wolves_back_23_Conditions ) )
call TriggerAddAction( gg_trg_Move_Wolves_back_23, function Trig_Move_Wolves_back_23_Actions )
endfunction
function Trig_Move_Wolves_back_24_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Wolves_back_24_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnteringUnit(), "move", GetRandomLocInRect(gg_rct_Gebiet_100) )
endfunction
//===========================================================================
function InitTrig_Move_Wolves_back_24 takes nothing returns nothing
set gg_trg_Move_Wolves_back_24 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_24, gg_rct_Gebiet_053 )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_24, gg_rct_Gebiet_054 )
call TriggerAddCondition( gg_trg_Move_Wolves_back_24, Condition( function Trig_Move_Wolves_back_24_Conditions ) )
call TriggerAddAction( gg_trg_Move_Wolves_back_24, function Trig_Move_Wolves_back_24_Actions )
endfunction
function Trig_Move_Wolves_back_25_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Wolves_back_25_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnteringUnit(), "move", GetRandomLocInRect(gg_rct_Gebiet_101) )
endfunction
//===========================================================================
function InitTrig_Move_Wolves_back_25 takes nothing returns nothing
set gg_trg_Move_Wolves_back_25 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_25, gg_rct_Gebiet_055 )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_25, gg_rct_Gebiet_056 )
call TriggerAddCondition( gg_trg_Move_Wolves_back_25, Condition( function Trig_Move_Wolves_back_25_Conditions ) )
call TriggerAddAction( gg_trg_Move_Wolves_back_25, function Trig_Move_Wolves_back_25_Actions )
endfunction
function Trig_Move_Wolves_back_26_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Wolves_back_26_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnteringUnit(), "move", GetRandomLocInRect(gg_rct_Gebiet_102) )
endfunction
//===========================================================================
function InitTrig_Move_Wolves_back_26 takes nothing returns nothing
set gg_trg_Move_Wolves_back_26 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_26, gg_rct_Gebiet_057 )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_26, gg_rct_Gebiet_058 )
call TriggerAddCondition( gg_trg_Move_Wolves_back_26, Condition( function Trig_Move_Wolves_back_26_Conditions ) )
call TriggerAddAction( gg_trg_Move_Wolves_back_26, function Trig_Move_Wolves_back_26_Actions )
endfunction
function Trig_Move_Wolves_back_27_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Wolves_back_27_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnteringUnit(), "move", GetRandomLocInRect(gg_rct_Gebiet_103) )
endfunction
//===========================================================================
function InitTrig_Move_Wolves_back_27 takes nothing returns nothing
set gg_trg_Move_Wolves_back_27 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_27, gg_rct_Gebiet_059 )
call TriggerAddCondition( gg_trg_Move_Wolves_back_27, Condition( function Trig_Move_Wolves_back_27_Conditions ) )
call TriggerAddAction( gg_trg_Move_Wolves_back_27, function Trig_Move_Wolves_back_27_Actions )
endfunction
function Trig_Move_Wolves_back_28_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Wolves_back_28_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnteringUnit(), "move", GetRandomLocInRect(gg_rct_Gebiet_104) )
endfunction
//===========================================================================
function InitTrig_Move_Wolves_back_28 takes nothing returns nothing
set gg_trg_Move_Wolves_back_28 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_28, gg_rct_Gebiet_060 )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_28, gg_rct_Gebiet_061 )
call TriggerAddCondition( gg_trg_Move_Wolves_back_28, Condition( function Trig_Move_Wolves_back_28_Conditions ) )
call TriggerAddAction( gg_trg_Move_Wolves_back_28, function Trig_Move_Wolves_back_28_Actions )
endfunction
function Trig_Move_Wolves_back_29_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Wolves_back_29_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnteringUnit(), "move", GetRandomLocInRect(gg_rct_Gebiet_105) )
endfunction
//===========================================================================
function InitTrig_Move_Wolves_back_29 takes nothing returns nothing
set gg_trg_Move_Wolves_back_29 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_29, gg_rct_Gebiet_062 )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_29, gg_rct_Gebiet_063 )
call TriggerAddCondition( gg_trg_Move_Wolves_back_29, Condition( function Trig_Move_Wolves_back_29_Conditions ) )
call TriggerAddAction( gg_trg_Move_Wolves_back_29, function Trig_Move_Wolves_back_29_Actions )
endfunction
function Trig_Move_Wolves_back_30_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Wolves_back_30_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnteringUnit(), "move", GetRandomLocInRect(gg_rct_Gebiet_106) )
endfunction
//===========================================================================
function InitTrig_Move_Wolves_back_30 takes nothing returns nothing
set gg_trg_Move_Wolves_back_30 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_30, gg_rct_Gebiet_064 )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_30, gg_rct_Gebiet_065 )
call TriggerAddCondition( gg_trg_Move_Wolves_back_30, Condition( function Trig_Move_Wolves_back_30_Conditions ) )
call TriggerAddAction( gg_trg_Move_Wolves_back_30, function Trig_Move_Wolves_back_30_Actions )
endfunction
function Trig_Move_Wolves_back_31_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Wolves_back_31_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnteringUnit(), "move", GetRandomLocInRect(gg_rct_Gebiet_107) )
endfunction
//===========================================================================
function InitTrig_Move_Wolves_back_31 takes nothing returns nothing
set gg_trg_Move_Wolves_back_31 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_31, gg_rct_Gebiet_066 )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_31, gg_rct_Gebiet_067 )
call TriggerAddCondition( gg_trg_Move_Wolves_back_31, Condition( function Trig_Move_Wolves_back_31_Conditions ) )
call TriggerAddAction( gg_trg_Move_Wolves_back_31, function Trig_Move_Wolves_back_31_Actions )
endfunction
function Trig_Move_Wolves_back_32_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Wolves_back_32_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnteringUnit(), "move", GetRandomLocInRect(gg_rct_Gebiet_108) )
endfunction
//===========================================================================
function InitTrig_Move_Wolves_back_32 takes nothing returns nothing
set gg_trg_Move_Wolves_back_32 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_32, gg_rct_Gebiet_068 )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_32, gg_rct_Gebiet_069 )
call TriggerAddCondition( gg_trg_Move_Wolves_back_32, Condition( function Trig_Move_Wolves_back_32_Conditions ) )
call TriggerAddAction( gg_trg_Move_Wolves_back_32, function Trig_Move_Wolves_back_32_Actions )
endfunction
function Trig_Move_Wolves_back_33_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Wolves_back_33_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnteringUnit(), "move", GetRandomLocInRect(gg_rct_Gebiet_109) )
endfunction
//===========================================================================
function InitTrig_Move_Wolves_back_33 takes nothing returns nothing
set gg_trg_Move_Wolves_back_33 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_33, gg_rct_Gebiet_070 )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_33, gg_rct_Gebiet_071 )
call TriggerAddCondition( gg_trg_Move_Wolves_back_33, Condition( function Trig_Move_Wolves_back_33_Conditions ) )
call TriggerAddAction( gg_trg_Move_Wolves_back_33, function Trig_Move_Wolves_back_33_Actions )
endfunction
function Trig_Move_Wolves_back_34_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Wolves_back_34_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnteringUnit(), "move", GetRandomLocInRect(gg_rct_Gebiet_110) )
endfunction
//===========================================================================
function InitTrig_Move_Wolves_back_34 takes nothing returns nothing
set gg_trg_Move_Wolves_back_34 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_34, gg_rct_Gebiet_072 )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_34, gg_rct_Gebiet_073 )
call TriggerAddCondition( gg_trg_Move_Wolves_back_34, Condition( function Trig_Move_Wolves_back_34_Conditions ) )
call TriggerAddAction( gg_trg_Move_Wolves_back_34, function Trig_Move_Wolves_back_34_Actions )
endfunction
function Trig_Move_Wolves_back_35_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Wolves_back_35_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnteringUnit(), "move", GetRandomLocInRect(gg_rct_Gebiet_111) )
endfunction
//===========================================================================
function InitTrig_Move_Wolves_back_35 takes nothing returns nothing
set gg_trg_Move_Wolves_back_35 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_35, gg_rct_Gebiet_074 )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_35, gg_rct_Gebiet_075 )
call TriggerAddCondition( gg_trg_Move_Wolves_back_35, Condition( function Trig_Move_Wolves_back_35_Conditions ) )
call TriggerAddAction( gg_trg_Move_Wolves_back_35, function Trig_Move_Wolves_back_35_Actions )
endfunction
function Trig_Move_Wolves_back_36_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 'nder' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Wolves_back_36_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnteringUnit(), "move", GetRandomLocInRect(gg_rct_Gebiet_112) )
endfunction
//===========================================================================
function InitTrig_Move_Wolves_back_36 takes nothing returns nothing
set gg_trg_Move_Wolves_back_36 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Wolves_back_36, gg_rct_Gebiet_076 )
call TriggerAddCondition( gg_trg_Move_Wolves_back_36, Condition( function Trig_Move_Wolves_back_36_Conditions ) )
call TriggerAddAction( gg_trg_Move_Wolves_back_36, function Trig_Move_Wolves_back_36_Actions )
endfunction
function Trig_Win_Team_1_Conditions takes nothing returns boolean
if ( not ( udg_Team_1_Rounds > 2 ) ) then
return false
endif
return true
endfunction
function Trig_Win_Team_1_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call DisableTrigger( gg_trg_Win_Team_2 )
call DisableTrigger( gg_trg_Win_Team_3 )
call DisableTrigger( gg_trg_Win_Team_4 )
call PlayMusicBJ( gg_snd_End )
call PauseAllUnitsBJ( true )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, "TRIGSTR_044" )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, "TRIGSTR_041" )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, "TRIGSTR_042" )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, "TRIGSTR_043" )
call TriggerSleepAction( 5.00 )
call CustomVictoryBJ( Player(0), true, true )
call CustomVictoryBJ( Player(1), true, true )
call CustomVictoryBJ( Player(2), true, true )
call CustomDefeatBJ( Player(3), "TRIGSTR_046" )
call CustomDefeatBJ( Player(4), "TRIGSTR_054" )
call CustomDefeatBJ( Player(5), "TRIGSTR_053" )
call CustomDefeatBJ( Player(6), "TRIGSTR_052" )
call CustomDefeatBJ( Player(7), "TRIGSTR_051" )
call CustomDefeatBJ( Player(8), "TRIGSTR_050" )
call CustomDefeatBJ( Player(9), "TRIGSTR_049" )
call CustomDefeatBJ( Player(10), "TRIGSTR_048" )
call CustomDefeatBJ( Player(11), "TRIGSTR_047" )
endfunction
//===========================================================================
function InitTrig_Win_Team_1 takes nothing returns nothing
set gg_trg_Win_Team_1 = CreateTrigger( )
call TriggerRegisterTimerEventPeriodic( gg_trg_Win_Team_1, 1.00 )
call TriggerAddCondition( gg_trg_Win_Team_1, Condition( function Trig_Win_Team_1_Conditions ) )
call TriggerAddAction( gg_trg_Win_Team_1, function Trig_Win_Team_1_Actions )
endfunction
function Trig_Win_Team_2_Conditions takes nothing returns boolean
if ( not ( udg_Team_2_Rounds > 2 ) ) then
return false
endif
return true
endfunction
function Trig_Win_Team_2_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call DisableTrigger( gg_trg_Win_Team_1 )
call DisableTrigger( gg_trg_Win_Team_3 )
call DisableTrigger( gg_trg_Win_Team_4 )
call PlayMusicBJ( gg_snd_End )
call PauseAllUnitsBJ( true )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, "TRIGSTR_055" )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, "TRIGSTR_056" )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, "TRIGSTR_057" )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, "TRIGSTR_058" )
call TriggerSleepAction( 5.00 )
call CustomVictoryBJ( Player(3), true, true )
call CustomVictoryBJ( Player(4), true, true )
call CustomVictoryBJ( Player(5), true, true )
call CustomDefeatBJ( Player(0), "TRIGSTR_059" )
call CustomDefeatBJ( Player(1), "TRIGSTR_060" )
call CustomDefeatBJ( Player(2), "TRIGSTR_061" )
call CustomDefeatBJ( Player(6), "TRIGSTR_062" )
call CustomDefeatBJ( Player(7), "TRIGSTR_063" )
call CustomDefeatBJ( Player(8), "TRIGSTR_064" )
call CustomDefeatBJ( Player(9), "TRIGSTR_065" )
call CustomDefeatBJ( Player(10), "TRIGSTR_066" )
call CustomDefeatBJ( Player(11), "TRIGSTR_067" )
endfunction
//===========================================================================
function InitTrig_Win_Team_2 takes nothing returns nothing
set gg_trg_Win_Team_2 = CreateTrigger( )
call TriggerRegisterTimerEventPeriodic( gg_trg_Win_Team_2, 1.00 )
call TriggerAddCondition( gg_trg_Win_Team_2, Condition( function Trig_Win_Team_2_Conditions ) )
call TriggerAddAction( gg_trg_Win_Team_2, function Trig_Win_Team_2_Actions )
endfunction
function Trig_Win_Team_3_Conditions takes nothing returns boolean
if ( not ( udg_Team_3_Rounds > 2 ) ) then
return false
endif
return true
endfunction
function Trig_Win_Team_3_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call DisableTrigger( gg_trg_Win_Team_1 )
call DisableTrigger( gg_trg_Win_Team_2 )
call DisableTrigger( gg_trg_Win_Team_4 )
call PlayMusicBJ( gg_snd_End )
call PauseAllUnitsBJ( true )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, "TRIGSTR_068" )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, "TRIGSTR_069" )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, "TRIGSTR_070" )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, "TRIGSTR_071" )
call TriggerSleepAction( 5.00 )
call CustomVictoryBJ( Player(6), true, true )
call CustomVictoryBJ( Player(7), true, true )
call CustomVictoryBJ( Player(8), true, true )
call CustomDefeatBJ( Player(0), "TRIGSTR_072" )
call CustomDefeatBJ( Player(1), "TRIGSTR_073" )
call CustomDefeatBJ( Player(2), "TRIGSTR_074" )
call CustomDefeatBJ( Player(3), "TRIGSTR_075" )
call CustomDefeatBJ( Player(4), "TRIGSTR_076" )
call CustomDefeatBJ( Player(5), "TRIGSTR_077" )
call CustomDefeatBJ( Player(9), "TRIGSTR_078" )
call CustomDefeatBJ( Player(10), "TRIGSTR_079" )
call CustomDefeatBJ( Player(11), "TRIGSTR_080" )
endfunction
//===========================================================================
function InitTrig_Win_Team_3 takes nothing returns nothing
set gg_trg_Win_Team_3 = CreateTrigger( )
call TriggerRegisterTimerEventPeriodic( gg_trg_Win_Team_3, 1.00 )
call TriggerAddCondition( gg_trg_Win_Team_3, Condition( function Trig_Win_Team_3_Conditions ) )
call TriggerAddAction( gg_trg_Win_Team_3, function Trig_Win_Team_3_Actions )
endfunction
function Trig_Win_Team_4_Conditions takes nothing returns boolean
if ( not ( udg_Team_4_Rounds > 2 ) ) then
return false
endif
return true
endfunction
function Trig_Win_Team_4_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call DisableTrigger( gg_trg_Win_Team_1 )
call DisableTrigger( gg_trg_Win_Team_2 )
call DisableTrigger( gg_trg_Win_Team_3 )
call PlayMusicBJ( gg_snd_End )
call PauseAllUnitsBJ( true )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, "TRIGSTR_081" )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, "TRIGSTR_082" )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, "TRIGSTR_083" )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, "TRIGSTR_084" )
call TriggerSleepAction( 5.00 )
call CustomVictoryBJ( Player(9), true, true )
call CustomVictoryBJ( Player(10), true, true )
call CustomVictoryBJ( Player(11), true, true )
call CustomDefeatBJ( Player(0), "TRIGSTR_085" )
call CustomDefeatBJ( Player(1), "TRIGSTR_086" )
call CustomDefeatBJ( Player(2), "TRIGSTR_087" )
call CustomDefeatBJ( Player(3), "TRIGSTR_088" )
call CustomDefeatBJ( Player(4), "TRIGSTR_089" )
call CustomDefeatBJ( Player(5), "TRIGSTR_090" )
call CustomDefeatBJ( Player(6), "TRIGSTR_091" )
call CustomDefeatBJ( Player(7), "TRIGSTR_092" )
call CustomDefeatBJ( Player(8), "TRIGSTR_093" )
endfunction
//===========================================================================
function InitTrig_Win_Team_4 takes nothing returns nothing
set gg_trg_Win_Team_4 = CreateTrigger( )
call TriggerRegisterTimerEventPeriodic( gg_trg_Win_Team_4, 1.00 )
call TriggerAddCondition( gg_trg_Win_Team_4, Condition( function Trig_Win_Team_4_Conditions ) )
call TriggerAddAction( gg_trg_Win_Team_4, function Trig_Win_Team_4_Actions )
endfunction