Name | Type | is_array | initial_value |
Current_Reborn | rect | No | null |
Lives | integer | Yes | 0 |
Lv2_LifeAmount | integer | No | 2 |
Lv3_LifeAmount | integer | No | 7 |
Lvl1_LifeAmount | integer | No | 1 |
Random_Number | integer | Yes | 0 |
function Trig_Quests_Actions takes nothing returns nothing
call CreateQuestBJ( bj_QUESTTYPE_REQ_DISCOVERED, "TRIGSTR_058", "TRIGSTR_059", "ReplaceableTextures\\CommandButtons\\BTNSacrifice.blp" )
call CreateQuestBJ( bj_QUESTTYPE_REQ_DISCOVERED, "TRIGSTR_060", "TRIGSTR_061", "ReplaceableTextures\\PassiveButtons\\PASBTNReincarnation.blp" )
endfunction
//===========================================================================
function InitTrig_Quests takes nothing returns nothing
set gg_trg_Quests = CreateTrigger( )
call TriggerAddAction( gg_trg_Quests, function Trig_Quests_Actions )
endfunction
function Trig_Kill_People_That_Arent_Here_Func001Func001001 takes nothing returns boolean
return ( GetPlayerSlotState(ConvertedPlayer(GetForLoopIndexA())) != PLAYER_SLOT_STATE_PLAYING )
endfunction
function Trig_Kill_People_That_Arent_Here_Func001Func001002002 takes nothing returns nothing
call RemoveUnit( GetEnumUnit() )
endfunction
function Trig_Kill_People_That_Arent_Here_Actions takes nothing returns nothing
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 12
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
if ( Trig_Kill_People_That_Arent_Here_Func001Func001001() ) then
call ForGroupBJ( GetUnitsOfPlayerAll(ConvertedPlayer(GetForLoopIndexA())), function Trig_Kill_People_That_Arent_Here_Func001Func001002002 )
else
call DoNothing( )
endif
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
endfunction
//===========================================================================
function InitTrig_Kill_People_That_Arent_Here takes nothing returns nothing
set gg_trg_Kill_People_That_Arent_Here = CreateTrigger( )
call TriggerAddAction( gg_trg_Kill_People_That_Arent_Here, function Trig_Kill_People_That_Arent_Here_Actions )
endfunction
function Trig_Kick_blue_Actions takes nothing returns nothing
call CustomDefeatBJ( Player(1), "TRIGSTR_086" )
endfunction
//===========================================================================
function InitTrig_Kick_blue takes nothing returns nothing
set gg_trg_Kick_blue = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Kick_blue, Player(0), "-kick blue", true )
call TriggerAddAction( gg_trg_Kick_blue, function Trig_Kick_blue_Actions )
endfunction
function Trig_Kick_blue_Copy_Actions takes nothing returns nothing
call CustomDefeatBJ( Player(2), "TRIGSTR_087" )
endfunction
//===========================================================================
function InitTrig_Kick_blue_Copy takes nothing returns nothing
set gg_trg_Kick_blue_Copy = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Kick_blue_Copy, Player(0), "-kick teal", true )
call TriggerAddAction( gg_trg_Kick_blue_Copy, function Trig_Kick_blue_Copy_Actions )
endfunction
function Trig_Kick_blue_Copy_2_Actions takes nothing returns nothing
call CustomDefeatBJ( Player(3), "TRIGSTR_088" )
endfunction
//===========================================================================
function InitTrig_Kick_blue_Copy_2 takes nothing returns nothing
set gg_trg_Kick_blue_Copy_2 = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Kick_blue_Copy_2, Player(0), "-kick purple", true )
call TriggerAddAction( gg_trg_Kick_blue_Copy_2, function Trig_Kick_blue_Copy_2_Actions )
endfunction
function Trig_Kick_blue_Copy_3_Actions takes nothing returns nothing
call CustomDefeatBJ( Player(4), "TRIGSTR_089" )
endfunction
//===========================================================================
function InitTrig_Kick_blue_Copy_3 takes nothing returns nothing
set gg_trg_Kick_blue_Copy_3 = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Kick_blue_Copy_3, Player(0), "-kick yellow", true )
call TriggerAddAction( gg_trg_Kick_blue_Copy_3, function Trig_Kick_blue_Copy_3_Actions )
endfunction
function Trig_Kick_blue_Copy_4_Actions takes nothing returns nothing
call CustomDefeatBJ( Player(5), "TRIGSTR_090" )
endfunction
//===========================================================================
function InitTrig_Kick_blue_Copy_4 takes nothing returns nothing
set gg_trg_Kick_blue_Copy_4 = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Kick_blue_Copy_4, Player(0), "-kick orange", true )
call TriggerAddAction( gg_trg_Kick_blue_Copy_4, function Trig_Kick_blue_Copy_4_Actions )
endfunction
function Trig_Kick_blue_Copy_5_Actions takes nothing returns nothing
call CustomDefeatBJ( Player(6), "TRIGSTR_091" )
endfunction
//===========================================================================
function InitTrig_Kick_blue_Copy_5 takes nothing returns nothing
set gg_trg_Kick_blue_Copy_5 = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Kick_blue_Copy_5, Player(0), "-kick green", true )
call TriggerAddAction( gg_trg_Kick_blue_Copy_5, function Trig_Kick_blue_Copy_5_Actions )
endfunction
function Trig_Kick_blue_Copy_6_Actions takes nothing returns nothing
call CustomDefeatBJ( Player(8), "TRIGSTR_092" )
endfunction
//===========================================================================
function InitTrig_Kick_blue_Copy_6 takes nothing returns nothing
set gg_trg_Kick_blue_Copy_6 = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Kick_blue_Copy_6, Player(0), "-kick gray", true )
call TriggerAddAction( gg_trg_Kick_blue_Copy_6, function Trig_Kick_blue_Copy_6_Actions )
endfunction
function Trig_Kick_blue_Copy_7_Actions takes nothing returns nothing
call CustomDefeatBJ( Player(9), "TRIGSTR_093" )
endfunction
//===========================================================================
function InitTrig_Kick_blue_Copy_7 takes nothing returns nothing
set gg_trg_Kick_blue_Copy_7 = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Kick_blue_Copy_7, Player(0), "-kick light blue", true )
call TriggerAddAction( gg_trg_Kick_blue_Copy_7, function Trig_Kick_blue_Copy_7_Actions )
endfunction
function Trig_Kick_blue_Copy_8_Actions takes nothing returns nothing
call CustomDefeatBJ( Player(10), "TRIGSTR_094" )
endfunction
//===========================================================================
function InitTrig_Kick_blue_Copy_8 takes nothing returns nothing
set gg_trg_Kick_blue_Copy_8 = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Kick_blue_Copy_8, Player(0), "-kick dark green", true )
call TriggerAddAction( gg_trg_Kick_blue_Copy_8, function Trig_Kick_blue_Copy_8_Actions )
endfunction
function Trig_Kick_blue_Copy_9_Actions takes nothing returns nothing
call CustomDefeatBJ( Player(11), "TRIGSTR_095" )
endfunction
//===========================================================================
function InitTrig_Kick_blue_Copy_9 takes nothing returns nothing
set gg_trg_Kick_blue_Copy_9 = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Kick_blue_Copy_9, Player(0), "-kick brown", true )
call TriggerAddAction( gg_trg_Kick_blue_Copy_9, function Trig_Kick_blue_Copy_9_Actions )
endfunction
function Trig_Within_Range_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) != 'E000' ) ) then
return false
endif
return true
endfunction
function Trig_Within_Range_Actions takes nothing returns nothing
call KillUnit( gg_unit_E000_0051 )
endfunction
//===========================================================================
function InitTrig_Within_Range takes nothing returns nothing
set gg_trg_Within_Range = CreateTrigger( )
call TriggerRegisterUnitInRangeSimple( gg_trg_Within_Range, 100.00, gg_unit_E000_0051 )
call TriggerAddCondition( gg_trg_Within_Range, Condition( function Trig_Within_Range_Conditions ) )
call TriggerAddAction( gg_trg_Within_Range, function Trig_Within_Range_Actions )
endfunction
function Trig_Within_Range_Copy_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) != 'E000' ) ) then
return false
endif
return true
endfunction
function Trig_Within_Range_Copy_Actions takes nothing returns nothing
call KillUnit( gg_unit_E000_0052 )
endfunction
//===========================================================================
function InitTrig_Within_Range_Copy takes nothing returns nothing
set gg_trg_Within_Range_Copy = CreateTrigger( )
call TriggerRegisterUnitInRangeSimple( gg_trg_Within_Range_Copy, 100.00, gg_unit_E000_0052 )
call TriggerAddCondition( gg_trg_Within_Range_Copy, Condition( function Trig_Within_Range_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Within_Range_Copy, function Trig_Within_Range_Copy_Actions )
endfunction
function Trig_Within_Range_Copy_2_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) != 'E000' ) ) then
return false
endif
return true
endfunction
function Trig_Within_Range_Copy_2_Actions takes nothing returns nothing
call KillUnit( gg_unit_E000_0053 )
endfunction
//===========================================================================
function InitTrig_Within_Range_Copy_2 takes nothing returns nothing
set gg_trg_Within_Range_Copy_2 = CreateTrigger( )
call TriggerRegisterUnitInRangeSimple( gg_trg_Within_Range_Copy_2, 100.00, gg_unit_E000_0053 )
call TriggerAddCondition( gg_trg_Within_Range_Copy_2, Condition( function Trig_Within_Range_Copy_2_Conditions ) )
call TriggerAddAction( gg_trg_Within_Range_Copy_2, function Trig_Within_Range_Copy_2_Actions )
endfunction
function Trig_Within_Range_Copy_3_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) != 'E000' ) ) then
return false
endif
return true
endfunction
function Trig_Within_Range_Copy_3_Actions takes nothing returns nothing
call KillUnit( gg_unit_E000_0054 )
endfunction
//===========================================================================
function InitTrig_Within_Range_Copy_3 takes nothing returns nothing
set gg_trg_Within_Range_Copy_3 = CreateTrigger( )
call TriggerRegisterUnitInRangeSimple( gg_trg_Within_Range_Copy_3, 100.00, gg_unit_E000_0054 )
call TriggerAddCondition( gg_trg_Within_Range_Copy_3, Condition( function Trig_Within_Range_Copy_3_Conditions ) )
call TriggerAddAction( gg_trg_Within_Range_Copy_3, function Trig_Within_Range_Copy_3_Actions )
endfunction
function Trig_Within_Range_Copy_4_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) != 'E000' ) ) then
return false
endif
return true
endfunction
function Trig_Within_Range_Copy_4_Actions takes nothing returns nothing
call KillUnit( gg_unit_E000_0055 )
endfunction
//===========================================================================
function InitTrig_Within_Range_Copy_4 takes nothing returns nothing
set gg_trg_Within_Range_Copy_4 = CreateTrigger( )
call TriggerRegisterUnitInRangeSimple( gg_trg_Within_Range_Copy_4, 100.00, gg_unit_E000_0055 )
call TriggerAddCondition( gg_trg_Within_Range_Copy_4, Condition( function Trig_Within_Range_Copy_4_Conditions ) )
call TriggerAddAction( gg_trg_Within_Range_Copy_4, function Trig_Within_Range_Copy_4_Actions )
endfunction
function Trig_Within_Range_Copy_5_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) != 'E000' ) ) then
return false
endif
return true
endfunction
function Trig_Within_Range_Copy_5_Actions takes nothing returns nothing
call KillUnit( gg_unit_E000_0056 )
endfunction
//===========================================================================
function InitTrig_Within_Range_Copy_5 takes nothing returns nothing
set gg_trg_Within_Range_Copy_5 = CreateTrigger( )
call TriggerRegisterUnitInRangeSimple( gg_trg_Within_Range_Copy_5, 100.00, gg_unit_E000_0056 )
call TriggerAddCondition( gg_trg_Within_Range_Copy_5, Condition( function Trig_Within_Range_Copy_5_Conditions ) )
call TriggerAddAction( gg_trg_Within_Range_Copy_5, function Trig_Within_Range_Copy_5_Actions )
endfunction
function Trig_Within_Range_Copy_6_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) != 'E000' ) ) then
return false
endif
return true
endfunction
function Trig_Within_Range_Copy_6_Actions takes nothing returns nothing
call KillUnit( gg_unit_E000_0057 )
endfunction
//===========================================================================
function InitTrig_Within_Range_Copy_6 takes nothing returns nothing
set gg_trg_Within_Range_Copy_6 = CreateTrigger( )
call TriggerRegisterUnitInRangeSimple( gg_trg_Within_Range_Copy_6, 100.00, gg_unit_E000_0057 )
call TriggerAddCondition( gg_trg_Within_Range_Copy_6, Condition( function Trig_Within_Range_Copy_6_Conditions ) )
call TriggerAddAction( gg_trg_Within_Range_Copy_6, function Trig_Within_Range_Copy_6_Actions )
endfunction
function Trig_Within_Range_Copy_7_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) != 'E000' ) ) then
return false
endif
return true
endfunction
function Trig_Within_Range_Copy_7_Actions takes nothing returns nothing
call KillUnit( gg_unit_E000_0058 )
endfunction
//===========================================================================
function InitTrig_Within_Range_Copy_7 takes nothing returns nothing
set gg_trg_Within_Range_Copy_7 = CreateTrigger( )
call TriggerRegisterUnitInRangeSimple( gg_trg_Within_Range_Copy_7, 100.00, gg_unit_E000_0058 )
call TriggerAddCondition( gg_trg_Within_Range_Copy_7, Condition( function Trig_Within_Range_Copy_7_Conditions ) )
call TriggerAddAction( gg_trg_Within_Range_Copy_7, function Trig_Within_Range_Copy_7_Actions )
endfunction
function Trig_Within_Range_Copy_8_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) != 'E000' ) ) then
return false
endif
return true
endfunction
function Trig_Within_Range_Copy_8_Actions takes nothing returns nothing
call KillUnit( gg_unit_E000_0059 )
endfunction
//===========================================================================
function InitTrig_Within_Range_Copy_8 takes nothing returns nothing
set gg_trg_Within_Range_Copy_8 = CreateTrigger( )
call TriggerRegisterUnitInRangeSimple( gg_trg_Within_Range_Copy_8, 100.00, gg_unit_E000_0059 )
call TriggerAddCondition( gg_trg_Within_Range_Copy_8, Condition( function Trig_Within_Range_Copy_8_Conditions ) )
call TriggerAddAction( gg_trg_Within_Range_Copy_8, function Trig_Within_Range_Copy_8_Actions )
endfunction
function Trig_Within_Range_Copy_9_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) != 'E000' ) ) then
return false
endif
return true
endfunction
function Trig_Within_Range_Copy_9_Actions takes nothing returns nothing
call KillUnit( gg_unit_E000_0060 )
endfunction
//===========================================================================
function InitTrig_Within_Range_Copy_9 takes nothing returns nothing
set gg_trg_Within_Range_Copy_9 = CreateTrigger( )
call TriggerRegisterUnitInRangeSimple( gg_trg_Within_Range_Copy_9, 100.00, gg_unit_E000_0060 )
call TriggerAddCondition( gg_trg_Within_Range_Copy_9, Condition( function Trig_Within_Range_Copy_9_Conditions ) )
call TriggerAddAction( gg_trg_Within_Range_Copy_9, function Trig_Within_Range_Copy_9_Actions )
endfunction
function Trig_Within_Range_Copy_10_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) != 'E000' ) ) then
return false
endif
return true
endfunction
function Trig_Within_Range_Copy_10_Actions takes nothing returns nothing
call KillUnit( gg_unit_E000_0061 )
endfunction
//===========================================================================
function InitTrig_Within_Range_Copy_10 takes nothing returns nothing
set gg_trg_Within_Range_Copy_10 = CreateTrigger( )
call TriggerRegisterUnitInRangeSimple( gg_trg_Within_Range_Copy_10, 100.00, gg_unit_E000_0061 )
call TriggerAddCondition( gg_trg_Within_Range_Copy_10, Condition( function Trig_Within_Range_Copy_10_Conditions ) )
call TriggerAddAction( gg_trg_Within_Range_Copy_10, function Trig_Within_Range_Copy_10_Actions )
endfunction
function Trig_Player_leaves_Actions takes nothing returns nothing
call RemoveUnit( gg_unit_E000_0051 )
endfunction
//===========================================================================
function InitTrig_Player_leaves takes nothing returns nothing
set gg_trg_Player_leaves = CreateTrigger( )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_leaves, Player(0) )
call TriggerAddAction( gg_trg_Player_leaves, function Trig_Player_leaves_Actions )
endfunction
function Trig_Player_leaves_Copy_Actions takes nothing returns nothing
call RemoveUnit( gg_unit_E000_0052 )
endfunction
//===========================================================================
function InitTrig_Player_leaves_Copy takes nothing returns nothing
set gg_trg_Player_leaves_Copy = CreateTrigger( )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_leaves_Copy, Player(1) )
call TriggerAddAction( gg_trg_Player_leaves_Copy, function Trig_Player_leaves_Copy_Actions )
endfunction
function Trig_Player_leaves_Copy_2_Actions takes nothing returns nothing
call RemoveUnit( gg_unit_E000_0053 )
endfunction
//===========================================================================
function InitTrig_Player_leaves_Copy_2 takes nothing returns nothing
set gg_trg_Player_leaves_Copy_2 = CreateTrigger( )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_leaves_Copy_2, Player(2) )
call TriggerAddAction( gg_trg_Player_leaves_Copy_2, function Trig_Player_leaves_Copy_2_Actions )
endfunction
function Trig_Player_leaves_Copy_3_Actions takes nothing returns nothing
call RemoveUnit( gg_unit_E000_0054 )
endfunction
//===========================================================================
function InitTrig_Player_leaves_Copy_3 takes nothing returns nothing
set gg_trg_Player_leaves_Copy_3 = CreateTrigger( )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_leaves_Copy_3, Player(3) )
call TriggerAddAction( gg_trg_Player_leaves_Copy_3, function Trig_Player_leaves_Copy_3_Actions )
endfunction
function Trig_Player_leaves_Copy_4_Actions takes nothing returns nothing
call RemoveUnit( gg_unit_E000_0055 )
endfunction
//===========================================================================
function InitTrig_Player_leaves_Copy_4 takes nothing returns nothing
set gg_trg_Player_leaves_Copy_4 = CreateTrigger( )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_leaves_Copy_4, Player(4) )
call TriggerAddAction( gg_trg_Player_leaves_Copy_4, function Trig_Player_leaves_Copy_4_Actions )
endfunction
function Trig_Player_leaves_Copy_5_Actions takes nothing returns nothing
call RemoveUnit( gg_unit_E000_0056 )
endfunction
//===========================================================================
function InitTrig_Player_leaves_Copy_5 takes nothing returns nothing
set gg_trg_Player_leaves_Copy_5 = CreateTrigger( )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_leaves_Copy_5, Player(5) )
call TriggerAddAction( gg_trg_Player_leaves_Copy_5, function Trig_Player_leaves_Copy_5_Actions )
endfunction
function Trig_Player_leaves_Copy_6_Actions takes nothing returns nothing
call RemoveUnit( gg_unit_E000_0057 )
endfunction
//===========================================================================
function InitTrig_Player_leaves_Copy_6 takes nothing returns nothing
set gg_trg_Player_leaves_Copy_6 = CreateTrigger( )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_leaves_Copy_6, Player(8) )
call TriggerAddAction( gg_trg_Player_leaves_Copy_6, function Trig_Player_leaves_Copy_6_Actions )
endfunction
function Trig_Player_leaves_Copy_7_Actions takes nothing returns nothing
call RemoveUnit( gg_unit_E000_0059 )
endfunction
//===========================================================================
function InitTrig_Player_leaves_Copy_7 takes nothing returns nothing
set gg_trg_Player_leaves_Copy_7 = CreateTrigger( )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_leaves_Copy_7, Player(9) )
call TriggerAddAction( gg_trg_Player_leaves_Copy_7, function Trig_Player_leaves_Copy_7_Actions )
endfunction
function Trig_Player_leaves_Copy_8_Actions takes nothing returns nothing
call RemoveUnit( gg_unit_E000_0057 )
endfunction
//===========================================================================
function InitTrig_Player_leaves_Copy_8 takes nothing returns nothing
set gg_trg_Player_leaves_Copy_8 = CreateTrigger( )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_leaves_Copy_8, Player(6) )
call TriggerAddAction( gg_trg_Player_leaves_Copy_8, function Trig_Player_leaves_Copy_8_Actions )
endfunction
function Trig_Player_leaves_Copy_9_Actions takes nothing returns nothing
call RemoveUnit( gg_unit_E000_0060 )
endfunction
//===========================================================================
function InitTrig_Player_leaves_Copy_9 takes nothing returns nothing
set gg_trg_Player_leaves_Copy_9 = CreateTrigger( )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_leaves_Copy_9, Player(10) )
call TriggerAddAction( gg_trg_Player_leaves_Copy_9, function Trig_Player_leaves_Copy_9_Actions )
endfunction
function Trig_Player_leaves_Copy_10_Actions takes nothing returns nothing
call RemoveUnit( gg_unit_E000_0061 )
endfunction
//===========================================================================
function InitTrig_Player_leaves_Copy_10 takes nothing returns nothing
set gg_trg_Player_leaves_Copy_10 = CreateTrigger( )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_leaves_Copy_10, Player(11) )
call TriggerAddAction( gg_trg_Player_leaves_Copy_10, function Trig_Player_leaves_Copy_10_Actions )
endfunction
function Trig_Vision_1_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call CreateFogModifierRectBJ( true, Player(0), FOG_OF_WAR_VISIBLE, gg_rct_Region_330 )
call CreateFogModifierRectBJ( true, Player(1), FOG_OF_WAR_VISIBLE, gg_rct_Region_330 )
call CreateFogModifierRectBJ( true, Player(2), FOG_OF_WAR_VISIBLE, gg_rct_Region_330 )
call CreateFogModifierRectBJ( true, Player(3), FOG_OF_WAR_VISIBLE, gg_rct_Region_330 )
call CreateFogModifierRectBJ( true, Player(4), FOG_OF_WAR_VISIBLE, gg_rct_Region_330 )
call CreateFogModifierRectBJ( true, Player(5), FOG_OF_WAR_VISIBLE, gg_rct_Region_330 )
call CreateFogModifierRectBJ( true, Player(6), FOG_OF_WAR_VISIBLE, gg_rct_Region_330 )
call CreateFogModifierRectBJ( true, Player(8), FOG_OF_WAR_VISIBLE, gg_rct_Region_330 )
call CreateFogModifierRectBJ( true, Player(9), FOG_OF_WAR_VISIBLE, gg_rct_Region_330 )
call CreateFogModifierRectBJ( true, Player(10), FOG_OF_WAR_VISIBLE, gg_rct_Region_330 )
call CreateFogModifierRectBJ( true, Player(11), FOG_OF_WAR_VISIBLE, gg_rct_Region_330 )
endfunction
//===========================================================================
function InitTrig_Vision_1 takes nothing returns nothing
set gg_trg_Vision_1 = CreateTrigger( )
call TriggerAddAction( gg_trg_Vision_1, function Trig_Vision_1_Actions )
endfunction
function Trig_Path_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'E000' ) ) then
return false
endif
return true
endfunction
function Trig_Path_Actions takes nothing returns nothing
call KillUnit( GetTriggerUnit() )
call DisplayTextToForce( GetPlayersAll(), "TRIGSTR_032" )
call PlaySoundBJ( gg_snd_NiceOneDudue )
endfunction
//===========================================================================
function InitTrig_Path takes nothing returns nothing
set gg_trg_Path = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_000 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_001 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_002 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_003 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_004 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_005 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_006 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_007 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_008 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_009 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_010 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_011 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_012 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_013 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_014 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_015 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_016 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_017 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_018 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_019 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_020 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_021 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_022 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_023 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_024 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_025 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_026 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_027 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_028 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_029 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_030 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_031 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_032 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_033 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_034 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_035 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_036 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_038 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_039 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_040 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_094 )
call TriggerRegisterEnterRectSimple( gg_trg_Path, gg_rct_Region_095 )
call TriggerAddCondition( gg_trg_Path, Condition( function Trig_Path_Conditions ) )
call TriggerAddAction( gg_trg_Path, function Trig_Path_Actions )
endfunction
function Trig_Patrol_Tanks_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( gg_unit_h000_0000, "patrol", GetRectCenter(gg_rct_Region_041) )
call IssuePointOrderLocBJ( gg_unit_h000_0001, "patrol", GetRectCenter(gg_rct_Region_042) )
call IssuePointOrderLocBJ( gg_unit_h000_0002, "patrol", GetRectCenter(gg_rct_Region_043) )
call IssuePointOrderLocBJ( gg_unit_h000_0003, "patrol", GetRectCenter(gg_rct_Region_044) )
call IssuePointOrderLocBJ( gg_unit_h000_0004, "patrol", GetRectCenter(gg_rct_Region_045) )
call IssuePointOrderLocBJ( gg_unit_h000_0005, "patrol", GetRectCenter(gg_rct_Region_046) )
call IssuePointOrderLocBJ( gg_unit_h000_0006, "patrol", GetRectCenter(gg_rct_Region_047) )
call IssuePointOrderLocBJ( gg_unit_h000_0007, "patrol", GetRectCenter(gg_rct_Region_048) )
endfunction
//===========================================================================
function InitTrig_Patrol_Tanks takes nothing returns nothing
set gg_trg_Patrol_Tanks = CreateTrigger( )
call TriggerAddAction( gg_trg_Patrol_Tanks, function Trig_Patrol_Tanks_Actions )
endfunction
function Trig_Doggies_Actions takes nothing returns nothing
call SetUnitAnimation( gg_unit_n001_0009, "attack" )
call SetUnitAnimation( gg_unit_n001_0010, "attack" )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_n000_0011, "move", GetRandomLocInRect(gg_rct_Region_049) )
call IssuePointOrderLocBJ( gg_unit_n000_0012, "move", GetRandomLocInRect(gg_rct_Region_050) )
call TriggerSleepAction( 2.00 )
call IssuePointOrderLocBJ( gg_unit_n000_0011, "move", GetRectCenter(gg_rct_Region_051) )
call IssuePointOrderLocBJ( gg_unit_n000_0012, "move", GetRectCenter(gg_rct_Region_052) )
endfunction
//===========================================================================
function InitTrig_Doggies takes nothing returns nothing
set gg_trg_Doggies = CreateTrigger( )
call TriggerRegisterTimerEventPeriodic( gg_trg_Doggies, 3.50 )
call TriggerAddAction( gg_trg_Doggies, function Trig_Doggies_Actions )
endfunction
function Trig_Exploding_Dildos_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( gg_unit_h001_0024, "attackground", GetRectCenter(gg_rct_Region_062) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h001_0025, "attackground", GetRectCenter(gg_rct_Region_053) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h001_0026, "attackground", GetRectCenter(gg_rct_Region_054) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h001_0027, "attackground", GetRectCenter(gg_rct_Region_055) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h001_0028, "attackground", GetRectCenter(gg_rct_Region_056) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h001_0029, "attackground", GetRectCenter(gg_rct_Region_057) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h001_0030, "attackground", GetRectCenter(gg_rct_Region_058) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h001_0031, "attackground", GetRectCenter(gg_rct_Region_059) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h001_0032, "attackground", GetRectCenter(gg_rct_Region_060) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h001_0033, "attackground", GetRectCenter(gg_rct_Region_061) )
endfunction
//===========================================================================
function InitTrig_Exploding_Dildos takes nothing returns nothing
set gg_trg_Exploding_Dildos = CreateTrigger( )
call TriggerAddAction( gg_trg_Exploding_Dildos, function Trig_Exploding_Dildos_Actions )
endfunction
function Trig_Reborn_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
set udg_Current_Reborn = gg_rct_Region_093
call ClearSelection( )
call ClearSelection( )
call ClearSelection( )
call KillUnit( gg_unit_E000_0051 )
call KillUnit( gg_unit_E000_0052 )
call KillUnit( gg_unit_E000_0053 )
call KillUnit( gg_unit_E000_0054 )
call KillUnit( gg_unit_E000_0055 )
call KillUnit( gg_unit_E000_0056 )
call KillUnit( gg_unit_E000_0057 )
call KillUnit( gg_unit_E000_0058 )
call KillUnit( gg_unit_E000_0059 )
call KillUnit( gg_unit_E000_0060 )
call KillUnit( gg_unit_E000_0061 )
call PanCameraToTimedLocForPlayer( Player(0), GetRectCenter(gg_rct_Region_093), 0.00 )
call PanCameraToTimedLocForPlayer( Player(1), GetRectCenter(gg_rct_Region_093), 0.00 )
call PanCameraToTimedLocForPlayer( Player(2), GetRectCenter(gg_rct_Region_093), 0.00 )
call PanCameraToTimedLocForPlayer( Player(3), GetRectCenter(gg_rct_Region_093), 0.00 )
call PanCameraToTimedLocForPlayer( Player(4), GetRectCenter(gg_rct_Region_093), 0.00 )
call PanCameraToTimedLocForPlayer( Player(5), GetRectCenter(gg_rct_Region_093), 0.00 )
call PanCameraToTimedLocForPlayer( Player(6), GetRectCenter(gg_rct_Region_093), 0.00 )
call PanCameraToTimedLocForPlayer( Player(8), GetRectCenter(gg_rct_Region_093), 0.00 )
call PanCameraToTimedLocForPlayer( Player(9), GetRectCenter(gg_rct_Region_093), 0.00 )
call PanCameraToTimedLocForPlayer( Player(10), GetRectCenter(gg_rct_Region_093), 0.00 )
call PanCameraToTimedLocForPlayer( Player(11), GetRectCenter(gg_rct_Region_093), 0.00 )
call ReviveHeroLoc( gg_unit_E000_0051, GetRandomLocInRect(gg_rct_Region_093), true )
call ReviveHeroLoc( gg_unit_E000_0052, GetRandomLocInRect(gg_rct_Region_093), true )
call ReviveHeroLoc( gg_unit_E000_0053, GetRandomLocInRect(gg_rct_Region_093), true )
call ReviveHeroLoc( gg_unit_E000_0054, GetRandomLocInRect(gg_rct_Region_093), true )
call ReviveHeroLoc( gg_unit_E000_0055, GetRandomLocInRect(gg_rct_Region_093), true )
call ReviveHeroLoc( gg_unit_E000_0056, GetRandomLocInRect(gg_rct_Region_093), true )
call ReviveHeroLoc( gg_unit_E000_0057, GetRandomLocInRect(gg_rct_Region_093), true )
call ReviveHeroLoc( gg_unit_E000_0058, GetRandomLocInRect(gg_rct_Region_093), true )
call ReviveHeroLoc( gg_unit_E000_0059, GetRandomLocInRect(gg_rct_Region_093), true )
call ReviveHeroLoc( gg_unit_E000_0060, GetRandomLocInRect(gg_rct_Region_093), true )
call ReviveHeroLoc( gg_unit_E000_0061, GetRandomLocInRect(gg_rct_Region_093), true )
call ModifyGateBJ( bj_GATEOPERATION_OPEN, gg_dest_DTg3_0052 )
endfunction
//===========================================================================
function InitTrig_Reborn takes nothing returns nothing
set gg_trg_Reborn = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Reborn, gg_rct_Region_092 )
call TriggerAddAction( gg_trg_Reborn, function Trig_Reborn_Actions )
endfunction
function Trig_Kill_Level_2_Actions takes nothing returns nothing
call EnableTrigger( GetTriggeringTrigger() )
call EnableTrigger( gg_trg_Doggies )
call KillUnit( gg_unit_n001_0010 )
call KillUnit( gg_unit_n000_0012 )
call KillUnit( gg_unit_n001_0009 )
call KillUnit( gg_unit_n000_0011 )
call KillUnit( gg_unit_h001_0024 )
call KillUnit( gg_unit_h001_0025 )
call KillUnit( gg_unit_h001_0026 )
call KillUnit( gg_unit_h001_0027 )
call KillUnit( gg_unit_h001_0028 )
call KillUnit( gg_unit_h001_0029 )
call KillUnit( gg_unit_h001_0030 )
call KillUnit( gg_unit_h001_0031 )
call KillUnit( gg_unit_h001_0032 )
call KillUnit( gg_unit_h001_0033 )
call KillUnit( gg_unit_h000_0007 )
call KillUnit( gg_unit_h000_0006 )
call KillUnit( gg_unit_h000_0004 )
call KillUnit( gg_unit_h000_0005 )
call KillUnit( gg_unit_h000_0003 )
call KillUnit( gg_unit_h000_0002 )
call KillUnit( gg_unit_h000_0001 )
call KillUnit( gg_unit_h000_0000 )
endfunction
//===========================================================================
function InitTrig_Kill_Level_2 takes nothing returns nothing
set gg_trg_Kill_Level_2 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Kill_Level_2, gg_rct_Region_093 )
call TriggerAddAction( gg_trg_Kill_Level_2, function Trig_Kill_Level_2_Actions )
endfunction
function Trig_Path_2_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'E000' ) ) then
return false
endif
return true
endfunction
function Trig_Path_2_Actions takes nothing returns nothing
call KillUnit( GetTriggerUnit() )
call DisplayTextToForce( GetPlayersAll(), "TRIGSTR_031" )
call PlaySoundBJ( gg_snd_NiceOneDudue )
endfunction
//===========================================================================
function InitTrig_Path_2 takes nothing returns nothing
set gg_trg_Path_2 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Path_2, gg_rct_Region_063 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_2, gg_rct_Region_064 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_2, gg_rct_Region_065 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_2, gg_rct_Region_066 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_2, gg_rct_Region_067 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_2, gg_rct_Region_068 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_2, gg_rct_Region_069 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_2, gg_rct_Region_070 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_2, gg_rct_Region_071 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_2, gg_rct_Region_072 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_2, gg_rct_Region_073 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_2, gg_rct_Region_074 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_2, gg_rct_Region_075 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_2, gg_rct_Region_076 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_2, gg_rct_Region_077 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_2, gg_rct_Region_078 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_2, gg_rct_Region_079 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_2, gg_rct_Region_080 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_2, gg_rct_Region_081 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_2, gg_rct_Region_082 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_2, gg_rct_Region_083 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_2, gg_rct_Region_084 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_2, gg_rct_Region_085 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_2, gg_rct_Region_086 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_2, gg_rct_Region_087 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_2, gg_rct_Region_088 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_2, gg_rct_Region_089 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_2, gg_rct_Region_090 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_2, gg_rct_Region_091 )
call TriggerAddCondition( gg_trg_Path_2, Condition( function Trig_Path_2_Conditions ) )
call TriggerAddAction( gg_trg_Path_2, function Trig_Path_2_Actions )
endfunction
function Trig_Vision_1_Copy_Actions takes nothing returns nothing
call FogModifierStop( GetLastCreatedFogModifier() )
call DisableTrigger( GetTriggeringTrigger() )
call CreateFogModifierRectBJ( true, Player(0), FOG_OF_WAR_VISIBLE, gg_rct_Region_331 )
call CreateFogModifierRectBJ( true, Player(1), FOG_OF_WAR_VISIBLE, gg_rct_Region_331 )
call CreateFogModifierRectBJ( true, Player(2), FOG_OF_WAR_VISIBLE, gg_rct_Region_331 )
call CreateFogModifierRectBJ( true, Player(3), FOG_OF_WAR_VISIBLE, gg_rct_Region_331 )
call CreateFogModifierRectBJ( true, Player(4), FOG_OF_WAR_VISIBLE, gg_rct_Region_331 )
call CreateFogModifierRectBJ( true, Player(5), FOG_OF_WAR_VISIBLE, gg_rct_Region_331 )
call CreateFogModifierRectBJ( true, Player(6), FOG_OF_WAR_VISIBLE, gg_rct_Region_331 )
call CreateFogModifierRectBJ( true, Player(8), FOG_OF_WAR_VISIBLE, gg_rct_Region_331 )
call CreateFogModifierRectBJ( true, Player(9), FOG_OF_WAR_VISIBLE, gg_rct_Region_331 )
call CreateFogModifierRectBJ( true, Player(10), FOG_OF_WAR_VISIBLE, gg_rct_Region_331 )
call CreateFogModifierRectBJ( true, Player(11), FOG_OF_WAR_VISIBLE, gg_rct_Region_331 )
endfunction
//===========================================================================
function InitTrig_Vision_1_Copy takes nothing returns nothing
set gg_trg_Vision_1_Copy = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Vision_1_Copy, gg_rct_Region_092 )
call TriggerAddAction( gg_trg_Vision_1_Copy, function Trig_Vision_1_Copy_Actions )
endfunction
function Trig_Patrol_Shaman_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call IssuePointOrderLocBJ( gg_unit_o000_0034, "move", GetRectCenter(gg_rct_Region_096) )
endfunction
//===========================================================================
function InitTrig_Patrol_Shaman takes nothing returns nothing
set gg_trg_Patrol_Shaman = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Patrol_Shaman, gg_rct_Region_093 )
call TriggerAddAction( gg_trg_Patrol_Shaman, function Trig_Patrol_Shaman_Actions )
endfunction
function Trig_Shaman_Path_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'o000' ) ) then
return false
endif
return true
endfunction
function Trig_Shaman_Path_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_097) )
endfunction
//===========================================================================
function InitTrig_Shaman_Path takes nothing returns nothing
set gg_trg_Shaman_Path = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Shaman_Path, gg_rct_Region_096 )
call TriggerAddCondition( gg_trg_Shaman_Path, Condition( function Trig_Shaman_Path_Conditions ) )
call TriggerAddAction( gg_trg_Shaman_Path, function Trig_Shaman_Path_Actions )
endfunction
function Trig_Shaman_Path_Copy_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'o000' ) ) then
return false
endif
return true
endfunction
function Trig_Shaman_Path_Copy_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_098) )
endfunction
//===========================================================================
function InitTrig_Shaman_Path_Copy takes nothing returns nothing
set gg_trg_Shaman_Path_Copy = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Shaman_Path_Copy, gg_rct_Region_097 )
call TriggerAddCondition( gg_trg_Shaman_Path_Copy, Condition( function Trig_Shaman_Path_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Shaman_Path_Copy, function Trig_Shaman_Path_Copy_Actions )
endfunction
function Trig_Shaman_Path_Copy_2_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'o000' ) ) then
return false
endif
return true
endfunction
function Trig_Shaman_Path_Copy_2_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_099) )
endfunction
//===========================================================================
function InitTrig_Shaman_Path_Copy_2 takes nothing returns nothing
set gg_trg_Shaman_Path_Copy_2 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Shaman_Path_Copy_2, gg_rct_Region_098 )
call TriggerAddCondition( gg_trg_Shaman_Path_Copy_2, Condition( function Trig_Shaman_Path_Copy_2_Conditions ) )
call TriggerAddAction( gg_trg_Shaman_Path_Copy_2, function Trig_Shaman_Path_Copy_2_Actions )
endfunction
function Trig_Shaman_Path_Copy_2_Copy_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'o000' ) ) then
return false
endif
return true
endfunction
function Trig_Shaman_Path_Copy_2_Copy_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_096) )
endfunction
//===========================================================================
function InitTrig_Shaman_Path_Copy_2_Copy takes nothing returns nothing
set gg_trg_Shaman_Path_Copy_2_Copy = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Shaman_Path_Copy_2_Copy, gg_rct_Region_099 )
call TriggerAddCondition( gg_trg_Shaman_Path_Copy_2_Copy, Condition( function Trig_Shaman_Path_Copy_2_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Shaman_Path_Copy_2_Copy, function Trig_Shaman_Path_Copy_2_Copy_Actions )
endfunction
function Trig_The_Spandex_And_Dildos_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call IssuePointOrderLocBJ( gg_unit_h002_0040, "patrol", GetRectCenter(gg_rct_Region_110) )
call IssuePointOrderLocBJ( gg_unit_h002_0039, "patrol", GetRectCenter(gg_rct_Region_109) )
call IssuePointOrderLocBJ( gg_unit_h002_0038, "patrol", GetRectCenter(gg_rct_Region_108) )
call IssuePointOrderLocBJ( gg_unit_h002_0036, "patrol", GetRectCenter(gg_rct_Region_106) )
call IssuePointOrderLocBJ( gg_unit_h001_0046, "attackground", GetRectCenter(gg_rct_Region_100) )
call IssuePointOrderLocBJ( gg_unit_h001_0045, "attackground", GetRectCenter(gg_rct_Region_101) )
call IssuePointOrderLocBJ( gg_unit_h001_0044, "attackground", GetRectCenter(gg_rct_Region_102) )
call IssuePointOrderLocBJ( gg_unit_h001_0043, "attackground", GetRectCenter(gg_rct_Region_103) )
call IssuePointOrderLocBJ( gg_unit_h001_0042, "attackground", GetRectCenter(gg_rct_Region_104) )
call IssuePointOrderLocBJ( gg_unit_h001_0041, "attackground", GetRectCenter(gg_rct_Region_105) )
call IssuePointOrderLocBJ( gg_unit_h001_0037, "attackground", GetRectCenter(gg_rct_Region_132) )
call IssuePointOrderLocBJ( gg_unit_h001_0048, "attackground", GetRectCenter(gg_rct_Region_133) )
call IssuePointOrderLocBJ( gg_unit_h001_0049, "attackground", GetRectCenter(gg_rct_Region_134) )
call IssuePointOrderLocBJ( gg_unit_h001_0050, "attackground", GetRectCenter(gg_rct_Region_135) )
call IssuePointOrderLocBJ( gg_unit_h001_0101, "attackground", GetRectCenter(gg_rct_Region_369) )
call IssuePointOrderLocBJ( gg_unit_h001_0100, "attackground", GetRectCenter(gg_rct_Region_373) )
call IssuePointOrderLocBJ( gg_unit_h001_0099, "attackground", GetRectCenter(gg_rct_Region_374) )
endfunction
//===========================================================================
function InitTrig_The_Spandex_And_Dildos takes nothing returns nothing
set gg_trg_The_Spandex_And_Dildos = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_The_Spandex_And_Dildos, gg_rct_Region_093 )
call TriggerAddAction( gg_trg_The_Spandex_And_Dildos, function Trig_The_Spandex_And_Dildos_Actions )
endfunction
function Trig_Cock_Statue_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call IssuePointOrderLocBJ( gg_unit_h003_0047, "attackground", GetRectCenter(gg_rct_Region_111) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h003_0047, "attackground", GetRectCenter(gg_rct_Region_112) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h003_0047, "attackground", GetRectCenter(gg_rct_Region_113) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h003_0047, "attackground", GetRectCenter(gg_rct_Region_114) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h003_0047, "attackground", GetRectCenter(gg_rct_Region_115) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h003_0047, "attackground", GetRectCenter(gg_rct_Region_116) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h003_0047, "attackground", GetRectCenter(gg_rct_Region_117) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h003_0047, "attackground", GetRectCenter(gg_rct_Region_118) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h003_0047, "attackground", GetRectCenter(gg_rct_Region_119) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h003_0047, "attackground", GetRectCenter(gg_rct_Region_120) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h003_0047, "attackground", GetRectCenter(gg_rct_Region_121) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h003_0047, "attackground", GetRectCenter(gg_rct_Region_122) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h003_0047, "attackground", GetRectCenter(gg_rct_Region_123) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h003_0047, "attackground", GetRectCenter(gg_rct_Region_124) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h003_0047, "attackground", GetRectCenter(gg_rct_Region_125) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h003_0047, "attackground", GetRectCenter(gg_rct_Region_126) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h003_0047, "attackground", GetRectCenter(gg_rct_Region_127) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h003_0047, "attackground", GetRectCenter(gg_rct_Region_128) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h003_0047, "attackground", GetRectCenter(gg_rct_Region_129) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h003_0047, "attackground", GetRectCenter(gg_rct_Region_130) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h003_0047, "attackground", GetRectCenter(gg_rct_Region_131) )
call TriggerSleepAction( 0.00 )
call TriggerExecute( GetTriggeringTrigger() )
endfunction
//===========================================================================
function InitTrig_Cock_Statue takes nothing returns nothing
set gg_trg_Cock_Statue = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Cock_Statue, gg_rct_Region_093 )
call TriggerAddAction( gg_trg_Cock_Statue, function Trig_Cock_Statue_Actions )
endfunction
function Trig_Key_Gate_Conditions takes nothing returns boolean
if ( not ( GetItemTypeId(UnitItemInSlotBJ(GetTriggerUnit(), 1)) == GetItemTypeId(gg_item_I000_0023) ) ) then
return false
endif
return true
endfunction
function Trig_Key_Gate_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call ModifyGateBJ( bj_GATEOPERATION_OPEN, gg_dest_DTg1_0053 )
call RemoveItem( gg_item_I000_0023 )
endfunction
//===========================================================================
function InitTrig_Key_Gate takes nothing returns nothing
set gg_trg_Key_Gate = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Key_Gate, gg_rct_Region_137 )
call TriggerAddCondition( gg_trg_Key_Gate, Condition( function Trig_Key_Gate_Conditions ) )
call TriggerAddAction( gg_trg_Key_Gate, function Trig_Key_Gate_Actions )
endfunction
function Trig_Kill_Level_2_Copy_Actions takes nothing returns nothing
call EnableTrigger( GetTriggeringTrigger() )
call KillUnit( gg_unit_h003_0047 )
endfunction
//===========================================================================
function InitTrig_Kill_Level_2_Copy takes nothing returns nothing
set gg_trg_Kill_Level_2_Copy = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Kill_Level_2_Copy, gg_rct_Region_191 )
call TriggerAddAction( gg_trg_Kill_Level_2_Copy, function Trig_Kill_Level_2_Copy_Actions )
endfunction
function Trig_Vision_1_Copy_Copy_Actions takes nothing returns nothing
call FogModifierStop( GetLastCreatedFogModifier() )
call DisableTrigger( GetTriggeringTrigger() )
call CreateFogModifierRectBJ( true, Player(0), FOG_OF_WAR_VISIBLE, gg_rct_Region_332 )
call CreateFogModifierRectBJ( true, Player(1), FOG_OF_WAR_VISIBLE, gg_rct_Region_332 )
call CreateFogModifierRectBJ( true, Player(2), FOG_OF_WAR_VISIBLE, gg_rct_Region_332 )
call CreateFogModifierRectBJ( true, Player(3), FOG_OF_WAR_VISIBLE, gg_rct_Region_332 )
call CreateFogModifierRectBJ( true, Player(4), FOG_OF_WAR_VISIBLE, gg_rct_Region_332 )
call CreateFogModifierRectBJ( true, Player(5), FOG_OF_WAR_VISIBLE, gg_rct_Region_332 )
call CreateFogModifierRectBJ( true, Player(6), FOG_OF_WAR_VISIBLE, gg_rct_Region_332 )
call CreateFogModifierRectBJ( true, Player(10), FOG_OF_WAR_VISIBLE, gg_rct_Region_332 )
call CreateFogModifierRectBJ( true, Player(8), FOG_OF_WAR_VISIBLE, gg_rct_Region_332 )
call CreateFogModifierRectBJ( true, Player(9), FOG_OF_WAR_VISIBLE, gg_rct_Region_332 )
call CreateFogModifierRectBJ( true, Player(11), FOG_OF_WAR_VISIBLE, gg_rct_Region_332 )
endfunction
//===========================================================================
function InitTrig_Vision_1_Copy_Copy takes nothing returns nothing
set gg_trg_Vision_1_Copy_Copy = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Vision_1_Copy_Copy, gg_rct_Region_192 )
call TriggerAddAction( gg_trg_Vision_1_Copy_Copy, function Trig_Vision_1_Copy_Copy_Actions )
endfunction
function Trig_Reborn_Copy_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
set udg_Current_Reborn = gg_rct_Region_191
call ClearSelection( )
call ClearSelection( )
call ClearSelection( )
call KillUnit( gg_unit_E000_0051 )
call KillUnit( gg_unit_E000_0052 )
call KillUnit( gg_unit_E000_0053 )
call KillUnit( gg_unit_E000_0054 )
call KillUnit( gg_unit_E000_0055 )
call KillUnit( gg_unit_E000_0056 )
call KillUnit( gg_unit_E000_0057 )
call KillUnit( gg_unit_E000_0058 )
call KillUnit( gg_unit_E000_0059 )
call KillUnit( gg_unit_E000_0060 )
call KillUnit( gg_unit_E000_0061 )
call PanCameraToTimedLocForPlayer( Player(0), GetRectCenter(gg_rct_Region_191), 0.00 )
call PanCameraToTimedLocForPlayer( Player(1), GetRectCenter(gg_rct_Region_191), 0.00 )
call PanCameraToTimedLocForPlayer( Player(2), GetRectCenter(gg_rct_Region_191), 0.00 )
call PanCameraToTimedLocForPlayer( Player(3), GetRectCenter(gg_rct_Region_191), 0.00 )
call PanCameraToTimedLocForPlayer( Player(4), GetRectCenter(gg_rct_Region_191), 0.00 )
call PanCameraToTimedLocForPlayer( Player(5), GetRectCenter(gg_rct_Region_191), 0.00 )
call PanCameraToTimedLocForPlayer( Player(6), GetRectCenter(gg_rct_Region_191), 0.00 )
call PanCameraToTimedLocForPlayer( Player(8), GetRectCenter(gg_rct_Region_191), 0.00 )
call PanCameraToTimedLocForPlayer( Player(9), GetRectCenter(gg_rct_Region_191), 0.00 )
call PanCameraToTimedLocForPlayer( Player(10), GetRectCenter(gg_rct_Region_191), 0.00 )
call PanCameraToTimedLocForPlayer( Player(11), GetRectCenter(gg_rct_Region_191), 0.00 )
call ReviveHeroLoc( gg_unit_E000_0051, GetRandomLocInRect(gg_rct_Region_191), true )
call ReviveHeroLoc( gg_unit_E000_0052, GetRandomLocInRect(gg_rct_Region_191), true )
call ReviveHeroLoc( gg_unit_E000_0053, GetRandomLocInRect(gg_rct_Region_191), true )
call ReviveHeroLoc( gg_unit_E000_0054, GetRandomLocInRect(gg_rct_Region_191), true )
call ReviveHeroLoc( gg_unit_E000_0055, GetRandomLocInRect(gg_rct_Region_191), true )
call ReviveHeroLoc( gg_unit_E000_0056, GetRandomLocInRect(gg_rct_Region_191), true )
call ReviveHeroLoc( gg_unit_E000_0057, GetRandomLocInRect(gg_rct_Region_191), true )
call ReviveHeroLoc( gg_unit_E000_0058, GetRandomLocInRect(gg_rct_Region_191), true )
call ReviveHeroLoc( gg_unit_E000_0059, GetRandomLocInRect(gg_rct_Region_191), true )
call ReviveHeroLoc( gg_unit_E000_0060, GetRandomLocInRect(gg_rct_Region_191), true )
call ReviveHeroLoc( gg_unit_E000_0061, GetRandomLocInRect(gg_rct_Region_191), true )
endfunction
//===========================================================================
function InitTrig_Reborn_Copy takes nothing returns nothing
set gg_trg_Reborn_Copy = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Reborn_Copy, gg_rct_Region_192 )
call TriggerAddAction( gg_trg_Reborn_Copy, function Trig_Reborn_Copy_Actions )
endfunction
function Trig_Path_3_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'E000' ) ) then
return false
endif
return true
endfunction
function Trig_Path_3_Actions takes nothing returns nothing
call KillUnit( GetTriggerUnit() )
call DisplayTextToForce( GetPlayersAll(), "TRIGSTR_040" )
call PlaySoundBJ( gg_snd_NiceOneDudue )
endfunction
//===========================================================================
function InitTrig_Path_3 takes nothing returns nothing
set gg_trg_Path_3 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_138 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_139 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_140 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_141 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_142 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_143 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_144 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_145 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_146 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_147 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_148 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_149 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_150 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_151 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_152 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_153 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_154 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_155 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_156 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_157 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_158 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_159 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_160 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_162 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_163 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_164 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_165 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_166 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_167 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_168 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_169 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_170 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_171 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_172 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_173 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_174 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_175 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_176 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_177 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_178 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_179 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_180 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_181 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_182 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_183 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_184 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_185 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_186 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_187 )
call TriggerRegisterEnterRectSimple( gg_trg_Path_3, gg_rct_Region_188 )
call TriggerAddCondition( gg_trg_Path_3, Condition( function Trig_Path_3_Conditions ) )
call TriggerAddAction( gg_trg_Path_3, function Trig_Path_3_Actions )
endfunction
function Trig_Ass_Vibrators_Func003002 takes nothing returns nothing
call KillUnit( GetEnumUnit() )
endfunction
function Trig_Ass_Vibrators_Func005002 takes nothing returns nothing
call KillUnit( GetEnumUnit() )
endfunction
function Trig_Ass_Vibrators_Func008002 takes nothing returns nothing
call KillUnit( GetEnumUnit() )
endfunction
function Trig_Ass_Vibrators_Func010002 takes nothing returns nothing
call KillUnit( GetEnumUnit() )
endfunction
function Trig_Ass_Vibrators_Func013002 takes nothing returns nothing
call KillUnit( GetEnumUnit() )
endfunction
function Trig_Ass_Vibrators_Func015002 takes nothing returns nothing
call KillUnit( GetEnumUnit() )
endfunction
function Trig_Ass_Vibrators_Func018002 takes nothing returns nothing
call KillUnit( GetEnumUnit() )
endfunction
function Trig_Ass_Vibrators_Func020002 takes nothing returns nothing
call KillUnit( GetEnumUnit() )
endfunction
function Trig_Ass_Vibrators_Func023002 takes nothing returns nothing
call KillUnit( GetEnumUnit() )
endfunction
function Trig_Ass_Vibrators_Func025002 takes nothing returns nothing
call KillUnit( GetEnumUnit() )
endfunction
function Trig_Ass_Vibrators_Func028002 takes nothing returns nothing
call KillUnit( GetEnumUnit() )
endfunction
function Trig_Ass_Vibrators_Func030002 takes nothing returns nothing
call KillUnit( GetEnumUnit() )
endfunction
function Trig_Ass_Vibrators_Func033002 takes nothing returns nothing
call KillUnit( GetEnumUnit() )
endfunction
function Trig_Ass_Vibrators_Func035002 takes nothing returns nothing
call KillUnit( GetEnumUnit() )
endfunction
function Trig_Ass_Vibrators_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call AddSpecialEffectLocBJ( GetRectCenter(gg_rct_Region_193), "Abilities\\Spells\\Undead\\Impale\\ImpaleHitTarget.mdl" )
call ForGroupBJ( GetUnitsInRectAll(gg_rct_Region_193), function Trig_Ass_Vibrators_Func003002 )
call AddSpecialEffectLocBJ( GetRectCenter(gg_rct_Region_276), "Abilities\\Spells\\Undead\\Impale\\ImpaleHitTarget.mdl" )
call ForGroupBJ( GetUnitsInRectAll(gg_rct_Region_276), function Trig_Ass_Vibrators_Func005002 )
call TriggerSleepAction( 0.00 )
call AddSpecialEffectLocBJ( GetRectCenter(gg_rct_Region_277), "Abilities\\Spells\\Undead\\Impale\\ImpaleHitTarget.mdl" )
call ForGroupBJ( GetUnitsInRectAll(gg_rct_Region_277), function Trig_Ass_Vibrators_Func008002 )
call AddSpecialEffectLocBJ( GetRectCenter(gg_rct_Region_278), "Abilities\\Spells\\Undead\\Impale\\ImpaleHitTarget.mdl" )
call ForGroupBJ( GetUnitsInRectAll(gg_rct_Region_278), function Trig_Ass_Vibrators_Func010002 )
call TriggerSleepAction( 0.00 )
call AddSpecialEffectLocBJ( GetRectCenter(gg_rct_Region_279), "Abilities\\Spells\\Undead\\Impale\\ImpaleHitTarget.mdl" )
call ForGroupBJ( GetUnitsInRectAll(gg_rct_Region_279), function Trig_Ass_Vibrators_Func013002 )
call AddSpecialEffectLocBJ( GetRectCenter(gg_rct_Region_280), "Abilities\\Spells\\Undead\\Impale\\ImpaleHitTarget.mdl" )
call ForGroupBJ( GetUnitsInRectAll(gg_rct_Region_280), function Trig_Ass_Vibrators_Func015002 )
call TriggerSleepAction( 0.00 )
call AddSpecialEffectLocBJ( GetRectCenter(gg_rct_Region_281), "Abilities\\Spells\\Undead\\Impale\\ImpaleHitTarget.mdl" )
call ForGroupBJ( GetUnitsInRectAll(gg_rct_Region_281), function Trig_Ass_Vibrators_Func018002 )
call AddSpecialEffectLocBJ( GetRectCenter(gg_rct_Region_282), "Abilities\\Spells\\Undead\\Impale\\ImpaleHitTarget.mdl" )
call ForGroupBJ( GetUnitsInRectAll(gg_rct_Region_282), function Trig_Ass_Vibrators_Func020002 )
call TriggerSleepAction( 0.00 )
call AddSpecialEffectLocBJ( GetRectCenter(gg_rct_Region_283), "Abilities\\Spells\\Undead\\Impale\\ImpaleHitTarget.mdl" )
call ForGroupBJ( GetUnitsInRectAll(gg_rct_Region_283), function Trig_Ass_Vibrators_Func023002 )
call AddSpecialEffectLocBJ( GetRectCenter(gg_rct_Region_284), "Abilities\\Spells\\Undead\\Impale\\ImpaleHitTarget.mdl" )
call ForGroupBJ( GetUnitsInRectAll(gg_rct_Region_284), function Trig_Ass_Vibrators_Func025002 )
call TriggerSleepAction( 0.00 )
call AddSpecialEffectLocBJ( GetRectCenter(gg_rct_Region_286), "Abilities\\Spells\\Undead\\Impale\\ImpaleHitTarget.mdl" )
call ForGroupBJ( GetUnitsInRectAll(gg_rct_Region_286), function Trig_Ass_Vibrators_Func028002 )
call AddSpecialEffectLocBJ( GetRectCenter(gg_rct_Region_285), "Abilities\\Spells\\Undead\\Impale\\ImpaleHitTarget.mdl" )
call ForGroupBJ( GetUnitsInRectAll(gg_rct_Region_285), function Trig_Ass_Vibrators_Func030002 )
call TriggerSleepAction( 0.00 )
call AddSpecialEffectLocBJ( GetRectCenter(gg_rct_Region_287), "Abilities\\Spells\\Undead\\Impale\\ImpaleHitTarget.mdl" )
call ForGroupBJ( GetUnitsInRectAll(gg_rct_Region_287), function Trig_Ass_Vibrators_Func033002 )
call AddSpecialEffectLocBJ( GetRectCenter(gg_rct_Region_288), "Abilities\\Spells\\Undead\\Impale\\ImpaleHitTarget.mdl" )
call ForGroupBJ( GetUnitsInRectAll(gg_rct_Region_288), function Trig_Ass_Vibrators_Func035002 )
call TriggerSleepAction( 15.00 )
call TriggerExecute( GetTriggeringTrigger() )
endfunction
//===========================================================================
function InitTrig_Ass_Vibrators takes nothing returns nothing
set gg_trg_Ass_Vibrators = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Ass_Vibrators, gg_rct_Region_192 )
call TriggerAddAction( gg_trg_Ass_Vibrators, function Trig_Ass_Vibrators_Actions )
endfunction
function Trig_Motar_Crap_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call IssuePointOrderLocBJ( gg_unit_h001_0062, "attackground", GetRectCenter(gg_rct_Region_289) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h001_0063, "attackground", GetRectCenter(gg_rct_Region_290) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h001_0064, "attackground", GetRectCenter(gg_rct_Region_291) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h001_0065, "attackground", GetRectCenter(gg_rct_Region_292) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h001_0066, "attackground", GetRectCenter(gg_rct_Region_293) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h001_0067, "attackground", GetRectCenter(gg_rct_Region_294) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h001_0068, "attackground", GetRectCenter(gg_rct_Region_295) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h001_0069, "attackground", GetRectCenter(gg_rct_Region_296) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h001_0070, "attackground", GetRectCenter(gg_rct_Region_297) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h001_0071, "attackground", GetRectCenter(gg_rct_Region_298) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h001_0072, "attackground", GetRectCenter(gg_rct_Region_299) )
call TriggerSleepAction( 0.00 )
call IssuePointOrderLocBJ( gg_unit_h001_0073, "attackground", GetRectCenter(gg_rct_Region_300) )
endfunction
//===========================================================================
function InitTrig_Motar_Crap takes nothing returns nothing
set gg_trg_Motar_Crap = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Motar_Crap, gg_rct_Region_192 )
call TriggerAddAction( gg_trg_Motar_Crap, function Trig_Motar_Crap_Actions )
endfunction
function Trig_Rock_Way_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call TerrainDeformationRippleBJ( 4, false, GetRectCenter(gg_rct_Region_177), 900.00, 900.00, 400.00, 0.50, 512 )
call TriggerSleepAction( 4.00 )
call TriggerExecute( GetTriggeringTrigger() )
endfunction
//===========================================================================
function InitTrig_Rock_Way takes nothing returns nothing
set gg_trg_Rock_Way = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Rock_Way, gg_rct_Region_192 )
call TriggerAddAction( gg_trg_Rock_Way, function Trig_Rock_Way_Actions )
endfunction
function Trig_Motars_N_Spandex_Crap_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call IssuePointOrderLocBJ( gg_unit_h002_0074, "patrol", GetRectCenter(gg_rct_Region_301) )
call IssuePointOrderLocBJ( gg_unit_h002_0075, "patrol", GetRectCenter(gg_rct_Region_302) )
call IssuePointOrderLocBJ( gg_unit_h002_0076, "patrol", GetRectCenter(gg_rct_Region_303) )
call IssuePointOrderLocBJ( gg_unit_h002_0077, "patrol", GetRectCenter(gg_rct_Region_304) )
call IssuePointOrderLocBJ( gg_unit_h002_0078, "patrol", GetRectCenter(gg_rct_Region_305) )
call IssuePointOrderLocBJ( gg_unit_h002_0079, "patrol", GetRectCenter(gg_rct_Region_306) )
call IssuePointOrderLocBJ( gg_unit_h001_0080, "attackground", GetRectCenter(gg_rct_Region_309) )
call IssuePointOrderLocBJ( gg_unit_h001_0081, "attackground", GetRectCenter(gg_rct_Region_310) )
call IssuePointOrderLocBJ( gg_unit_h001_0082, "attackground", GetRectCenter(gg_rct_Region_308) )
call IssuePointOrderLocBJ( gg_unit_h001_0083, "attackground", GetRectCenter(gg_rct_Region_307) )
endfunction
//===========================================================================
function InitTrig_Motars_N_Spandex_Crap takes nothing returns nothing
set gg_trg_Motars_N_Spandex_Crap = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Motars_N_Spandex_Crap, gg_rct_Region_192 )
call TriggerAddAction( gg_trg_Motars_N_Spandex_Crap, function Trig_Motars_N_Spandex_Crap_Actions )
endfunction
function Trig_Dildo_Men_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call IssuePointOrderLocBJ( gg_unit_h001_0085, "attackground", GetRectCenter(gg_rct_Region_317) )
call IssuePointOrderLocBJ( gg_unit_h001_0084, "attackground", GetRectCenter(gg_rct_Region_313) )
call IssuePointOrderLocBJ( gg_unit_h001_0086, "attackground", GetRectCenter(gg_rct_Region_318) )
call IssuePointOrderLocBJ( gg_unit_h001_0087, "attackground", GetRectCenter(gg_rct_Region_319) )
call IssuePointOrderLocBJ( gg_unit_h001_0088, "attackground", GetRectCenter(gg_rct_Region_316) )
call IssuePointOrderLocBJ( gg_unit_h001_0089, "attackground", GetRectCenter(gg_rct_Region_315) )
endfunction
//===========================================================================
function InitTrig_Dildo_Men takes nothing returns nothing
set gg_trg_Dildo_Men = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Dildo_Men, gg_rct_Region_192 )
call TriggerAddAction( gg_trg_Dildo_Men, function Trig_Dildo_Men_Actions )
endfunction
function Trig_Vibrato_Man_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call CreateNUnitsAtLoc( 1, 'h004', Player(7), GetRectCenter(gg_rct_Region_311), 0.00 )
call TriggerSleepAction( 10.00 )
call TriggerExecute( GetTriggeringTrigger() )
endfunction
//===========================================================================
function InitTrig_Vibrato_Man takes nothing returns nothing
set gg_trg_Vibrato_Man = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Vibrato_Man, gg_rct_Region_192 )
call TriggerAddAction( gg_trg_Vibrato_Man, function Trig_Vibrato_Man_Actions )
endfunction
function Trig_GO_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h004' ) ) then
return false
endif
return true
endfunction
function Trig_GO_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_312) )
endfunction
//===========================================================================
function InitTrig_GO takes nothing returns nothing
set gg_trg_GO = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_GO, gg_rct_Region_311 )
call TriggerAddCondition( gg_trg_GO, Condition( function Trig_GO_Conditions ) )
call TriggerAddAction( gg_trg_GO, function Trig_GO_Actions )
endfunction
function Trig_GO_Copy_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h004' ) ) then
return false
endif
return true
endfunction
function Trig_GO_Copy_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_313) )
endfunction
//===========================================================================
function InitTrig_GO_Copy takes nothing returns nothing
set gg_trg_GO_Copy = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_GO_Copy, gg_rct_Region_312 )
call TriggerAddCondition( gg_trg_GO_Copy, Condition( function Trig_GO_Copy_Conditions ) )
call TriggerAddAction( gg_trg_GO_Copy, function Trig_GO_Copy_Actions )
endfunction
function Trig_GO_Copy_2_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h004' ) ) then
return false
endif
return true
endfunction
function Trig_GO_Copy_2_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_314) )
endfunction
//===========================================================================
function InitTrig_GO_Copy_2 takes nothing returns nothing
set gg_trg_GO_Copy_2 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_GO_Copy_2, gg_rct_Region_313 )
call TriggerAddCondition( gg_trg_GO_Copy_2, Condition( function Trig_GO_Copy_2_Conditions ) )
call TriggerAddAction( gg_trg_GO_Copy_2, function Trig_GO_Copy_2_Actions )
endfunction
function Trig_GO_Copy_3_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h004' ) ) then
return false
endif
return true
endfunction
function Trig_GO_Copy_3_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_315) )
endfunction
//===========================================================================
function InitTrig_GO_Copy_3 takes nothing returns nothing
set gg_trg_GO_Copy_3 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_GO_Copy_3, gg_rct_Region_314 )
call TriggerAddCondition( gg_trg_GO_Copy_3, Condition( function Trig_GO_Copy_3_Conditions ) )
call TriggerAddAction( gg_trg_GO_Copy_3, function Trig_GO_Copy_3_Actions )
endfunction
function Trig_GO_Copy_4_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h004' ) ) then
return false
endif
return true
endfunction
function Trig_GO_Copy_4_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_189) )
endfunction
//===========================================================================
function InitTrig_GO_Copy_4 takes nothing returns nothing
set gg_trg_GO_Copy_4 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_GO_Copy_4, gg_rct_Region_315 )
call TriggerAddCondition( gg_trg_GO_Copy_4, Condition( function Trig_GO_Copy_4_Conditions ) )
call TriggerAddAction( gg_trg_GO_Copy_4, function Trig_GO_Copy_4_Actions )
endfunction
function Trig_GO_Copy_4_Copy_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h004' ) ) then
return false
endif
return true
endfunction
function Trig_GO_Copy_4_Copy_Actions takes nothing returns nothing
call RemoveUnit( GetTriggerUnit() )
endfunction
//===========================================================================
function InitTrig_GO_Copy_4_Copy takes nothing returns nothing
set gg_trg_GO_Copy_4_Copy = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_GO_Copy_4_Copy, gg_rct_Region_189 )
call TriggerAddCondition( gg_trg_GO_Copy_4_Copy, Condition( function Trig_GO_Copy_4_Copy_Conditions ) )
call TriggerAddAction( gg_trg_GO_Copy_4_Copy, function Trig_GO_Copy_4_Copy_Actions )
endfunction
function Trig_Vision_1_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'E000' ) ) then
return false
endif
return true
endfunction
function Trig_Vision_1_Copy_Copy_Copy_Actions takes nothing returns nothing
call FogModifierStop( GetLastCreatedFogModifier() )
call DisableTrigger( GetTriggeringTrigger() )
call CreateFogModifierRectBJ( true, Player(0), FOG_OF_WAR_VISIBLE, gg_rct_Region_333 )
call CreateFogModifierRectBJ( true, Player(1), FOG_OF_WAR_VISIBLE, gg_rct_Region_333 )
call CreateFogModifierRectBJ( true, Player(2), FOG_OF_WAR_VISIBLE, gg_rct_Region_333 )
call CreateFogModifierRectBJ( true, Player(3), FOG_OF_WAR_VISIBLE, gg_rct_Region_333 )
call CreateFogModifierRectBJ( true, Player(4), FOG_OF_WAR_VISIBLE, gg_rct_Region_333 )
call CreateFogModifierRectBJ( true, Player(5), FOG_OF_WAR_VISIBLE, gg_rct_Region_333 )
call CreateFogModifierRectBJ( true, Player(6), FOG_OF_WAR_VISIBLE, gg_rct_Region_333 )
call CreateFogModifierRectBJ( true, Player(8), FOG_OF_WAR_VISIBLE, gg_rct_Region_333 )
call CreateFogModifierRectBJ( true, Player(9), FOG_OF_WAR_VISIBLE, gg_rct_Region_333 )
call CreateFogModifierRectBJ( true, Player(10), FOG_OF_WAR_VISIBLE, gg_rct_Region_333 )
call CreateFogModifierRectBJ( true, Player(11), FOG_OF_WAR_VISIBLE, gg_rct_Region_333 )
endfunction
//===========================================================================
function InitTrig_Vision_1_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Vision_1_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Vision_1_Copy_Copy_Copy, gg_rct_Region_189 )
call TriggerAddCondition( gg_trg_Vision_1_Copy_Copy_Copy, Condition( function Trig_Vision_1_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Vision_1_Copy_Copy_Copy, function Trig_Vision_1_Copy_Copy_Copy_Actions )
endfunction
function Trig_Level_4_and_5_Path_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'E000' ) ) then
return false
endif
return true
endfunction
function Trig_Level_4_and_5_Path_Actions takes nothing returns nothing
call KillUnit( GetTriggerUnit() )
call DisplayTextToForce( GetPlayersAll(), "TRIGSTR_041" )
call PlaySoundBJ( gg_snd_NiceOneDudue )
endfunction
//===========================================================================
function InitTrig_Level_4_and_5_Path takes nothing returns nothing
set gg_trg_Level_4_and_5_Path = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_194 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_195 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_196 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_197 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_198 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_199 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_200 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_201 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_202 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_203 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_204 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_205 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_206 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_207 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_208 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_209 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_210 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_211 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_212 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_213 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_214 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_215 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_216 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_217 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_218 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_219 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_220 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_221 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_222 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_223 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_224 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_225 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_226 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_227 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_228 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_229 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_230 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_231 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_232 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_233 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_234 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_235 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_236 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_237 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_238 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_239 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_240 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_241 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_242 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_243 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_244 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_245 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_246 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_247 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_248 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_249 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_250 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_251 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_252 )
call TriggerRegisterEnterRectSimple( gg_trg_Level_4_and_5_Path, gg_rct_Region_253 )
call TriggerAddCondition( gg_trg_Level_4_and_5_Path, Condition( function Trig_Level_4_and_5_Path_Conditions ) )
call TriggerAddAction( gg_trg_Level_4_and_5_Path, function Trig_Level_4_and_5_Path_Actions )
endfunction
function Trig_Reborn_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'E000' ) ) then
return false
endif
return true
endfunction
function Trig_Reborn_Copy_Copy_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
set udg_Current_Reborn = gg_rct_Region_190
call ClearSelection( )
call ClearSelection( )
call ClearSelection( )
call KillUnit( gg_unit_E000_0051 )
call KillUnit( gg_unit_E000_0052 )
call KillUnit( gg_unit_E000_0053 )
call KillUnit( gg_unit_E000_0054 )
call KillUnit( gg_unit_E000_0055 )
call KillUnit( gg_unit_E000_0056 )
call KillUnit( gg_unit_E000_0057 )
call KillUnit( gg_unit_E000_0058 )
call KillUnit( gg_unit_E000_0059 )
call KillUnit( gg_unit_E000_0060 )
call KillUnit( gg_unit_E000_0061 )
call PanCameraToTimedLocForPlayer( Player(0), GetRectCenter(gg_rct_Region_190), 0.00 )
call PanCameraToTimedLocForPlayer( Player(1), GetRectCenter(gg_rct_Region_190), 0.00 )
call PanCameraToTimedLocForPlayer( Player(2), GetRectCenter(gg_rct_Region_190), 0.00 )
call PanCameraToTimedLocForPlayer( Player(3), GetRectCenter(gg_rct_Region_190), 0.00 )
call PanCameraToTimedLocForPlayer( Player(4), GetRectCenter(gg_rct_Region_190), 0.00 )
call PanCameraToTimedLocForPlayer( Player(5), GetRectCenter(gg_rct_Region_190), 0.00 )
call PanCameraToTimedLocForPlayer( Player(6), GetRectCenter(gg_rct_Region_190), 0.00 )
call PanCameraToTimedLocForPlayer( Player(8), GetRectCenter(gg_rct_Region_190), 0.00 )
call PanCameraToTimedLocForPlayer( Player(9), GetRectCenter(gg_rct_Region_190), 0.00 )
call PanCameraToTimedLocForPlayer( Player(10), GetRectCenter(gg_rct_Region_190), 0.00 )
call PanCameraToTimedLocForPlayer( Player(11), GetRectCenter(gg_rct_Region_190), 0.00 )
call ReviveHeroLoc( gg_unit_E000_0051, GetRandomLocInRect(gg_rct_Region_190), true )
call ReviveHeroLoc( gg_unit_E000_0052, GetRandomLocInRect(gg_rct_Region_190), true )
call ReviveHeroLoc( gg_unit_E000_0053, GetRandomLocInRect(gg_rct_Region_190), true )
call ReviveHeroLoc( gg_unit_E000_0054, GetRandomLocInRect(gg_rct_Region_190), true )
call ReviveHeroLoc( gg_unit_E000_0055, GetRandomLocInRect(gg_rct_Region_190), true )
call ReviveHeroLoc( gg_unit_E000_0056, GetRandomLocInRect(gg_rct_Region_190), true )
call ReviveHeroLoc( gg_unit_E000_0057, GetRandomLocInRect(gg_rct_Region_190), true )
call ReviveHeroLoc( gg_unit_E000_0058, GetRandomLocInRect(gg_rct_Region_190), true )
call ReviveHeroLoc( gg_unit_E000_0059, GetRandomLocInRect(gg_rct_Region_190), true )
call ReviveHeroLoc( gg_unit_E000_0060, GetRandomLocInRect(gg_rct_Region_190), true )
call ReviveHeroLoc( gg_unit_E000_0061, GetRandomLocInRect(gg_rct_Region_190), true )
endfunction
//===========================================================================
function InitTrig_Reborn_Copy_Copy takes nothing returns nothing
set gg_trg_Reborn_Copy_Copy = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Reborn_Copy_Copy, gg_rct_Region_189 )
call TriggerAddCondition( gg_trg_Reborn_Copy_Copy, Condition( function Trig_Reborn_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Reborn_Copy_Copy, function Trig_Reborn_Copy_Copy_Actions )
endfunction
function Trig_Tank_thing_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'E000' ) ) then
return false
endif
return true
endfunction
function Trig_Tank_thing_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_346), 270.00 )
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_345), 270.00 )
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_344), 270.00 )
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_343), 270.00 )
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_342), 270.00 )
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_341), 270.00 )
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_340), 270.00 )
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_339), 270.00 )
call TriggerSleepAction( 5.00 )
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_347), 270.00 )
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_336), 270.00 )
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_337), 270.00 )
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_338), 270.00 )
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_339), 270.00 )
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_340), 270.00 )
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_341), 270.00 )
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_342), 270.00 )
call TriggerSleepAction( 5.00 )
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_346), 270.00 )
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_345), 270.00 )
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_344), 270.00 )
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_343), 270.00 )
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_338), 270.00 )
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_337), 270.00 )
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_336), 270.00 )
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_347), 270.00 )
call TriggerSleepAction( 5.00 )
call TriggerExecute( GetTriggeringTrigger() )
endfunction
//===========================================================================
function InitTrig_Tank_thing takes nothing returns nothing
set gg_trg_Tank_thing = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Tank_thing, gg_rct_Region_189 )
call TriggerAddCondition( gg_trg_Tank_thing, Condition( function Trig_Tank_thing_Conditions ) )
call TriggerAddAction( gg_trg_Tank_thing, function Trig_Tank_thing_Actions )
endfunction
function Trig_Move_Tanks_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h005' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Tanks_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_348) )
endfunction
//===========================================================================
function InitTrig_Move_Tanks takes nothing returns nothing
set gg_trg_Move_Tanks = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Tanks, gg_rct_Region_347 )
call TriggerAddCondition( gg_trg_Move_Tanks, Condition( function Trig_Move_Tanks_Conditions ) )
call TriggerAddAction( gg_trg_Move_Tanks, function Trig_Move_Tanks_Actions )
endfunction
function Trig_Move_Tanks_Copy_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h005' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Tanks_Copy_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_349) )
endfunction
//===========================================================================
function InitTrig_Move_Tanks_Copy takes nothing returns nothing
set gg_trg_Move_Tanks_Copy = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Tanks_Copy, gg_rct_Region_336 )
call TriggerAddCondition( gg_trg_Move_Tanks_Copy, Condition( function Trig_Move_Tanks_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Move_Tanks_Copy, function Trig_Move_Tanks_Copy_Actions )
endfunction
function Trig_Move_Tanks_Copy_2_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h005' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Tanks_Copy_2_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_350) )
endfunction
//===========================================================================
function InitTrig_Move_Tanks_Copy_2 takes nothing returns nothing
set gg_trg_Move_Tanks_Copy_2 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Tanks_Copy_2, gg_rct_Region_337 )
call TriggerAddCondition( gg_trg_Move_Tanks_Copy_2, Condition( function Trig_Move_Tanks_Copy_2_Conditions ) )
call TriggerAddAction( gg_trg_Move_Tanks_Copy_2, function Trig_Move_Tanks_Copy_2_Actions )
endfunction
function Trig_Move_Tanks_Copy_3_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h005' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Tanks_Copy_3_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_351) )
endfunction
//===========================================================================
function InitTrig_Move_Tanks_Copy_3 takes nothing returns nothing
set gg_trg_Move_Tanks_Copy_3 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Tanks_Copy_3, gg_rct_Region_338 )
call TriggerAddCondition( gg_trg_Move_Tanks_Copy_3, Condition( function Trig_Move_Tanks_Copy_3_Conditions ) )
call TriggerAddAction( gg_trg_Move_Tanks_Copy_3, function Trig_Move_Tanks_Copy_3_Actions )
endfunction
function Trig_Move_Tanks_Copy_4_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h005' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Tanks_Copy_4_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_352) )
endfunction
//===========================================================================
function InitTrig_Move_Tanks_Copy_4 takes nothing returns nothing
set gg_trg_Move_Tanks_Copy_4 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Tanks_Copy_4, gg_rct_Region_339 )
call TriggerAddCondition( gg_trg_Move_Tanks_Copy_4, Condition( function Trig_Move_Tanks_Copy_4_Conditions ) )
call TriggerAddAction( gg_trg_Move_Tanks_Copy_4, function Trig_Move_Tanks_Copy_4_Actions )
endfunction
function Trig_Move_Tanks_Copy_5_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h005' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Tanks_Copy_5_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_353) )
endfunction
//===========================================================================
function InitTrig_Move_Tanks_Copy_5 takes nothing returns nothing
set gg_trg_Move_Tanks_Copy_5 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Tanks_Copy_5, gg_rct_Region_340 )
call TriggerAddCondition( gg_trg_Move_Tanks_Copy_5, Condition( function Trig_Move_Tanks_Copy_5_Conditions ) )
call TriggerAddAction( gg_trg_Move_Tanks_Copy_5, function Trig_Move_Tanks_Copy_5_Actions )
endfunction
function Trig_Move_Tanks_Copy_6_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h005' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Tanks_Copy_6_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_354) )
endfunction
//===========================================================================
function InitTrig_Move_Tanks_Copy_6 takes nothing returns nothing
set gg_trg_Move_Tanks_Copy_6 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Tanks_Copy_6, gg_rct_Region_341 )
call TriggerAddCondition( gg_trg_Move_Tanks_Copy_6, Condition( function Trig_Move_Tanks_Copy_6_Conditions ) )
call TriggerAddAction( gg_trg_Move_Tanks_Copy_6, function Trig_Move_Tanks_Copy_6_Actions )
endfunction
function Trig_Move_Tanks_Copy_7_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h005' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Tanks_Copy_7_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_355) )
endfunction
//===========================================================================
function InitTrig_Move_Tanks_Copy_7 takes nothing returns nothing
set gg_trg_Move_Tanks_Copy_7 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Tanks_Copy_7, gg_rct_Region_342 )
call TriggerAddCondition( gg_trg_Move_Tanks_Copy_7, Condition( function Trig_Move_Tanks_Copy_7_Conditions ) )
call TriggerAddAction( gg_trg_Move_Tanks_Copy_7, function Trig_Move_Tanks_Copy_7_Actions )
endfunction
function Trig_Move_Tanks_Copy_8_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h005' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Tanks_Copy_8_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_356) )
endfunction
//===========================================================================
function InitTrig_Move_Tanks_Copy_8 takes nothing returns nothing
set gg_trg_Move_Tanks_Copy_8 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Tanks_Copy_8, gg_rct_Region_343 )
call TriggerAddCondition( gg_trg_Move_Tanks_Copy_8, Condition( function Trig_Move_Tanks_Copy_8_Conditions ) )
call TriggerAddAction( gg_trg_Move_Tanks_Copy_8, function Trig_Move_Tanks_Copy_8_Actions )
endfunction
function Trig_Move_Tanks_Copy_9_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h005' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Tanks_Copy_9_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_357) )
endfunction
//===========================================================================
function InitTrig_Move_Tanks_Copy_9 takes nothing returns nothing
set gg_trg_Move_Tanks_Copy_9 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Tanks_Copy_9, gg_rct_Region_344 )
call TriggerAddCondition( gg_trg_Move_Tanks_Copy_9, Condition( function Trig_Move_Tanks_Copy_9_Conditions ) )
call TriggerAddAction( gg_trg_Move_Tanks_Copy_9, function Trig_Move_Tanks_Copy_9_Actions )
endfunction
function Trig_Move_Tanks_Copy_10_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h005' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Tanks_Copy_10_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_358) )
endfunction
//===========================================================================
function InitTrig_Move_Tanks_Copy_10 takes nothing returns nothing
set gg_trg_Move_Tanks_Copy_10 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Tanks_Copy_10, gg_rct_Region_345 )
call TriggerAddCondition( gg_trg_Move_Tanks_Copy_10, Condition( function Trig_Move_Tanks_Copy_10_Conditions ) )
call TriggerAddAction( gg_trg_Move_Tanks_Copy_10, function Trig_Move_Tanks_Copy_10_Actions )
endfunction
function Trig_Move_Tanks_Copy_11_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h005' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Tanks_Copy_11_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_359) )
endfunction
//===========================================================================
function InitTrig_Move_Tanks_Copy_11 takes nothing returns nothing
set gg_trg_Move_Tanks_Copy_11 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Tanks_Copy_11, gg_rct_Region_346 )
call TriggerAddCondition( gg_trg_Move_Tanks_Copy_11, Condition( function Trig_Move_Tanks_Copy_11_Conditions ) )
call TriggerAddAction( gg_trg_Move_Tanks_Copy_11, function Trig_Move_Tanks_Copy_11_Actions )
endfunction
function Trig_Die_Tanks_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h005' ) ) then
return false
endif
return true
endfunction
function Trig_Die_Tanks_Actions takes nothing returns nothing
call RemoveUnit( GetTriggerUnit() )
endfunction
//===========================================================================
function InitTrig_Die_Tanks takes nothing returns nothing
set gg_trg_Die_Tanks = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Die_Tanks, gg_rct_Region_359 )
call TriggerRegisterEnterRectSimple( gg_trg_Die_Tanks, gg_rct_Region_358 )
call TriggerRegisterEnterRectSimple( gg_trg_Die_Tanks, gg_rct_Region_357 )
call TriggerRegisterEnterRectSimple( gg_trg_Die_Tanks, gg_rct_Region_356 )
call TriggerRegisterEnterRectSimple( gg_trg_Die_Tanks, gg_rct_Region_355 )
call TriggerRegisterEnterRectSimple( gg_trg_Die_Tanks, gg_rct_Region_354 )
call TriggerRegisterEnterRectSimple( gg_trg_Die_Tanks, gg_rct_Region_353 )
call TriggerRegisterEnterRectSimple( gg_trg_Die_Tanks, gg_rct_Region_352 )
call TriggerRegisterEnterRectSimple( gg_trg_Die_Tanks, gg_rct_Region_351 )
call TriggerRegisterEnterRectSimple( gg_trg_Die_Tanks, gg_rct_Region_350 )
call TriggerRegisterEnterRectSimple( gg_trg_Die_Tanks, gg_rct_Region_349 )
call TriggerRegisterEnterRectSimple( gg_trg_Die_Tanks, gg_rct_Region_348 )
call TriggerAddCondition( gg_trg_Die_Tanks, Condition( function Trig_Die_Tanks_Conditions ) )
call TriggerAddAction( gg_trg_Die_Tanks, function Trig_Die_Tanks_Actions )
endfunction
function Trig_The_didlo_dudes_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'E000' ) ) then
return false
endif
return true
endfunction
function Trig_The_didlo_dudes_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call IssuePointOrderLocBJ( gg_unit_h001_0090, "attackground", GetRectCenter(gg_rct_Region_360) )
call IssuePointOrderLocBJ( gg_unit_h001_0091, "attackground", GetRectCenter(gg_rct_Region_361) )
call IssuePointOrderLocBJ( gg_unit_h001_0092, "attackground", GetRectCenter(gg_rct_Region_362) )
call IssuePointOrderLocBJ( gg_unit_h001_0093, "attackground", GetRectCenter(gg_rct_Region_363) )
call IssuePointOrderLocBJ( gg_unit_h001_0094, "attackground", GetRectCenter(gg_rct_Region_364) )
call IssuePointOrderLocBJ( gg_unit_h001_0095, "attackground", GetRectCenter(gg_rct_Region_365) )
call IssuePointOrderLocBJ( gg_unit_h001_0096, "attackground", GetRectCenter(gg_rct_Region_366) )
call IssuePointOrderLocBJ( gg_unit_h001_0097, "attackground", GetRectCenter(gg_rct_Region_367) )
endfunction
//===========================================================================
function InitTrig_The_didlo_dudes takes nothing returns nothing
set gg_trg_The_didlo_dudes = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_The_didlo_dudes, gg_rct_Region_189 )
call TriggerAddCondition( gg_trg_The_didlo_dudes, Condition( function Trig_The_didlo_dudes_Conditions ) )
call TriggerAddAction( gg_trg_The_didlo_dudes, function Trig_The_didlo_dudes_Actions )
endfunction
function Trig_Cock_Craver_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'E000' ) ) then
return false
endif
return true
endfunction
function Trig_Cock_Craver_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call IssuePointOrderLocBJ( gg_unit_h006_0098, "attackground", GetRandomLocInRect(gg_rct_Region_368) )
call TriggerSleepAction( 1.00 )
call TriggerExecute( GetTriggeringTrigger() )
endfunction
//===========================================================================
function InitTrig_Cock_Craver takes nothing returns nothing
set gg_trg_Cock_Craver = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Cock_Craver, gg_rct_Region_189 )
call TriggerAddCondition( gg_trg_Cock_Craver, Condition( function Trig_Cock_Craver_Conditions ) )
call TriggerAddAction( gg_trg_Cock_Craver, function Trig_Cock_Craver_Actions )
endfunction
function Trig_RUN_VIBRATORS_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'h004', Player(7), GetRectCenter(gg_rct_Region_370), 90.00 )
call TriggerSleepAction( 10.00 )
call TriggerExecute( GetTriggeringTrigger() )
endfunction
//===========================================================================
function InitTrig_RUN_VIBRATORS takes nothing returns nothing
set gg_trg_RUN_VIBRATORS = CreateTrigger( )
call TriggerAddAction( gg_trg_RUN_VIBRATORS, function Trig_RUN_VIBRATORS_Actions )
endfunction
function Trig_Move_Tanks_Copy_11_Copy_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h004' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Tanks_Copy_11_Copy_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_369) )
endfunction
//===========================================================================
function InitTrig_Move_Tanks_Copy_11_Copy takes nothing returns nothing
set gg_trg_Move_Tanks_Copy_11_Copy = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Tanks_Copy_11_Copy, gg_rct_Region_370 )
call TriggerAddCondition( gg_trg_Move_Tanks_Copy_11_Copy, Condition( function Trig_Move_Tanks_Copy_11_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Move_Tanks_Copy_11_Copy, function Trig_Move_Tanks_Copy_11_Copy_Actions )
endfunction
function Trig_Move_Tanks_Copy_11_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h004' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Tanks_Copy_11_Copy_Copy_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_371) )
endfunction
//===========================================================================
function InitTrig_Move_Tanks_Copy_11_Copy_Copy takes nothing returns nothing
set gg_trg_Move_Tanks_Copy_11_Copy_Copy = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Tanks_Copy_11_Copy_Copy, gg_rct_Region_369 )
call TriggerAddCondition( gg_trg_Move_Tanks_Copy_11_Copy_Copy, Condition( function Trig_Move_Tanks_Copy_11_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Move_Tanks_Copy_11_Copy_Copy, function Trig_Move_Tanks_Copy_11_Copy_Copy_Actions )
endfunction
function Trig_Move_Tanks_Copy_11_Copy_Copy_2_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h004' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Tanks_Copy_11_Copy_Copy_2_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_372) )
endfunction
//===========================================================================
function InitTrig_Move_Tanks_Copy_11_Copy_Copy_2 takes nothing returns nothing
set gg_trg_Move_Tanks_Copy_11_Copy_Copy_2 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Tanks_Copy_11_Copy_Copy_2, gg_rct_Region_371 )
call TriggerAddCondition( gg_trg_Move_Tanks_Copy_11_Copy_Copy_2, Condition( function Trig_Move_Tanks_Copy_11_Copy_Copy_2_Conditions ) )
call TriggerAddAction( gg_trg_Move_Tanks_Copy_11_Copy_Copy_2, function Trig_Move_Tanks_Copy_11_Copy_Copy_2_Actions )
endfunction
function Trig_Move_Tanks_Copy_11_Copy_Copy_3_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h004' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Tanks_Copy_11_Copy_Copy_3_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_373) )
endfunction
//===========================================================================
function InitTrig_Move_Tanks_Copy_11_Copy_Copy_3 takes nothing returns nothing
set gg_trg_Move_Tanks_Copy_11_Copy_Copy_3 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Tanks_Copy_11_Copy_Copy_3, gg_rct_Region_372 )
call TriggerAddCondition( gg_trg_Move_Tanks_Copy_11_Copy_Copy_3, Condition( function Trig_Move_Tanks_Copy_11_Copy_Copy_3_Conditions ) )
call TriggerAddAction( gg_trg_Move_Tanks_Copy_11_Copy_Copy_3, function Trig_Move_Tanks_Copy_11_Copy_Copy_3_Actions )
endfunction
function Trig_Move_Tanks_Copy_11_Copy_Copy_4_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h004' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Tanks_Copy_11_Copy_Copy_4_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_374) )
endfunction
//===========================================================================
function InitTrig_Move_Tanks_Copy_11_Copy_Copy_4 takes nothing returns nothing
set gg_trg_Move_Tanks_Copy_11_Copy_Copy_4 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Tanks_Copy_11_Copy_Copy_4, gg_rct_Region_373 )
call TriggerAddCondition( gg_trg_Move_Tanks_Copy_11_Copy_Copy_4, Condition( function Trig_Move_Tanks_Copy_11_Copy_Copy_4_Conditions ) )
call TriggerAddAction( gg_trg_Move_Tanks_Copy_11_Copy_Copy_4, function Trig_Move_Tanks_Copy_11_Copy_Copy_4_Actions )
endfunction
function Trig_Move_Tanks_Copy_11_Copy_Copy_5_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h004' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Tanks_Copy_11_Copy_Copy_5_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_375) )
endfunction
//===========================================================================
function InitTrig_Move_Tanks_Copy_11_Copy_Copy_5 takes nothing returns nothing
set gg_trg_Move_Tanks_Copy_11_Copy_Copy_5 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Tanks_Copy_11_Copy_Copy_5, gg_rct_Region_374 )
call TriggerAddCondition( gg_trg_Move_Tanks_Copy_11_Copy_Copy_5, Condition( function Trig_Move_Tanks_Copy_11_Copy_Copy_5_Conditions ) )
call TriggerAddAction( gg_trg_Move_Tanks_Copy_11_Copy_Copy_5, function Trig_Move_Tanks_Copy_11_Copy_Copy_5_Actions )
endfunction
function Trig_Move_Tanks_Copy_11_Copy_Copy_5_Copy_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h004' ) ) then
return false
endif
return true
endfunction
function Trig_Move_Tanks_Copy_11_Copy_Copy_5_Copy_Actions takes nothing returns nothing
call KillUnit( GetTriggerUnit() )
endfunction
//===========================================================================
function InitTrig_Move_Tanks_Copy_11_Copy_Copy_5_Copy takes nothing returns nothing
set gg_trg_Move_Tanks_Copy_11_Copy_Copy_5_Copy = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Move_Tanks_Copy_11_Copy_Copy_5_Copy, gg_rct_Region_375 )
call TriggerAddCondition( gg_trg_Move_Tanks_Copy_11_Copy_Copy_5_Copy, Condition( function Trig_Move_Tanks_Copy_11_Copy_Copy_5_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Move_Tanks_Copy_11_Copy_Copy_5_Copy, function Trig_Move_Tanks_Copy_11_Copy_Copy_5_Copy_Actions )
endfunction
function Trig_Vision_1_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call FogModifierStop( GetLastCreatedFogModifier() )
call DisableTrigger( GetTriggeringTrigger() )
call CreateFogModifierRectBJ( true, Player(0), FOG_OF_WAR_VISIBLE, gg_rct_Region_334 )
call CreateFogModifierRectBJ( true, Player(1), FOG_OF_WAR_VISIBLE, gg_rct_Region_334 )
call CreateFogModifierRectBJ( true, Player(2), FOG_OF_WAR_VISIBLE, gg_rct_Region_334 )
call CreateFogModifierRectBJ( true, Player(3), FOG_OF_WAR_VISIBLE, gg_rct_Region_334 )
call CreateFogModifierRectBJ( true, Player(4), FOG_OF_WAR_VISIBLE, gg_rct_Region_334 )
call CreateFogModifierRectBJ( true, Player(5), FOG_OF_WAR_VISIBLE, gg_rct_Region_334 )
call CreateFogModifierRectBJ( true, Player(6), FOG_OF_WAR_VISIBLE, gg_rct_Region_334 )
call CreateFogModifierRectBJ( true, Player(8), FOG_OF_WAR_VISIBLE, gg_rct_Region_334 )
call CreateFogModifierRectBJ( true, Player(9), FOG_OF_WAR_VISIBLE, gg_rct_Region_334 )
call CreateFogModifierRectBJ( true, Player(10), FOG_OF_WAR_VISIBLE, gg_rct_Region_334 )
call CreateFogModifierRectBJ( true, Player(11), FOG_OF_WAR_VISIBLE, gg_rct_Region_334 )
endfunction
//===========================================================================
function InitTrig_Vision_1_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Vision_1_Copy_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Vision_1_Copy_Copy_Copy_Copy, gg_rct_Region_275 )
call TriggerAddAction( gg_trg_Vision_1_Copy_Copy_Copy_Copy, function Trig_Vision_1_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Reborn_Copy_Copy_Copy_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
set udg_Current_Reborn = gg_rct_Region_274
call ClearSelection( )
call ClearSelection( )
call ClearSelection( )
call KillUnit( gg_unit_E000_0051 )
call KillUnit( gg_unit_E000_0052 )
call KillUnit( gg_unit_E000_0053 )
call KillUnit( gg_unit_E000_0054 )
call KillUnit( gg_unit_E000_0055 )
call KillUnit( gg_unit_E000_0056 )
call KillUnit( gg_unit_E000_0057 )
call KillUnit( gg_unit_E000_0058 )
call KillUnit( gg_unit_E000_0059 )
call KillUnit( gg_unit_E000_0060 )
call KillUnit( gg_unit_E000_0061 )
call PanCameraToTimedLocForPlayer( Player(0), GetRectCenter(gg_rct_Region_274), 0.00 )
call PanCameraToTimedLocForPlayer( Player(1), GetRectCenter(gg_rct_Region_274), 0.00 )
call PanCameraToTimedLocForPlayer( Player(2), GetRectCenter(gg_rct_Region_274), 0.00 )
call PanCameraToTimedLocForPlayer( Player(3), GetRectCenter(gg_rct_Region_274), 0.00 )
call PanCameraToTimedLocForPlayer( Player(4), GetRectCenter(gg_rct_Region_274), 0.00 )
call PanCameraToTimedLocForPlayer( Player(5), GetRectCenter(gg_rct_Region_274), 0.00 )
call PanCameraToTimedLocForPlayer( Player(6), GetRectCenter(gg_rct_Region_274), 0.00 )
call PanCameraToTimedLocForPlayer( Player(9), GetRectCenter(gg_rct_Region_274), 0.00 )
call PanCameraToTimedLocForPlayer( Player(8), GetRectCenter(gg_rct_Region_274), 0.00 )
call PanCameraToTimedLocForPlayer( Player(10), GetRectCenter(gg_rct_Region_274), 0.00 )
call PanCameraToTimedLocForPlayer( Player(11), GetRectCenter(gg_rct_Region_274), 0.00 )
call ReviveHeroLoc( gg_unit_E000_0051, GetRandomLocInRect(gg_rct_Region_274), true )
call ReviveHeroLoc( gg_unit_E000_0052, GetRandomLocInRect(gg_rct_Region_274), true )
call ReviveHeroLoc( gg_unit_E000_0053, GetRandomLocInRect(gg_rct_Region_274), true )
call ReviveHeroLoc( gg_unit_E000_0054, GetRandomLocInRect(gg_rct_Region_274), true )
call ReviveHeroLoc( gg_unit_E000_0055, GetRandomLocInRect(gg_rct_Region_274), true )
call ReviveHeroLoc( gg_unit_E000_0056, GetRandomLocInRect(gg_rct_Region_274), true )
call ReviveHeroLoc( gg_unit_E000_0057, GetRandomLocInRect(gg_rct_Region_274), true )
call ReviveHeroLoc( gg_unit_E000_0058, GetRandomLocInRect(gg_rct_Region_274), true )
call ReviveHeroLoc( gg_unit_E000_0059, GetRandomLocInRect(gg_rct_Region_274), true )
call ReviveHeroLoc( gg_unit_E000_0060, GetRandomLocInRect(gg_rct_Region_274), true )
call ReviveHeroLoc( gg_unit_E000_0061, GetRandomLocInRect(gg_rct_Region_274), true )
endfunction
//===========================================================================
function InitTrig_Reborn_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Reborn_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Reborn_Copy_Copy_Copy, gg_rct_Region_274 )
call TriggerAddAction( gg_trg_Reborn_Copy_Copy_Copy, function Trig_Reborn_Copy_Copy_Copy_Actions )
endfunction
function Trig_Gay_Bette_care_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_255), 270.00 )
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_254), 270.00 )
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_320), 270.00 )
call TriggerSleepAction( 4.00 )
call TriggerExecute( GetTriggeringTrigger() )
endfunction
//===========================================================================
function InitTrig_Gay_Bette_care takes nothing returns nothing
set gg_trg_Gay_Bette_care = CreateTrigger( )
call TriggerAddAction( gg_trg_Gay_Bette_care, function Trig_Gay_Bette_care_Actions )
endfunction
function Trig_Touch_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h005' ) ) then
return false
endif
return true
endfunction
function Trig_Touch_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_256) )
endfunction
//===========================================================================
function InitTrig_Touch takes nothing returns nothing
set gg_trg_Touch = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Touch, gg_rct_Region_255 )
call TriggerAddCondition( gg_trg_Touch, Condition( function Trig_Touch_Conditions ) )
call TriggerAddAction( gg_trg_Touch, function Trig_Touch_Actions )
endfunction
function Trig_Touch_Copy_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h005' ) ) then
return false
endif
return true
endfunction
function Trig_Touch_Copy_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_257) )
endfunction
//===========================================================================
function InitTrig_Touch_Copy takes nothing returns nothing
set gg_trg_Touch_Copy = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Touch_Copy, gg_rct_Region_254 )
call TriggerAddCondition( gg_trg_Touch_Copy, Condition( function Trig_Touch_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Touch_Copy, function Trig_Touch_Copy_Actions )
endfunction
function Trig_Touch_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h005' ) ) then
return false
endif
return true
endfunction
function Trig_Touch_Copy_Copy_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_321) )
endfunction
//===========================================================================
function InitTrig_Touch_Copy_Copy takes nothing returns nothing
set gg_trg_Touch_Copy_Copy = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Touch_Copy_Copy, gg_rct_Region_320 )
call TriggerAddCondition( gg_trg_Touch_Copy_Copy, Condition( function Trig_Touch_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Touch_Copy_Copy, function Trig_Touch_Copy_Copy_Actions )
endfunction
function Trig_DIE_BEETLE_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h005' ) ) then
return false
endif
return true
endfunction
function Trig_DIE_BEETLE_Actions takes nothing returns nothing
call RemoveUnit( GetTriggerUnit() )
endfunction
//===========================================================================
function InitTrig_DIE_BEETLE takes nothing returns nothing
set gg_trg_DIE_BEETLE = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_DIE_BEETLE, gg_rct_Region_256 )
call TriggerRegisterEnterRectSimple( gg_trg_DIE_BEETLE, gg_rct_Region_257 )
call TriggerRegisterEnterRectSimple( gg_trg_DIE_BEETLE, gg_rct_Region_321 )
call TriggerAddCondition( gg_trg_DIE_BEETLE, Condition( function Trig_DIE_BEETLE_Conditions ) )
call TriggerAddAction( gg_trg_DIE_BEETLE, function Trig_DIE_BEETLE_Actions )
endfunction
function Trig_Gay_Bette_care_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_258), 270.00 )
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_323), 270.00 )
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_259), 270.00 )
call TriggerSleepAction( 3.00 )
call TriggerExecute( GetTriggeringTrigger() )
endfunction
//===========================================================================
function InitTrig_Gay_Bette_care_Copy takes nothing returns nothing
set gg_trg_Gay_Bette_care_Copy = CreateTrigger( )
call TriggerAddAction( gg_trg_Gay_Bette_care_Copy, function Trig_Gay_Bette_care_Copy_Actions )
endfunction
function Trig_Touch_Copy_2_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h005' ) ) then
return false
endif
return true
endfunction
function Trig_Touch_Copy_2_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_260) )
endfunction
//===========================================================================
function InitTrig_Touch_Copy_2 takes nothing returns nothing
set gg_trg_Touch_Copy_2 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Touch_Copy_2, gg_rct_Region_258 )
call TriggerAddCondition( gg_trg_Touch_Copy_2, Condition( function Trig_Touch_Copy_2_Conditions ) )
call TriggerAddAction( gg_trg_Touch_Copy_2, function Trig_Touch_Copy_2_Actions )
endfunction
function Trig_Touch_Copy_3_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h005' ) ) then
return false
endif
return true
endfunction
function Trig_Touch_Copy_3_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_322) )
endfunction
//===========================================================================
function InitTrig_Touch_Copy_3 takes nothing returns nothing
set gg_trg_Touch_Copy_3 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Touch_Copy_3, gg_rct_Region_323 )
call TriggerAddCondition( gg_trg_Touch_Copy_3, Condition( function Trig_Touch_Copy_3_Conditions ) )
call TriggerAddAction( gg_trg_Touch_Copy_3, function Trig_Touch_Copy_3_Actions )
endfunction
function Trig_Touch_Copy_4_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h005' ) ) then
return false
endif
return true
endfunction
function Trig_Touch_Copy_4_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_261) )
endfunction
//===========================================================================
function InitTrig_Touch_Copy_4 takes nothing returns nothing
set gg_trg_Touch_Copy_4 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Touch_Copy_4, gg_rct_Region_259 )
call TriggerAddCondition( gg_trg_Touch_Copy_4, Condition( function Trig_Touch_Copy_4_Conditions ) )
call TriggerAddAction( gg_trg_Touch_Copy_4, function Trig_Touch_Copy_4_Actions )
endfunction
function Trig_DIE_BEETLE_Copy_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h005' ) ) then
return false
endif
return true
endfunction
function Trig_DIE_BEETLE_Copy_Actions takes nothing returns nothing
call RemoveUnit( GetTriggerUnit() )
endfunction
//===========================================================================
function InitTrig_DIE_BEETLE_Copy takes nothing returns nothing
set gg_trg_DIE_BEETLE_Copy = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_DIE_BEETLE_Copy, gg_rct_Region_260 )
call TriggerRegisterEnterRectSimple( gg_trg_DIE_BEETLE_Copy, gg_rct_Region_322 )
call TriggerRegisterEnterRectSimple( gg_trg_DIE_BEETLE_Copy, gg_rct_Region_261 )
call TriggerAddCondition( gg_trg_DIE_BEETLE_Copy, Condition( function Trig_DIE_BEETLE_Copy_Conditions ) )
call TriggerAddAction( gg_trg_DIE_BEETLE_Copy, function Trig_DIE_BEETLE_Copy_Actions )
endfunction
function Trig_Gay_Bette_care_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_262), 270.00 )
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_324), 270.00 )
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_263), 270.00 )
call TriggerSleepAction( 2.00 )
call TriggerExecute( GetTriggeringTrigger() )
endfunction
//===========================================================================
function InitTrig_Gay_Bette_care_Copy_Copy takes nothing returns nothing
set gg_trg_Gay_Bette_care_Copy_Copy = CreateTrigger( )
call TriggerAddAction( gg_trg_Gay_Bette_care_Copy_Copy, function Trig_Gay_Bette_care_Copy_Copy_Actions )
endfunction
function Trig_Touch_Copy_2_Copy_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h005' ) ) then
return false
endif
return true
endfunction
function Trig_Touch_Copy_2_Copy_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_264) )
endfunction
//===========================================================================
function InitTrig_Touch_Copy_2_Copy takes nothing returns nothing
set gg_trg_Touch_Copy_2_Copy = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Touch_Copy_2_Copy, gg_rct_Region_262 )
call TriggerAddCondition( gg_trg_Touch_Copy_2_Copy, Condition( function Trig_Touch_Copy_2_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Touch_Copy_2_Copy, function Trig_Touch_Copy_2_Copy_Actions )
endfunction
function Trig_Touch_Copy_2_Copy_2_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h005' ) ) then
return false
endif
return true
endfunction
function Trig_Touch_Copy_2_Copy_2_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_325) )
endfunction
//===========================================================================
function InitTrig_Touch_Copy_2_Copy_2 takes nothing returns nothing
set gg_trg_Touch_Copy_2_Copy_2 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Touch_Copy_2_Copy_2, gg_rct_Region_324 )
call TriggerAddCondition( gg_trg_Touch_Copy_2_Copy_2, Condition( function Trig_Touch_Copy_2_Copy_2_Conditions ) )
call TriggerAddAction( gg_trg_Touch_Copy_2_Copy_2, function Trig_Touch_Copy_2_Copy_2_Actions )
endfunction
function Trig_Touch_Copy_2_Copy_3_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h005' ) ) then
return false
endif
return true
endfunction
function Trig_Touch_Copy_2_Copy_3_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_265) )
endfunction
//===========================================================================
function InitTrig_Touch_Copy_2_Copy_3 takes nothing returns nothing
set gg_trg_Touch_Copy_2_Copy_3 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Touch_Copy_2_Copy_3, gg_rct_Region_263 )
call TriggerAddCondition( gg_trg_Touch_Copy_2_Copy_3, Condition( function Trig_Touch_Copy_2_Copy_3_Conditions ) )
call TriggerAddAction( gg_trg_Touch_Copy_2_Copy_3, function Trig_Touch_Copy_2_Copy_3_Actions )
endfunction
function Trig_DIE_BEETLE_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h005' ) ) then
return false
endif
return true
endfunction
function Trig_DIE_BEETLE_Copy_Copy_Actions takes nothing returns nothing
call RemoveUnit( GetTriggerUnit() )
endfunction
//===========================================================================
function InitTrig_DIE_BEETLE_Copy_Copy takes nothing returns nothing
set gg_trg_DIE_BEETLE_Copy_Copy = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_DIE_BEETLE_Copy_Copy, gg_rct_Region_264 )
call TriggerRegisterEnterRectSimple( gg_trg_DIE_BEETLE_Copy_Copy, gg_rct_Region_325 )
call TriggerRegisterEnterRectSimple( gg_trg_DIE_BEETLE_Copy_Copy, gg_rct_Region_265 )
call TriggerAddCondition( gg_trg_DIE_BEETLE_Copy_Copy, Condition( function Trig_DIE_BEETLE_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_DIE_BEETLE_Copy_Copy, function Trig_DIE_BEETLE_Copy_Copy_Actions )
endfunction
function Trig_Gay_Bette_care_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_266), 270.00 )
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_326), 270.00 )
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_267), 270.00 )
call TriggerSleepAction( 1.80 )
call TriggerExecute( GetTriggeringTrigger() )
endfunction
//===========================================================================
function InitTrig_Gay_Bette_care_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Gay_Bette_care_Copy_Copy_Copy = CreateTrigger( )
call TriggerAddAction( gg_trg_Gay_Bette_care_Copy_Copy_Copy, function Trig_Gay_Bette_care_Copy_Copy_Copy_Actions )
endfunction
function Trig_Touch_Copy_2_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h005' ) ) then
return false
endif
return true
endfunction
function Trig_Touch_Copy_2_Copy_Copy_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_268) )
endfunction
//===========================================================================
function InitTrig_Touch_Copy_2_Copy_Copy takes nothing returns nothing
set gg_trg_Touch_Copy_2_Copy_Copy = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Touch_Copy_2_Copy_Copy, gg_rct_Region_266 )
call TriggerAddCondition( gg_trg_Touch_Copy_2_Copy_Copy, Condition( function Trig_Touch_Copy_2_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Touch_Copy_2_Copy_Copy, function Trig_Touch_Copy_2_Copy_Copy_Actions )
endfunction
function Trig_Touch_Copy_2_Copy_2_Copy_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h005' ) ) then
return false
endif
return true
endfunction
function Trig_Touch_Copy_2_Copy_2_Copy_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_327) )
endfunction
//===========================================================================
function InitTrig_Touch_Copy_2_Copy_2_Copy takes nothing returns nothing
set gg_trg_Touch_Copy_2_Copy_2_Copy = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Touch_Copy_2_Copy_2_Copy, gg_rct_Region_326 )
call TriggerAddCondition( gg_trg_Touch_Copy_2_Copy_2_Copy, Condition( function Trig_Touch_Copy_2_Copy_2_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Touch_Copy_2_Copy_2_Copy, function Trig_Touch_Copy_2_Copy_2_Copy_Actions )
endfunction
function Trig_Touch_Copy_2_Copy_3_Copy_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h005' ) ) then
return false
endif
return true
endfunction
function Trig_Touch_Copy_2_Copy_3_Copy_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_269) )
endfunction
//===========================================================================
function InitTrig_Touch_Copy_2_Copy_3_Copy takes nothing returns nothing
set gg_trg_Touch_Copy_2_Copy_3_Copy = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Touch_Copy_2_Copy_3_Copy, gg_rct_Region_267 )
call TriggerAddCondition( gg_trg_Touch_Copy_2_Copy_3_Copy, Condition( function Trig_Touch_Copy_2_Copy_3_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Touch_Copy_2_Copy_3_Copy, function Trig_Touch_Copy_2_Copy_3_Copy_Actions )
endfunction
function Trig_DIE_BEETLE_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h005' ) ) then
return false
endif
return true
endfunction
function Trig_DIE_BEETLE_Copy_Copy_Copy_Actions takes nothing returns nothing
call RemoveUnit( GetTriggerUnit() )
endfunction
//===========================================================================
function InitTrig_DIE_BEETLE_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_DIE_BEETLE_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_DIE_BEETLE_Copy_Copy_Copy, gg_rct_Region_268 )
call TriggerRegisterEnterRectSimple( gg_trg_DIE_BEETLE_Copy_Copy_Copy, gg_rct_Region_327 )
call TriggerRegisterEnterRectSimple( gg_trg_DIE_BEETLE_Copy_Copy_Copy, gg_rct_Region_269 )
call TriggerAddCondition( gg_trg_DIE_BEETLE_Copy_Copy_Copy, Condition( function Trig_DIE_BEETLE_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_DIE_BEETLE_Copy_Copy_Copy, function Trig_DIE_BEETLE_Copy_Copy_Copy_Actions )
endfunction
function Trig_Gay_Bette_care_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_270), 270.00 )
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_328), 270.00 )
call CreateNUnitsAtLoc( 1, 'h005', Player(7), GetRectCenter(gg_rct_Region_271), 270.00 )
call TriggerSleepAction( 3.00 )
call TriggerExecute( GetTriggeringTrigger() )
endfunction
//===========================================================================
function InitTrig_Gay_Bette_care_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Gay_Bette_care_Copy_Copy_Copy_Copy = CreateTrigger( )
call TriggerAddAction( gg_trg_Gay_Bette_care_Copy_Copy_Copy_Copy, function Trig_Gay_Bette_care_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Touch_Copy_2_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h005' ) ) then
return false
endif
return true
endfunction
function Trig_Touch_Copy_2_Copy_Copy_Copy_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_273) )
endfunction
//===========================================================================
function InitTrig_Touch_Copy_2_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Touch_Copy_2_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Touch_Copy_2_Copy_Copy_Copy, gg_rct_Region_270 )
call TriggerAddCondition( gg_trg_Touch_Copy_2_Copy_Copy_Copy, Condition( function Trig_Touch_Copy_2_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Touch_Copy_2_Copy_Copy_Copy, function Trig_Touch_Copy_2_Copy_Copy_Copy_Actions )
endfunction
function Trig_Touch_Copy_2_Copy_Copy_Copy_2_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h005' ) ) then
return false
endif
return true
endfunction
function Trig_Touch_Copy_2_Copy_Copy_Copy_2_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_329) )
endfunction
//===========================================================================
function InitTrig_Touch_Copy_2_Copy_Copy_Copy_2 takes nothing returns nothing
set gg_trg_Touch_Copy_2_Copy_Copy_Copy_2 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Touch_Copy_2_Copy_Copy_Copy_2, gg_rct_Region_328 )
call TriggerAddCondition( gg_trg_Touch_Copy_2_Copy_Copy_Copy_2, Condition( function Trig_Touch_Copy_2_Copy_Copy_Copy_2_Conditions ) )
call TriggerAddAction( gg_trg_Touch_Copy_2_Copy_Copy_Copy_2, function Trig_Touch_Copy_2_Copy_Copy_Copy_2_Actions )
endfunction
function Trig_Touch_Copy_2_Copy_Copy_Copy_3_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h005' ) ) then
return false
endif
return true
endfunction
function Trig_Touch_Copy_2_Copy_Copy_Copy_3_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_272) )
endfunction
//===========================================================================
function InitTrig_Touch_Copy_2_Copy_Copy_Copy_3 takes nothing returns nothing
set gg_trg_Touch_Copy_2_Copy_Copy_Copy_3 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Touch_Copy_2_Copy_Copy_Copy_3, gg_rct_Region_271 )
call TriggerAddCondition( gg_trg_Touch_Copy_2_Copy_Copy_Copy_3, Condition( function Trig_Touch_Copy_2_Copy_Copy_Copy_3_Conditions ) )
call TriggerAddAction( gg_trg_Touch_Copy_2_Copy_Copy_Copy_3, function Trig_Touch_Copy_2_Copy_Copy_Copy_3_Actions )
endfunction
function Trig_DIE_BEETLE_Copy_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h005' ) ) then
return false
endif
return true
endfunction
function Trig_DIE_BEETLE_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call RemoveUnit( GetTriggerUnit() )
endfunction
//===========================================================================
function InitTrig_DIE_BEETLE_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_DIE_BEETLE_Copy_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_DIE_BEETLE_Copy_Copy_Copy_Copy, gg_rct_Region_273 )
call TriggerRegisterEnterRectSimple( gg_trg_DIE_BEETLE_Copy_Copy_Copy_Copy, gg_rct_Region_329 )
call TriggerRegisterEnterRectSimple( gg_trg_DIE_BEETLE_Copy_Copy_Copy_Copy, gg_rct_Region_272 )
call TriggerAddCondition( gg_trg_DIE_BEETLE_Copy_Copy_Copy_Copy, Condition( function Trig_DIE_BEETLE_Copy_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_DIE_BEETLE_Copy_Copy_Copy_Copy, function Trig_DIE_BEETLE_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Motars_things_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call IssuePointOrderLocBJ( gg_unit_h001_0104, "attackground", GetRectCenter(gg_rct_Region_381) )
call IssuePointOrderLocBJ( gg_unit_h001_0105, "attackground", GetRectCenter(gg_rct_Region_382) )
call IssuePointOrderLocBJ( gg_unit_h001_0103, "attackground", GetRectCenter(gg_rct_Region_380) )
call IssuePointOrderLocBJ( gg_unit_h001_0107, "attackground", GetRectCenter(gg_rct_Region_378) )
call IssuePointOrderLocBJ( gg_unit_h001_0106, "attackground", GetRectCenter(gg_rct_Region_379) )
call IssuePointOrderLocBJ( gg_unit_h001_0108, "attackground", GetRectCenter(gg_rct_Region_383) )
call IssuePointOrderLocBJ( gg_unit_h001_0109, "attackground", GetRectCenter(gg_rct_Region_384) )
call IssuePointOrderLocBJ( gg_unit_h001_0110, "attackground", GetRectCenter(gg_rct_Region_385) )
call IssuePointOrderLocBJ( gg_unit_h001_0111, "attackground", GetRectCenter(gg_rct_Region_386) )
call IssuePointOrderLocBJ( gg_unit_h001_0112, "attackground", GetRectCenter(gg_rct_Region_387) )
endfunction
//===========================================================================
function InitTrig_Motars_things takes nothing returns nothing
set gg_trg_Motars_things = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Motars_things, gg_rct_Region_274 )
call TriggerAddAction( gg_trg_Motars_things, function Trig_Motars_things_Actions )
endfunction
function Trig_Ending_Cinematic_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'E000' ) ) then
return false
endif
return true
endfunction
function Trig_Ending_Cinematic_Actions takes nothing returns nothing
call KillUnit( gg_unit_E000_0051 )
call KillUnit( gg_unit_E000_0052 )
call KillUnit( gg_unit_E000_0053 )
call KillUnit( gg_unit_E000_0054 )
call KillUnit( gg_unit_E000_0055 )
call KillUnit( gg_unit_E000_0056 )
call KillUnit( gg_unit_E000_0057 )
call KillUnit( gg_unit_E000_0058 )
call KillUnit( gg_unit_E000_0059 )
call KillUnit( gg_unit_E000_0060 )
call KillUnit( gg_unit_E000_0061 )
call CinematicModeBJ( true, GetPlayersAll() )
call SetUserControlForceOff( GetPlayersAll() )
call CinematicFadeBJ( bj_CINEFADETYPE_FADEOUT, 1.00, "ReplaceableTextures\\CameraMasks\\Black_mask.blp", 0, 0, 0, 0 )
call TriggerSleepAction( 1.00 )
call ReviveHeroLoc( gg_unit_E000_0051, GetRandomLocInRect(gg_rct_Region_389), false )
call ReviveHeroLoc( gg_unit_E000_0052, GetRandomLocInRect(gg_rct_Region_389), false )
call ReviveHeroLoc( gg_unit_E000_0053, GetRandomLocInRect(gg_rct_Region_389), false )
call ReviveHeroLoc( gg_unit_E000_0054, GetRandomLocInRect(gg_rct_Region_389), false )
call ReviveHeroLoc( gg_unit_E000_0055, GetRandomLocInRect(gg_rct_Region_389), false )
call ReviveHeroLoc( gg_unit_E000_0056, GetRandomLocInRect(gg_rct_Region_389), false )
call ReviveHeroLoc( gg_unit_E000_0057, GetRandomLocInRect(gg_rct_Region_389), false )
call ReviveHeroLoc( gg_unit_E000_0058, GetRandomLocInRect(gg_rct_Region_389), false )
call ReviveHeroLoc( gg_unit_E000_0059, GetRandomLocInRect(gg_rct_Region_389), false )
call ReviveHeroLoc( gg_unit_E000_0060, GetRandomLocInRect(gg_rct_Region_389), false )
call ReviveHeroLoc( gg_unit_E000_0061, GetRandomLocInRect(gg_rct_Region_389), false )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_001, Player(0), 0 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_001, Player(1), 0 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_001, Player(2), 0 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_001, Player(3), 0 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_001, Player(4), 0 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_001, Player(5), 0 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_001, Player(6), 0 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_001, Player(11), 0 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_001, Player(8), 0 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_001, Player(9), 0 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_001, Player(10), 0 )
call TriggerSleepAction( 1.00 )
call CinematicFadeBJ( bj_CINEFADETYPE_FADEIN, 1.00, "ReplaceableTextures\\CameraMasks\\Black_mask.blp", 0, 0, 0, 0 )
call TriggerSleepAction( 1.00 )
call TransmissionFromUnitWithNameBJ( GetPlayersAll(), GroupPickRandomUnit(GetUnitsOfTypeIdAll('E000')), "TRIGSTR_063", null, "TRIGSTR_064", bj_TIMETYPE_ADD, 0, false )
call TriggerSleepAction( 2.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_002, Player(0), 2.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_002, Player(1), 2.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_002, Player(2), 2.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_002, Player(3), 2.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_002, Player(4), 2.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_002, Player(5), 2.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_002, Player(6), 2.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_002, Player(9), 2.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_002, Player(8), 2.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_002, Player(10), 2.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_002, Player(11), 2.00 )
call TransmissionFromUnitWithNameBJ( GetPlayersAll(), GroupPickRandomUnit(GetUnitsOfTypeIdAll('E000')), "TRIGSTR_065", null, "TRIGSTR_066", bj_TIMETYPE_ADD, 0, false )
call TriggerSleepAction( 3.00 )
call TransmissionFromUnitWithNameBJ( GetPlayersAll(), GroupPickRandomUnit(GetUnitsOfTypeIdAll('E000')), "TRIGSTR_067", null, "TRIGSTR_068", bj_TIMETYPE_ADD, 0, false )
call TriggerSleepAction( 2.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_005, Player(0), 2.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_005, Player(1), 2.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_005, Player(2), 2.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_005, Player(3), 2.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_005, Player(4), 2.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_005, Player(5), 2.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_005, Player(6), 2.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_005, Player(9), 2.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_005, Player(8), 2.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_005, Player(10), 2.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_005, Player(11), 2.00 )
call TriggerSleepAction( 1.00 )
call CameraSetEQNoiseForPlayer( Player(0), 6.00 )
call CameraSetEQNoiseForPlayer( Player(1), 6.00 )
call CameraSetEQNoiseForPlayer( Player(2), 6.00 )
call CameraSetEQNoiseForPlayer( Player(3), 6.00 )
call CameraSetEQNoiseForPlayer( Player(4), 6.00 )
call CameraSetEQNoiseForPlayer( Player(5), 6.00 )
call CameraSetEQNoiseForPlayer( Player(6), 6.00 )
call CameraSetEQNoiseForPlayer( Player(8), 6.00 )
call CameraSetEQNoiseForPlayer( Player(9), 6.00 )
call CameraSetEQNoiseForPlayer( Player(10), 6.00 )
call CameraSetEQNoiseForPlayer( Player(11), 6.00 )
call TriggerSleepAction( 1.00 )
call CameraClearNoiseForPlayer( Player(0) )
call CameraClearNoiseForPlayer( Player(1) )
call CameraClearNoiseForPlayer( Player(2) )
call CameraClearNoiseForPlayer( Player(3) )
call CameraClearNoiseForPlayer( Player(4) )
call CameraClearNoiseForPlayer( Player(5) )
call CameraClearNoiseForPlayer( Player(6) )
call CameraClearNoiseForPlayer( Player(8) )
call CameraClearNoiseForPlayer( Player(9) )
call CameraClearNoiseForPlayer( Player(10) )
call CameraClearNoiseForPlayer( Player(11) )
call TriggerSleepAction( 2 )
call CreateDestructableLoc( 'OTsp', GetRectCenter(gg_rct_Region_390), 0.00, 0.75, 0 )
call SetDestructableAnimationBJ( GetLastCreatedDestructable(), "birth" )
call TriggerSleepAction( 5.00 )
call CreateNUnitsAtLoc( 1, 'h002', Player(7), GetRectCenter(gg_rct_Region_391), 0.00 )
call TriggerSleepAction( 1.00 )
call TransmissionFromUnitWithNameBJ( GetPlayersAll(), GroupPickRandomUnit(GetUnitsOfTypeIdAll('h002')), "TRIGSTR_069", null, "TRIGSTR_070", bj_TIMETYPE_ADD, 0, true )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_004, Player(0), 1.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_004, Player(1), 1.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_004, Player(2), 1.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_004, Player(3), 1.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_004, Player(4), 1.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_004, Player(5), 1.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_004, Player(6), 1.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_004, Player(8), 1.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_004, Player(9), 1.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_004, Player(10), 1.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_004, Player(11), 1.00 )
call TriggerSleepAction( 3.00 )
call TransmissionFromUnitWithNameBJ( GetPlayersAll(), GroupPickRandomUnit(GetUnitsOfTypeIdAll('E000')), "TRIGSTR_071", null, "TRIGSTR_072", bj_TIMETYPE_ADD, 0, false )
call TriggerSleepAction( 1.00 )
call TransmissionFromUnitWithNameBJ( GetPlayersAll(), GroupPickRandomUnit(GetUnitsOfTypeIdAll('h002')), "TRIGSTR_073", null, "TRIGSTR_074", bj_TIMETYPE_ADD, 0, true )
call TriggerSleepAction( 1.00 )
call TransmissionFromUnitWithNameBJ( GetPlayersAll(), GroupPickRandomUnit(GetUnitsOfTypeIdAll('E000')), "TRIGSTR_075", null, "TRIGSTR_076", bj_TIMETYPE_ADD, 0, false )
call TriggerSleepAction( 1.00 )
call GroupPointOrderLocBJ( GetUnitsInRectAll(gg_rct_Region_392), "move", GetRectCenter(gg_rct_Region_391) )
call TriggerSleepAction( 1.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_003, Player(0), 6.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_003, Player(1), 6.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_003, Player(2), 6.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_003, Player(3), 6.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_003, Player(4), 6.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_003, Player(5), 6.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_003, Player(6), 6.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_003, Player(8), 6.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_003, Player(9), 6.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_003, Player(10), 6.00 )
call CameraSetupApplyForPlayer( true, gg_cam_Camera_003, Player(11), 6.00 )
call TriggerSleepAction( 5.00 )
call TransmissionFromUnitWithNameBJ( GetPlayersAll(), GroupPickRandomUnit(GetUnitsOfTypeIdAll('h002')), "TRIGSTR_077", null, "TRIGSTR_078", bj_TIMETYPE_ADD, 0, true )
call TriggerSleepAction( 2.00 )
call CinematicFadeBJ( bj_CINEFADETYPE_FADEOUT, 2, "ReplaceableTextures\\CameraMasks\\Black_mask.blp", 0, 0, 0, 0 )
call TriggerSleepAction( 3.00 )
call CustomVictoryBJ( Player(0), true, true )
call CustomVictoryBJ( Player(1), true, true )
call CustomVictoryBJ( Player(2), true, true )
call CustomVictoryBJ( Player(3), true, true )
call CustomVictoryBJ( Player(4), true, true )
call CustomVictoryBJ( Player(5), true, true )
call CustomVictoryBJ( Player(6), true, true )
call CustomVictoryBJ( Player(8), true, true )
call CustomVictoryBJ( Player(9), true, true )
call CustomVictoryBJ( Player(10), true, true )
call CustomVictoryBJ( Player(11), true, true )
endfunction
//===========================================================================
function InitTrig_Ending_Cinematic takes nothing returns nothing
set gg_trg_Ending_Cinematic = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Ending_Cinematic, gg_rct_Region_388 )
call TriggerAddCondition( gg_trg_Ending_Cinematic, Condition( function Trig_Ending_Cinematic_Conditions ) )
call TriggerAddAction( gg_trg_Ending_Cinematic, function Trig_Ending_Cinematic_Actions )
endfunction
function Trig_Ending_Cinematic_thing_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'E000' ) ) then
return false
endif
return true
endfunction
function Trig_Ending_Cinematic_thing_Actions takes nothing returns nothing
call SetUnitPositionLocFacingBJ( GetTriggerUnit(), GetRectCenter(gg_rct_Region_274), bj_UNIT_FACING )
call AddSpecialEffectLocBJ( GetRectCenter(gg_rct_Region_391), "Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl" )
endfunction
//===========================================================================
function InitTrig_Ending_Cinematic_thing takes nothing returns nothing
set gg_trg_Ending_Cinematic_thing = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Ending_Cinematic_thing, gg_rct_Region_391 )
call TriggerAddCondition( gg_trg_Ending_Cinematic_thing, Condition( function Trig_Ending_Cinematic_thing_Conditions ) )
call TriggerAddAction( gg_trg_Ending_Cinematic_thing, function Trig_Ending_Cinematic_thing_Actions )
endfunction
function Trig_Game_Text_Actions takes nothing returns nothing
call DisplayTextToForce( GetPlayersAll(), "TRIGSTR_097" )
call TriggerSleepAction( 10.00 )
call DisplayTextToForce( GetPlayersAll(), "TRIGSTR_098" )
call TriggerSleepAction( 10.00 )
call DisplayTextToForce( GetPlayersAll(), "TRIGSTR_099" )
endfunction
//===========================================================================
function InitTrig_Game_Text takes nothing returns nothing
set gg_trg_Game_Text = CreateTrigger( )
call TriggerRegisterTimerEventSingle( gg_trg_Game_Text, 10.00 )
call TriggerAddAction( gg_trg_Game_Text, function Trig_Game_Text_Actions )
endfunction
function Trig_Rebborn_Testers_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'E000' ) ) then
return false
endif
return true
endfunction
function Trig_Rebborn_Testers_Func003C takes nothing returns boolean
if ( not ( udg_Lives[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))] > 0 ) ) then
return false
endif
return true
endfunction
function Trig_Rebborn_Testers_Actions takes nothing returns nothing
call PolledWait( 2 )
if ( Trig_Rebborn_Testers_Func003C() ) then
set udg_Lives[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))] = ( udg_Lives[GetConvertedPlayerId(GetTriggerPlayer())] - 1 )
call ReviveHeroLoc( GetTriggerUnit(), GetRectCenter(udg_Current_Reborn), true )
call LeaderboardSetPlayerItemValueBJ( GetOwningPlayer(GetTriggerUnit()), GetLastCreatedLeaderboard(), udg_Lives[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))] )
else
call DisplayTextToForce( GetPlayersAll(), ( "|cFFFF00FFSorry, " + ( GetPlayerName(GetOwningPlayer(GetTriggerUnit())) + ( ", " + "|cFFFF00FFbut you are out of chances! You won't revive until and ally gets to a revive point.|r" ) ) ) )
endif
endfunction
//===========================================================================
function InitTrig_Rebborn_Testers takes nothing returns nothing
set gg_trg_Rebborn_Testers = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_Rebborn_Testers, EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Rebborn_Testers, Condition( function Trig_Rebborn_Testers_Conditions ) )
call TriggerAddAction( gg_trg_Rebborn_Testers, function Trig_Rebborn_Testers_Actions )
endfunction
function Trig_LeaderBoard_Func002Func001C takes nothing returns boolean
if ( not ( GetPlayerSlotState(ConvertedPlayer(GetForLoopIndexA())) == PLAYER_SLOT_STATE_PLAYING ) ) then
return false
endif
return true
endfunction
function Trig_LeaderBoard_Actions takes nothing returns nothing
call CreateLeaderboardBJ( GetPlayersAll(), "TRIGSTR_100" )
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 12
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
if ( Trig_LeaderBoard_Func002Func001C() ) then
set udg_Lives[GetForLoopIndexA()] = udg_Lv3_LifeAmount
call LeaderboardAddItemBJ( ConvertedPlayer(GetForLoopIndexA()), GetLastCreatedLeaderboard(), GetPlayerName(ConvertedPlayer(GetForLoopIndexA())), udg_Lives[GetForLoopIndexA()] )
else
call DoNothing( )
endif
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
call LeaderboardDisplayBJ( true, GetLastCreatedLeaderboard() )
endfunction
//===========================================================================
function InitTrig_LeaderBoard takes nothing returns nothing
set gg_trg_LeaderBoard = CreateTrigger( )
call TriggerRegisterTimerEventSingle( gg_trg_LeaderBoard, 1.00 )
call TriggerAddAction( gg_trg_LeaderBoard, function Trig_LeaderBoard_Actions )
endfunction
function Trig_LeaderBoard_Refresh_Actions takes nothing returns nothing
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 12
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call LeaderboardSetPlayerItemValueBJ( ConvertedPlayer(GetForLoopIndexA()), GetLastCreatedLeaderboard(), udg_Lives[GetForLoopIndexA()] )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
endfunction
//===========================================================================
function InitTrig_LeaderBoard_Refresh takes nothing returns nothing
set gg_trg_LeaderBoard_Refresh = CreateTrigger( )
call TriggerAddAction( gg_trg_LeaderBoard_Refresh, function Trig_LeaderBoard_Refresh_Actions )
endfunction
function Trig_Set_Lives_Actions takes nothing returns nothing
set udg_Current_Reborn = gg_rct_Region_335
endfunction
//===========================================================================
function InitTrig_Set_Lives takes nothing returns nothing
set gg_trg_Set_Lives = CreateTrigger( )
call TriggerAddAction( gg_trg_Set_Lives, function Trig_Set_Lives_Actions )
endfunction
function Trig_Bj_Giver_Actions takes nothing returns nothing
call SetUnitAnimation( gg_unit_nvl2_0102, "stand ready" )
call SetUnitAnimation( gg_unit_n002_0113, "death" )
endfunction
//===========================================================================
function InitTrig_Bj_Giver takes nothing returns nothing
set gg_trg_Bj_Giver = CreateTrigger( )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bj_Giver, 0.20 )
call TriggerAddAction( gg_trg_Bj_Giver, function Trig_Bj_Giver_Actions )
endfunction
function Trig_Bj_Giver_Copy_Actions takes nothing returns nothing
call SetUnitAnimation( gg_unit_nvlw_0132, "walk" )
call SetUnitAnimation( gg_unit_nvlw_0133, "walk" )
call SetUnitAnimation( gg_unit_nvlw_0131, "walk" )
endfunction
//===========================================================================
function InitTrig_Bj_Giver_Copy takes nothing returns nothing
set gg_trg_Bj_Giver_Copy = CreateTrigger( )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bj_Giver_Copy, 1.00 )
call TriggerAddAction( gg_trg_Bj_Giver_Copy, function Trig_Bj_Giver_Copy_Actions )
endfunction