Name | Type | is_array | initial_value |
Barracks | unit | Yes | |
City | unit | Yes | |
COPName | rect | Yes | |
FirstPlayer | integer | No | |
Gold_received | integer | Yes | |
Group1 | force | No | |
Group2 | force | No | |
Group3 | force | No | |
Group4 | force | No | |
Group5 | force | No | |
Group6 | force | No | |
leaderbord_name | string | Yes | |
num_regions | integer | Yes | |
TeamNumber | integer | Yes | |
TempVariable | integer | No | |
Towers | unit | Yes | |
Turn | timer | No | |
xdeturn | integer | No |
function Trig_Elapsed_Actions takes nothing returns nothing
call TriggerSleepAction( 10.00 )
call FogMaskEnableOff( )
call TriggerSleepAction( 10.00 )
call FogEnableOff( )
endfunction
//===========================================================================
function InitTrig_Elapsed takes nothing returns nothing
set gg_trg_Elapsed = CreateTrigger( )
call TriggerRegisterTimerEventSingle( gg_trg_Elapsed, 1.00 )
call TriggerAddAction( gg_trg_Elapsed, function Trig_Elapsed_Actions )
endfunction
function Trig_Randomize_Ownership_Actions takes nothing returns nothing
set udg_COPName[1] = gg_rct_Dublin
set udg_City[1] = gg_unit_h00O_0052
set udg_Towers[1] = gg_unit_h001_0103
set udg_COPName[2] = gg_rct_Glasgow
set udg_City[2] = gg_unit_h00M_0053
set udg_Towers[2] = gg_unit_h001_0108
set udg_COPName[3] = gg_rct_Leeds
set udg_City[3] = gg_unit_h00N_0054
set udg_Towers[3] = gg_unit_h001_0113
set udg_COPName[4] = gg_rct_London
set udg_City[4] = gg_unit_h00P_0056
set udg_Towers[4] = gg_unit_h001_0120
set udg_COPName[5] = gg_rct_Southampton
set udg_City[5] = gg_unit_h00Q_0055
set udg_Towers[5] = gg_unit_h001_0124
set udg_COPName[6] = gg_rct_Brussel
set udg_City[6] = gg_unit_h015_0057
set udg_Towers[6] = gg_unit_h001_0130
set udg_COPName[7] = gg_rct_Amsterdam
set udg_City[7] = gg_unit_h00T_0076
set udg_Towers[7] = gg_unit_h001_0153
set udg_COPName[8] = gg_rct_Brest
set udg_City[8] = gg_unit_h018_0058
set udg_Towers[8] = gg_unit_h001_0126
set udg_COPName[9] = gg_rct_Near_Harad
set udg_City[9] = gg_unit_h017_0060
set udg_Towers[9] = gg_unit_h001_0136
set udg_COPName[10] = gg_rct_Marseille
set udg_City[10] = gg_unit_h016_0061
set udg_Towers[10] = gg_unit_h001_0142
set udg_COPName[11] = gg_rct_Bordeaux
set udg_City[11] = gg_unit_h019_0059
set udg_Towers[11] = gg_unit_h001_0140
set udg_COPName[12] = gg_rct_Zaragoza
set udg_City[12] = gg_unit_h011_0062
set udg_Towers[12] = gg_unit_h001_0147
set udg_COPName[13] = gg_rct_La_Coruna
set udg_City[13] = gg_unit_h013_0065
set udg_City[13] = gg_unit_hshy_0304
set udg_Towers[13] = gg_unit_h001_0152
set udg_COPName[14] = gg_rct_Lissabon
set udg_City[14] = gg_unit_h014_0064
set udg_Towers[14] = gg_unit_h001_0107
set udg_COPName[15] = gg_rct_Malaga
set udg_City[15] = gg_unit_h012_0063
set udg_Towers[15] = gg_unit_h001_0112
set udg_COPName[16] = gg_rct_Camp_of_Rohan_Riders
set udg_City[16] = gg_unit_h00H_0066
set udg_Towers[16] = gg_unit_h001_0117
set udg_COPName[17] = gg_rct_Isengard
set udg_City[17] = gg_unit_h00F_0067
set udg_Towers[17] = gg_unit_h001_0118
set udg_COPName[18] = gg_rct_Tunis
set udg_City[18] = gg_unit_h00G_0068
set udg_Towers[18] = gg_unit_h001_0123
set udg_COPName[19] = gg_rct_Dunland
set udg_City[19] = gg_unit_h00D_0069
set udg_Towers[19] = gg_unit_h001_0127
set udg_COPName[20] = gg_rct_Bree
set udg_City[20] = gg_unit_h00B_0070
set udg_Towers[20] = gg_unit_h001_0131
set udg_COPName[21] = gg_rct_Rivendell
set udg_City[21] = gg_unit_h00E_0071
set udg_Towers[21] = gg_unit_h001_0135
set udg_COPName[22] = gg_rct_Hobbiton
set udg_City[22] = gg_unit_h00C_0072
set udg_Towers[22] = gg_unit_h001_0139
set udg_COPName[23] = gg_rct_Triest
set udg_City[23] = gg_unit_h00Y_0073
set udg_Towers[23] = gg_unit_h001_0143
set udg_COPName[24] = gg_rct_Bern
set udg_City[24] = gg_unit_h00W_0074
set udg_Towers[24] = gg_unit_h001_0148
set udg_COPName[25] = gg_rct_Frankfurt
set udg_City[25] = gg_unit_h010_0075
set udg_Towers[25] = gg_unit_h001_0109
set udg_COPName[26] = gg_rct_Sczecin
set udg_City[26] = gg_unit_h00S_0077
set udg_Towers[26] = gg_unit_h001_0115
set udg_COPName[28] = gg_rct_Goteborg
set udg_City[28] = gg_unit_h01A_0100
set udg_Towers[28] = gg_unit_h001_0121
set udg_COPName[29] = gg_rct_Bergen
set udg_City[29] = gg_unit_h01F_0101
set udg_Towers[29] = gg_unit_h001_0129
set udg_COPName[30] = gg_rct_Oslo
set udg_City[30] = gg_unit_h01E_0099
set udg_Towers[30] = gg_unit_h001_0125
set udg_COPName[31] = gg_rct_Trondheim
set udg_City[31] = gg_unit_h01C_0098
set udg_Towers[31] = gg_unit_h001_0133
set udg_COPName[32] = gg_rct_Lulea
set udg_City[32] = gg_unit_h01D_0096
set udg_Towers[32] = gg_unit_h001_0137
set udg_COPName[33] = gg_rct_Oulu
set udg_City[33] = gg_unit_h01G_0097
set udg_Towers[33] = gg_unit_h001_0145
set udg_COPName[34] = gg_rct_Helsinki
set udg_City[34] = gg_unit_h01B_0095
set udg_Towers[34] = gg_unit_h001_0141
set udg_COPName[35] = gg_rct_Archangelsk
set udg_City[35] = gg_unit_h01N_0094
set udg_Towers[35] = gg_unit_h001_0149
set udg_COPName[36] = gg_rct_Kotlas
set udg_City[36] = gg_unit_h01S_0093
set udg_Towers[36] = gg_unit_h001_0150
set udg_COPName[37] = gg_rct_St_Petersburg
set udg_City[37] = gg_unit_h01M_0092
set udg_Towers[37] = gg_unit_h001_0105
set udg_COPName[38] = gg_rct_Moskou
set udg_City[38] = gg_unit_h01P_0090
set udg_Towers[38] = gg_unit_h001_0111
set udg_COPName[39] = gg_rct_Toela
set udg_City[39] = gg_unit_h01O_0089
set udg_Towers[39] = gg_unit_h001_0151
set udg_COPName[40] = gg_rct_Minsk
set udg_City[40] = gg_unit_h01Q_0088
set udg_Towers[40] = gg_unit_h001_0106
set udg_COPName[41] = gg_rct_Warschau
set udg_City[41] = gg_unit_h00Z_0087
set udg_Towers[41] = gg_unit_h001_0110
set udg_COPName[42] = gg_rct_Dol_Amroth
set udg_City[42] = gg_unit_h00U_0078
set udg_City[42] = gg_unit_hshy_0305
set udg_Towers[42] = gg_unit_h001_0116
set udg_COPName[43] = gg_rct_Charkiw
set udg_City[43] = gg_unit_h01R_0086
set udg_Towers[43] = gg_unit_h001_0144
set udg_COPName[44] = gg_rct_Wolgagrad
set udg_City[44] = gg_unit_h009_0085
set udg_Towers[44] = gg_unit_h001_0138
set udg_COPName[45] = gg_rct_Sarajevo
set udg_City[45] = gg_unit_h00X_0079
set udg_Towers[45] = gg_unit_h001_0119
set udg_COPName[46] = gg_rct_Boekarest
set udg_City[46] = gg_unit_h00R_0080
set udg_Towers[46] = gg_unit_h001_0146
set udg_COPName[47] = gg_rct_Athene
set udg_City[47] = gg_unit_h00J_0081
set udg_Towers[47] = gg_unit_h001_0122
set udg_COPName[48] = gg_rct_Istanbul
set udg_City[48] = gg_unit_h00L_0082
set udg_Towers[48] = gg_unit_h001_0132
set udg_COPName[49] = gg_rct_Tbilisi
set udg_City[49] = gg_unit_h00K_0084
set udg_Towers[49] = gg_unit_h001_0134
set udg_COPName[50] = gg_rct_Aleppo
set udg_City[50] = gg_unit_h00I_0083
set udg_Towers[50] = gg_unit_h001_0128
set udg_COPName[51] = gg_rct_Riga
set udg_City[51] = gg_unit_h01K_0091
set udg_Towers[51] = gg_unit_h001_0114
set udg_COPName[52] = gg_rct_Cirith_Ungol
set udg_City[52] = gg_unit_n00J_0171
set udg_Towers[52] = gg_unit_hgtw_0181
set udg_COPName[52] = gg_rct_Cirith_Ungol
set udg_City[53] = gg_unit_h01Z_0182
set udg_Towers[53] = gg_unit_hgtw_0184
set udg_COPName[53] = gg_rct_Hall_of_Moria
set udg_City[54] = gg_unit_h020_0186
set udg_Towers[54] = gg_unit_hgtw_0190
set udg_COPName[54] = gg_rct_Khazad_Dum
set udg_City[55] = gg_unit_h021_0196
set udg_Towers[55] = gg_unit_hgtw_0198
set udg_COPName[55] = gg_rct_Balins_Tomb
set udg_City[56] = gg_unit_h024_0214
set udg_Towers[56] = gg_unit_h001_0215
set udg_COPName[56] = gg_rct_Moria_Orc_Main_Camp
set udg_City[57] = gg_unit_h026_0220
set udg_Towers[57] = gg_unit_h001_0221
set udg_COPName[57] = gg_rct_Graveyard
set udg_City[58] = gg_unit_h023_0166
set udg_Towers[58] = gg_unit_h001_0169
set udg_COPName[58] = gg_rct_Armory
set udg_City[59] = gg_unit_h025_0217
set udg_Towers[59] = gg_unit_h001_0218
set udg_COPName[59] = gg_rct_Destroyed_Mine
set udg_COPName[60] = gg_rct_Oregon
set udg_Towers[60] = gg_unit_h001_0225
set udg_City[60] = gg_unit_h02K_0165
set udg_City[61] = gg_unit_h02M_0223
set udg_Towers[61] = gg_unit_h001_0224
set udg_COPName[61] = gg_rct_California
set udg_City[62] = gg_unit_h02O_0226
set udg_Towers[62] = gg_unit_h001_0227
set udg_COPName[62] = gg_rct_Florida
set udg_COPName[27] = gg_rct_Region_083
set udg_Towers[27] = gg_unit_h001_0242
set udg_City[27] = gg_unit_h02X_0241
set udg_City[63] = gg_unit_h02P_0231
set udg_Towers[63] = gg_unit_h001_0232
set udg_COPName[63] = gg_rct_Region_085
set udg_City[64] = gg_unit_h02T_0233
set udg_Towers[64] = gg_unit_h001_0234
set udg_COPName[64] = gg_rct_Region_086
set udg_City[65] = gg_unit_h02U_0236
set udg_Towers[65] = gg_unit_h001_0235
set udg_COPName[65] = gg_rct_Region_088
set udg_City[66] = gg_unit_h02V_0237
set udg_Towers[66] = gg_unit_h001_0238
set udg_COPName[66] = gg_rct_Region_087
set udg_City[67] = gg_unit_h02Y_0170
set udg_Towers[67] = gg_unit_h001_0244
set udg_COPName[67] = gg_rct_Region_089
set udg_City[68] = gg_unit_h02Z_0239
set udg_Towers[68] = gg_unit_h001_0240
set udg_COPName[68] = gg_rct_Region_090
set udg_City[69] = gg_unit_h030_0245
set udg_Towers[69] = gg_unit_h001_0254
set udg_COPName[69] = gg_rct_Region_091
set udg_City[70] = gg_unit_h031_0250
set udg_Towers[70] = gg_unit_h001_0251
set udg_COPName[70] = gg_rct_Region_092
set udg_City[71] = gg_unit_h032_0252
set udg_Towers[71] = gg_unit_h001_0253
set udg_COPName[71] = gg_rct_Region_093
set udg_City[72] = gg_unit_h034_0257
set udg_Towers[72] = gg_unit_h001_0258
set udg_COPName[72] = gg_rct_Region_097
set udg_City[73] = gg_unit_h033_0255
set udg_Towers[73] = gg_unit_h001_0256
set udg_COPName[73] = gg_rct_Region_096
set udg_City[74] = gg_unit_h035_0262
set udg_Towers[74] = gg_unit_h001_0264
set udg_COPName[74] = gg_rct_Region_098
set udg_City[75] = gg_unit_h036_0261
set udg_Towers[75] = gg_unit_h001_0263
set udg_COPName[75] = gg_rct_Region_099
set udg_City[76] = gg_unit_h037_0267
set udg_Towers[76] = gg_unit_h001_0274
set udg_COPName[76] = gg_rct_Region_101
set udg_City[77] = gg_unit_h038_0268
set udg_Towers[77] = gg_unit_h001_0273
set udg_COPName[77] = gg_rct_Region_100
set udg_City[78] = gg_unit_h039_0269
set udg_Towers[78] = gg_unit_h001_0272
set udg_COPName[78] = gg_rct_Enedwaith
set udg_City[79] = gg_unit_h03A_0270
set udg_Towers[79] = gg_unit_h001_0271
set udg_COPName[79] = gg_rct_Region_103
set udg_City[80] = gg_unit_h03C_0279
set udg_Towers[80] = gg_unit_h001_0280
set udg_COPName[80] = gg_rct_Region_062
set udg_City[81] = gg_unit_h03F_0284
set udg_Towers[81] = gg_unit_h001_0285
set udg_COPName[81] = gg_rct_Region_104
set udg_City[82] = gg_unit_h03E_0282
set udg_Towers[82] = gg_unit_h001_0283
set udg_COPName[82] = gg_rct_Region_105
set udg_City[83] = gg_unit_h03G_0288
set udg_Towers[83] = gg_unit_h001_0289
set udg_COPName[83] = gg_rct_Region_110
set udg_City[84] = gg_unit_h03K_0294
set udg_Towers[84] = gg_unit_h001_0295
set udg_COPName[84] = gg_rct_Region_109
set udg_City[85] = gg_unit_h03I_0290
set udg_Towers[85] = gg_unit_h001_0291
set udg_COPName[85] = gg_rct_Region_108
set udg_City[86] = gg_unit_h03J_0292
set udg_Towers[86] = gg_unit_h001_0293
set udg_COPName[86] = gg_rct_Region_107
set udg_City[87] = gg_unit_h03N_0204
set udg_Towers[87] = gg_unit_h001_0201
set udg_COPName[87] = gg_rct_Region_122
set udg_City[88] = gg_unit_h03L_0203
set udg_Towers[88] = gg_unit_h001_0302
set udg_COPName[88] = gg_rct_Region_121
set udg_City[89] = gg_unit_h03T_0320
set udg_Towers[89] = gg_unit_h001_0321
set udg_COPName[89] = gg_rct_Region_124
set udg_City[90] = gg_unit_h03W_0313
set udg_Towers[90] = gg_unit_h001_0315
set udg_COPName[90] = gg_rct_Region_125
set udg_City[91] = gg_unit_h03V_0323
set udg_Towers[91] = gg_unit_h001_0324
set udg_COPName[91] = gg_rct_Region_126
set udg_City[92] = gg_unit_h03V_0323
set udg_Towers[92] = gg_unit_h001_0307
set udg_COPName[92] = gg_rct_Region_127
set udg_City[93] = gg_unit_h03U_0310
set udg_Towers[93] = gg_unit_h001_0322
set udg_COPName[93] = gg_rct_Region_128
set udg_City[94] = gg_unit_h03X_0325
set udg_Towers[94] = gg_unit_h001_0326
set udg_COPName[94] = gg_rct_Region_129
set udg_City[95] = gg_unit_h03S_0318
set udg_Towers[95] = gg_unit_h001_0319
set udg_COPName[95] = gg_rct_Region_130
set udg_City[96] = gg_unit_h040_0331
set udg_Towers[96] = gg_unit_h001_0332
set udg_COPName[96] = gg_rct_Region_131
set udg_City[97] = gg_unit_h03Y_0328
set udg_Towers[97] = gg_unit_h001_0327
set udg_COPName[97] = gg_rct_Region_132
set udg_City[98] = gg_unit_h03Z_0329
set udg_Towers[98] = gg_unit_h001_0330
set udg_COPName[98] = gg_rct_Region_133
set udg_City[99] = gg_unit_h041_0333
set udg_Towers[99] = gg_unit_h001_0334
set udg_COPName[99] = gg_rct_Region_134
set udg_City[100] = gg_unit_h042_0177
set udg_Towers[100] = gg_unit_hgtw_0340
set udg_COPName[100] = gg_rct_Region_137
set udg_City[101] = gg_unit_h00Z_0341
set udg_Towers[101] = gg_unit_h001_0342
set udg_COPName[101] = gg_rct_West_City
set udg_City[102] = gg_unit_h044_0344
set udg_Towers[102] = gg_unit_h001_0348
set udg_COPName[102] = gg_rct_Deads
set udg_City[103] = gg_unit_h043_0346
set udg_Towers[103] = gg_unit_h001_0349
set udg_COPName[103] = gg_rct_Deads_Copy
set udg_City[104] = gg_unit_h044_0347
set udg_Towers[104] = gg_unit_h001_0350
set udg_COPName[104] = gg_rct_Deads_Copy_2
set udg_City[105] = gg_unit_h047_0364
set udg_Towers[105] = gg_unit_hgtw_0345
set udg_COPName[105] = gg_rct_Region_153
set udg_City[106] = gg_unit_h047_0368
set udg_Towers[106] = gg_unit_hgtw_0357
set udg_COPName[106] = gg_rct_Region_151
set udg_City[107] = gg_unit_h047_0369
set udg_Towers[107] = gg_unit_hgtw_0358
set udg_COPName[107] = gg_rct_Region_152
// -
set udg_FirstPlayer = GetRandomInt(1, 12)
set udg_TempVariable = GetRandomInt(2, 107)
set bj_forLoopAIndex = udg_TempVariable
set bj_forLoopAIndexEnd = 107
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call TriggerExecute( gg_trg_Assign_Ownership )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = ( udg_TempVariable - 1 )
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call TriggerExecute( gg_trg_Assign_Ownership )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
endfunction
//===========================================================================
function InitTrig_Randomize_Ownership takes nothing returns nothing
set gg_trg_Randomize_Ownership = CreateTrigger( )
call TriggerAddAction( gg_trg_Randomize_Ownership, function Trig_Randomize_Ownership_Actions )
endfunction
function Trig_Assign_Ownership_Func001001 takes nothing returns boolean
return ( GetPlayerSlotState(ConvertedPlayer(udg_FirstPlayer)) != PLAYER_SLOT_STATE_PLAYING )
endfunction
function Trig_Assign_Ownership_Func002001 takes nothing returns boolean
return ( udg_FirstPlayer > 12 )
endfunction
function Trig_Assign_Ownership_Func003001 takes nothing returns boolean
return ( GetPlayerSlotState(ConvertedPlayer(udg_FirstPlayer)) != PLAYER_SLOT_STATE_PLAYING )
endfunction
function Trig_Assign_Ownership_Func004001 takes nothing returns boolean
return ( udg_FirstPlayer > 12 )
endfunction
function Trig_Assign_Ownership_Func005001 takes nothing returns boolean
return ( GetPlayerSlotState(ConvertedPlayer(udg_FirstPlayer)) != PLAYER_SLOT_STATE_PLAYING )
endfunction
function Trig_Assign_Ownership_Func006001 takes nothing returns boolean
return ( udg_FirstPlayer > 12 )
endfunction
function Trig_Assign_Ownership_Func007001 takes nothing returns boolean
return ( GetPlayerSlotState(ConvertedPlayer(udg_FirstPlayer)) != PLAYER_SLOT_STATE_PLAYING )
endfunction
function Trig_Assign_Ownership_Func008001 takes nothing returns boolean
return ( udg_FirstPlayer > 12 )
endfunction
function Trig_Assign_Ownership_Func009001 takes nothing returns boolean
return ( GetPlayerSlotState(ConvertedPlayer(udg_FirstPlayer)) != PLAYER_SLOT_STATE_PLAYING )
endfunction
function Trig_Assign_Ownership_Func010001 takes nothing returns boolean
return ( udg_FirstPlayer > 12 )
endfunction
function Trig_Assign_Ownership_Func011001 takes nothing returns boolean
return ( GetPlayerSlotState(ConvertedPlayer(udg_FirstPlayer)) != PLAYER_SLOT_STATE_PLAYING )
endfunction
function Trig_Assign_Ownership_Func012001 takes nothing returns boolean
return ( udg_FirstPlayer > 12 )
endfunction
function Trig_Assign_Ownership_Func013001 takes nothing returns boolean
return ( GetPlayerSlotState(ConvertedPlayer(udg_FirstPlayer)) != PLAYER_SLOT_STATE_PLAYING )
endfunction
function Trig_Assign_Ownership_Func014001 takes nothing returns boolean
return ( udg_FirstPlayer > 12 )
endfunction
function Trig_Assign_Ownership_Func015001 takes nothing returns boolean
return ( GetPlayerSlotState(ConvertedPlayer(udg_FirstPlayer)) != PLAYER_SLOT_STATE_PLAYING )
endfunction
function Trig_Assign_Ownership_Func016001 takes nothing returns boolean
return ( udg_FirstPlayer > 12 )
endfunction
function Trig_Assign_Ownership_Func017001 takes nothing returns boolean
return ( GetPlayerSlotState(ConvertedPlayer(udg_FirstPlayer)) != PLAYER_SLOT_STATE_PLAYING )
endfunction
function Trig_Assign_Ownership_Func018001 takes nothing returns boolean
return ( udg_FirstPlayer > 12 )
endfunction
function Trig_Assign_Ownership_Func019001 takes nothing returns boolean
return ( GetPlayerSlotState(ConvertedPlayer(udg_FirstPlayer)) != PLAYER_SLOT_STATE_PLAYING )
endfunction
function Trig_Assign_Ownership_Func020001 takes nothing returns boolean
return ( udg_FirstPlayer > 12 )
endfunction
function Trig_Assign_Ownership_Func021001 takes nothing returns boolean
return ( GetPlayerSlotState(ConvertedPlayer(udg_FirstPlayer)) != PLAYER_SLOT_STATE_PLAYING )
endfunction
function Trig_Assign_Ownership_Func022001 takes nothing returns boolean
return ( udg_FirstPlayer > 12 )
endfunction
function Trig_Assign_Ownership_Func027001 takes nothing returns boolean
return ( udg_FirstPlayer > 12 )
endfunction
function Trig_Assign_Ownership_Actions takes nothing returns nothing
if ( Trig_Assign_Ownership_Func001001() ) then
set udg_FirstPlayer = ( udg_FirstPlayer + 1 )
else
call DoNothing( )
endif
if ( Trig_Assign_Ownership_Func002001() ) then
set udg_FirstPlayer = 1
else
call DoNothing( )
endif
if ( Trig_Assign_Ownership_Func003001() ) then
set udg_FirstPlayer = ( udg_FirstPlayer + 1 )
else
call DoNothing( )
endif
if ( Trig_Assign_Ownership_Func004001() ) then
set udg_FirstPlayer = 1
else
call DoNothing( )
endif
if ( Trig_Assign_Ownership_Func005001() ) then
set udg_FirstPlayer = ( udg_FirstPlayer + 1 )
else
call DoNothing( )
endif
if ( Trig_Assign_Ownership_Func006001() ) then
set udg_FirstPlayer = 1
else
call DoNothing( )
endif
if ( Trig_Assign_Ownership_Func007001() ) then
set udg_FirstPlayer = ( udg_FirstPlayer + 1 )
else
call DoNothing( )
endif
if ( Trig_Assign_Ownership_Func008001() ) then
set udg_FirstPlayer = 1
else
call DoNothing( )
endif
if ( Trig_Assign_Ownership_Func009001() ) then
set udg_FirstPlayer = ( udg_FirstPlayer + 1 )
else
call DoNothing( )
endif
if ( Trig_Assign_Ownership_Func010001() ) then
set udg_FirstPlayer = 1
else
call DoNothing( )
endif
if ( Trig_Assign_Ownership_Func011001() ) then
set udg_FirstPlayer = ( udg_FirstPlayer + 1 )
else
call DoNothing( )
endif
if ( Trig_Assign_Ownership_Func012001() ) then
set udg_FirstPlayer = 1
else
call DoNothing( )
endif
if ( Trig_Assign_Ownership_Func013001() ) then
set udg_FirstPlayer = ( udg_FirstPlayer + 1 )
else
call DoNothing( )
endif
if ( Trig_Assign_Ownership_Func014001() ) then
set udg_FirstPlayer = 1
else
call DoNothing( )
endif
if ( Trig_Assign_Ownership_Func015001() ) then
set udg_FirstPlayer = ( udg_FirstPlayer + 1 )
else
call DoNothing( )
endif
if ( Trig_Assign_Ownership_Func016001() ) then
set udg_FirstPlayer = 1
else
call DoNothing( )
endif
if ( Trig_Assign_Ownership_Func017001() ) then
set udg_FirstPlayer = ( udg_FirstPlayer + 1 )
else
call DoNothing( )
endif
if ( Trig_Assign_Ownership_Func018001() ) then
set udg_FirstPlayer = 1
else
call DoNothing( )
endif
if ( Trig_Assign_Ownership_Func019001() ) then
set udg_FirstPlayer = ( udg_FirstPlayer + 1 )
else
call DoNothing( )
endif
if ( Trig_Assign_Ownership_Func020001() ) then
set udg_FirstPlayer = 1
else
call DoNothing( )
endif
if ( Trig_Assign_Ownership_Func021001() ) then
set udg_FirstPlayer = ( udg_FirstPlayer + 1 )
else
call DoNothing( )
endif
if ( Trig_Assign_Ownership_Func022001() ) then
set udg_FirstPlayer = 1
else
call DoNothing( )
endif
call SetUnitOwner( udg_City[GetForLoopIndexA()], ConvertedPlayer(udg_FirstPlayer), true )
call SetUnitOwner( udg_Towers[GetForLoopIndexA()], ConvertedPlayer(udg_FirstPlayer), true )
call CreateNUnitsAtLoc( 1, 'e001', GetOwningPlayer(udg_City[GetForLoopIndexA()]), GetRectCenter(udg_COPName[GetForLoopIndexA()]), bj_UNIT_FACING )
set udg_FirstPlayer = ( udg_FirstPlayer + 1 )
if ( Trig_Assign_Ownership_Func027001() ) then
set udg_FirstPlayer = 1
else
call DoNothing( )
endif
endfunction
//===========================================================================
function InitTrig_Assign_Ownership takes nothing returns nothing
set gg_trg_Assign_Ownership = CreateTrigger( )
call TriggerAddAction( gg_trg_Assign_Ownership, function Trig_Assign_Ownership_Actions )
endfunction
function Trig_Far_Camera_Actions takes nothing returns nothing
call SetCameraFieldForPlayer( GetTriggerPlayer(), CAMERA_FIELD_TARGET_DISTANCE, 3200.00, 1.00 )
endfunction
//===========================================================================
function InitTrig_Far_Camera takes nothing returns nothing
set gg_trg_Far_Camera = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Far_Camera, Player(0), "-far", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Far_Camera, Player(1), "-far", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Far_Camera, Player(2), "-far", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Far_Camera, Player(3), "-far", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Far_Camera, Player(4), "-far", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Far_Camera, Player(5), "-far", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Far_Camera, Player(6), "-far", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Far_Camera, Player(7), "-far", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Far_Camera, Player(8), "-far", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Far_Camera, Player(9), "-far", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Far_Camera, Player(10), "-far", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Far_Camera, Player(11), "-far", true )
call TriggerAddAction( gg_trg_Far_Camera, function Trig_Far_Camera_Actions )
endfunction
function Trig_Close_Camera_Actions takes nothing returns nothing
call SetCameraFieldForPlayer( GetTriggerPlayer(), CAMERA_FIELD_TARGET_DISTANCE, bj_CAMERA_DEFAULT_DISTANCE, 1.00 )
endfunction
//===========================================================================
function InitTrig_Close_Camera takes nothing returns nothing
set gg_trg_Close_Camera = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Close_Camera, Player(0), "-close", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Close_Camera, Player(1), "-close", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Close_Camera, Player(2), "-close", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Close_Camera, Player(3), "-close", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Close_Camera, Player(4), "-close", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Close_Camera, Player(5), "-close", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Close_Camera, Player(6), "-close", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Close_Camera, Player(7), "-close", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Close_Camera, Player(8), "-close", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Close_Camera, Player(9), "-close", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Close_Camera, Player(10), "-close", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Close_Camera, Player(11), "-close", true )
call TriggerAddAction( gg_trg_Close_Camera, function Trig_Close_Camera_Actions )
endfunction
function Trig_Medium_Camera_Actions takes nothing returns nothing
call SetCameraFieldForPlayer( GetTriggerPlayer(), CAMERA_FIELD_TARGET_DISTANCE, 2450.00, 1.00 )
endfunction
//===========================================================================
function InitTrig_Medium_Camera takes nothing returns nothing
set gg_trg_Medium_Camera = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Medium_Camera, Player(0), "-medium", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Medium_Camera, Player(1), "-medium", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Medium_Camera, Player(2), "-medium", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Medium_Camera, Player(3), "-medium", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Medium_Camera, Player(4), "-medium", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Medium_Camera, Player(5), "-medium", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Medium_Camera, Player(6), "-medium", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Medium_Camera, Player(7), "-medium", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Medium_Camera, Player(8), "-medium", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Medium_Camera, Player(9), "-medium", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Medium_Camera, Player(10), "-medium", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Medium_Camera, Player(11), "-medium", true )
call TriggerAddAction( gg_trg_Medium_Camera, function Trig_Medium_Camera_Actions )
endfunction
function Trig_Set_Start_Camera_Actions takes nothing returns nothing
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 12
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call SetCameraFieldForPlayer( ConvertedPlayer(GetForLoopIndexA()), CAMERA_FIELD_TARGET_DISTANCE, 2450.00, 0.00 )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
endfunction
//===========================================================================
function InitTrig_Set_Start_Camera takes nothing returns nothing
set gg_trg_Set_Start_Camera = CreateTrigger( )
call TriggerAddAction( gg_trg_Set_Start_Camera, function Trig_Set_Start_Camera_Actions )
endfunction
function Trig_make_quests_Actions takes nothing returns nothing
call CreateQuestBJ( bj_QUESTTYPE_REQ_DISCOVERED, "TRIGSTR_064", "TRIGSTR_065", "ReplaceableTextures\\WorldEditUI\\Editor-Random-Unit.blp" )
call CreateQuestBJ( bj_QUESTTYPE_REQ_DISCOVERED, "TRIGSTR_081", "TRIGSTR_082", "ReplaceableTextures\\WorldEditUI\\Editor-Random-Unit.blp" )
call CreateQuestBJ( bj_QUESTTYPE_REQ_DISCOVERED, "TRIGSTR_066", "TRIGSTR_067", "ReplaceableTextures\\WorldEditUI\\Editor-Random-Unit.blp" )
call CreateQuestBJ( bj_QUESTTYPE_OPT_DISCOVERED, "TRIGSTR_074", "TRIGSTR_075", "ReplaceableTextures\\WorldEditUI\\Editor-Random-Unit.blp" )
call CreateQuestBJ( bj_QUESTTYPE_OPT_DISCOVERED, "TRIGSTR_076", "TRIGSTR_077", "ReplaceableTextures\\WorldEditUI\\Editor-Random-Unit.blp" )
endfunction
//===========================================================================
function InitTrig_make_quests takes nothing returns nothing
set gg_trg_make_quests = CreateTrigger( )
call TriggerRegisterTimerEventSingle( gg_trg_make_quests, 0.01 )
call TriggerAddAction( gg_trg_make_quests, function Trig_make_quests_Actions )
endfunction
function Trig_create_leaderbord_Func006002 takes nothing returns nothing
call LeaderboardAddItemBJ( GetEnumPlayer(), GetLastCreatedLeaderboard(), ( ( ( "" + "" ) + GetPlayerName(GetEnumPlayer()) ) + ( "[" + ( I2S(GetConvertedPlayerId(GetEnumPlayer())) + "]" ) ) ), 7 )
endfunction
function Trig_create_leaderbord_Actions takes nothing returns nothing
call CreateLeaderboardBJ( GetPlayersAll(), "TRIGSTR_042" )
call LeaderboardAddItemBJ( Player(PLAYER_NEUTRAL_PASSIVE), GetLastCreatedLeaderboard(), "TRIGSTR_043", 100 )
call LeaderboardSetPlayerItemLabelColorBJ( Player(PLAYER_NEUTRAL_PASSIVE), GetLastCreatedLeaderboard(), 100.00, 80.00, 0.00, 0 )
call LeaderboardSetPlayerItemValueColorBJ( Player(PLAYER_NEUTRAL_PASSIVE), GetLastCreatedLeaderboard(), 100, 100, 100, 100.00 )
call ForForce( GetPlayersAll(), function Trig_create_leaderbord_Func006002 )
call LeaderboardAddItemBJ( Player(PLAYER_NEUTRAL_AGGRESSIVE), GetLastCreatedLeaderboard(), "TRIGSTR_044", 100 )
call LeaderboardSetPlayerItemLabelColorBJ( Player(PLAYER_NEUTRAL_AGGRESSIVE), GetLastCreatedLeaderboard(), 100.00, 80.00, 0.00, 0 )
call LeaderboardSetPlayerItemValueColorBJ( Player(PLAYER_NEUTRAL_AGGRESSIVE), GetLastCreatedLeaderboard(), 100, 100, 100, 100.00 )
endfunction
//===========================================================================
function InitTrig_create_leaderbord takes nothing returns nothing
set gg_trg_create_leaderbord = CreateTrigger( )
call TriggerRegisterTimerEventSingle( gg_trg_create_leaderbord, 0.01 )
call TriggerAddAction( gg_trg_create_leaderbord, function Trig_create_leaderbord_Actions )
endfunction
function Trig_refresh_leaderbord_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_Gold_received[GetForLoopIndexA()] )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
endfunction
//===========================================================================
function InitTrig_refresh_leaderbord takes nothing returns nothing
set gg_trg_refresh_leaderbord = CreateTrigger( )
call TriggerAddAction( gg_trg_refresh_leaderbord, function Trig_refresh_leaderbord_Actions )
endfunction
function Trig_rename_resigned_players_Func001003001 takes nothing returns boolean
return ( GetPlayerSlotState(ConvertedPlayer(GetForLoopIndexA())) == PLAYER_SLOT_STATE_PLAYING )
endfunction
function Trig_rename_resigned_players_Actions takes nothing returns nothing
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 12
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
if ( Trig_rename_resigned_players_Func001003001() ) then
call DoNothing( )
else
call LeaderboardSetPlayerItemLabelBJ( ConvertedPlayer(GetForLoopIndexA()), GetLastCreatedLeaderboard(), ( GetPlayerName(ConvertedPlayer(GetForLoopIndexA())) + ( "[" + ( "*" + "]" ) ) ) )
endif
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
endfunction
//===========================================================================
function InitTrig_rename_resigned_players takes nothing returns nothing
set gg_trg_rename_resigned_players = CreateTrigger( )
call TriggerRegisterTimerEventPeriodic( gg_trg_rename_resigned_players, 0.50 )
call TriggerAddAction( gg_trg_rename_resigned_players, function Trig_rename_resigned_players_Actions )
endfunction
function Trig_MoveKillingUnit_Func014001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Dublin, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func014001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Dublin, GetOwningPlayer(gg_unit_h00O_0052))) == true )
endfunction
function Trig_MoveKillingUnit_Func014001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func014001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func014001002001(), Trig_MoveKillingUnit_Func014001002002() )
endfunction
function Trig_MoveKillingUnit_Func014001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func014001001(), Trig_MoveKillingUnit_Func014001002() )
endfunction
function Trig_MoveKillingUnit_Func015001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Glasgow, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func015001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Glasgow, GetOwningPlayer(gg_unit_h00M_0053))) == true )
endfunction
function Trig_MoveKillingUnit_Func015001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func015001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func015001002001(), Trig_MoveKillingUnit_Func015001002002() )
endfunction
function Trig_MoveKillingUnit_Func015001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func015001001(), Trig_MoveKillingUnit_Func015001002() )
endfunction
function Trig_MoveKillingUnit_Func016001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Leeds, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func016001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Leeds, GetOwningPlayer(gg_unit_h00N_0054))) == true )
endfunction
function Trig_MoveKillingUnit_Func016001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func016001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func016001002001(), Trig_MoveKillingUnit_Func016001002002() )
endfunction
function Trig_MoveKillingUnit_Func016001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func016001001(), Trig_MoveKillingUnit_Func016001002() )
endfunction
function Trig_MoveKillingUnit_Func017001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Southampton, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func017001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Southampton, GetOwningPlayer(gg_unit_h00Q_0055))) == true )
endfunction
function Trig_MoveKillingUnit_Func017001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func017001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func017001002001(), Trig_MoveKillingUnit_Func017001002002() )
endfunction
function Trig_MoveKillingUnit_Func017001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func017001001(), Trig_MoveKillingUnit_Func017001002() )
endfunction
function Trig_MoveKillingUnit_Func018001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_London, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func018001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_London, GetOwningPlayer(gg_unit_h00P_0056))) == true )
endfunction
function Trig_MoveKillingUnit_Func018001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func018001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func018001002001(), Trig_MoveKillingUnit_Func018001002002() )
endfunction
function Trig_MoveKillingUnit_Func018001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func018001001(), Trig_MoveKillingUnit_Func018001002() )
endfunction
function Trig_MoveKillingUnit_Func019001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Brussel, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func019001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Brussel, GetOwningPlayer(gg_unit_h015_0057))) == true )
endfunction
function Trig_MoveKillingUnit_Func019001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func019001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func019001002001(), Trig_MoveKillingUnit_Func019001002002() )
endfunction
function Trig_MoveKillingUnit_Func019001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func019001001(), Trig_MoveKillingUnit_Func019001002() )
endfunction
function Trig_MoveKillingUnit_Func020001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Brest, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func020001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Brest, GetOwningPlayer(gg_unit_h018_0058))) == true )
endfunction
function Trig_MoveKillingUnit_Func020001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func020001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func020001002001(), Trig_MoveKillingUnit_Func020001002002() )
endfunction
function Trig_MoveKillingUnit_Func020001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func020001001(), Trig_MoveKillingUnit_Func020001002() )
endfunction
function Trig_MoveKillingUnit_Func021001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Near_Harad, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func021001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Near_Harad, GetOwningPlayer(gg_unit_h017_0060))) == true )
endfunction
function Trig_MoveKillingUnit_Func021001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func021001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func021001002001(), Trig_MoveKillingUnit_Func021001002002() )
endfunction
function Trig_MoveKillingUnit_Func021001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func021001001(), Trig_MoveKillingUnit_Func021001002() )
endfunction
function Trig_MoveKillingUnit_Func022001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Bordeaux, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func022001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Bordeaux, GetOwningPlayer(gg_unit_h019_0059))) == true )
endfunction
function Trig_MoveKillingUnit_Func022001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func022001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func022001002001(), Trig_MoveKillingUnit_Func022001002002() )
endfunction
function Trig_MoveKillingUnit_Func022001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func022001001(), Trig_MoveKillingUnit_Func022001002() )
endfunction
function Trig_MoveKillingUnit_Func023001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Marseille, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func023001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Marseille, GetOwningPlayer(gg_unit_h016_0061))) == true )
endfunction
function Trig_MoveKillingUnit_Func023001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func023001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func023001002001(), Trig_MoveKillingUnit_Func023001002002() )
endfunction
function Trig_MoveKillingUnit_Func023001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func023001001(), Trig_MoveKillingUnit_Func023001002() )
endfunction
function Trig_MoveKillingUnit_Func024001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Zaragoza, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func024001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Zaragoza, GetOwningPlayer(gg_unit_h011_0062))) == true )
endfunction
function Trig_MoveKillingUnit_Func024001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func024001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func024001002001(), Trig_MoveKillingUnit_Func024001002002() )
endfunction
function Trig_MoveKillingUnit_Func024001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func024001001(), Trig_MoveKillingUnit_Func024001002() )
endfunction
function Trig_MoveKillingUnit_Func025001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Malaga, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func025001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Malaga, GetOwningPlayer(gg_unit_h012_0063))) == true )
endfunction
function Trig_MoveKillingUnit_Func025001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func025001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func025001002001(), Trig_MoveKillingUnit_Func025001002002() )
endfunction
function Trig_MoveKillingUnit_Func025001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func025001001(), Trig_MoveKillingUnit_Func025001002() )
endfunction
function Trig_MoveKillingUnit_Func026001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_La_Coruna, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func026001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_La_Coruna, GetOwningPlayer(gg_unit_h013_0065))) == true )
endfunction
function Trig_MoveKillingUnit_Func026001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func026001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func026001002001(), Trig_MoveKillingUnit_Func026001002002() )
endfunction
function Trig_MoveKillingUnit_Func026001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func026001001(), Trig_MoveKillingUnit_Func026001002() )
endfunction
function Trig_MoveKillingUnit_Func027001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Lissabon, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func027001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Lissabon, GetOwningPlayer(gg_unit_h014_0064))) == true )
endfunction
function Trig_MoveKillingUnit_Func027001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func027001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func027001002001(), Trig_MoveKillingUnit_Func027001002002() )
endfunction
function Trig_MoveKillingUnit_Func027001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func027001001(), Trig_MoveKillingUnit_Func027001002() )
endfunction
function Trig_MoveKillingUnit_Func028001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Camp_of_Rohan_Riders, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func028001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Camp_of_Rohan_Riders, GetOwningPlayer(gg_unit_h00H_0066))) == true )
endfunction
function Trig_MoveKillingUnit_Func028001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func028001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func028001002001(), Trig_MoveKillingUnit_Func028001002002() )
endfunction
function Trig_MoveKillingUnit_Func028001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func028001001(), Trig_MoveKillingUnit_Func028001002() )
endfunction
function Trig_MoveKillingUnit_Func029001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Isengard, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func029001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Isengard, GetOwningPlayer(gg_unit_h00F_0067))) == true )
endfunction
function Trig_MoveKillingUnit_Func029001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func029001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func029001002001(), Trig_MoveKillingUnit_Func029001002002() )
endfunction
function Trig_MoveKillingUnit_Func029001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func029001001(), Trig_MoveKillingUnit_Func029001002() )
endfunction
function Trig_MoveKillingUnit_Func030001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Tunis, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func030001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Tunis, GetOwningPlayer(gg_unit_h00G_0068))) == true )
endfunction
function Trig_MoveKillingUnit_Func030001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func030001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func030001002001(), Trig_MoveKillingUnit_Func030001002002() )
endfunction
function Trig_MoveKillingUnit_Func030001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func030001001(), Trig_MoveKillingUnit_Func030001002() )
endfunction
function Trig_MoveKillingUnit_Func031001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Dunland, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func031001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Dunland, GetOwningPlayer(gg_unit_h00D_0069))) == true )
endfunction
function Trig_MoveKillingUnit_Func031001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func031001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func031001002001(), Trig_MoveKillingUnit_Func031001002002() )
endfunction
function Trig_MoveKillingUnit_Func031001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func031001001(), Trig_MoveKillingUnit_Func031001002() )
endfunction
function Trig_MoveKillingUnit_Func032001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Bree, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func032001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Bree, GetOwningPlayer(gg_unit_h00B_0070))) == true )
endfunction
function Trig_MoveKillingUnit_Func032001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func032001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func032001002001(), Trig_MoveKillingUnit_Func032001002002() )
endfunction
function Trig_MoveKillingUnit_Func032001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func032001001(), Trig_MoveKillingUnit_Func032001002() )
endfunction
function Trig_MoveKillingUnit_Func033001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Rivendell, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func033001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Rivendell, GetOwningPlayer(gg_unit_h00E_0071))) == true )
endfunction
function Trig_MoveKillingUnit_Func033001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func033001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func033001002001(), Trig_MoveKillingUnit_Func033001002002() )
endfunction
function Trig_MoveKillingUnit_Func033001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func033001001(), Trig_MoveKillingUnit_Func033001002() )
endfunction
function Trig_MoveKillingUnit_Func034001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Hobbiton, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func034001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Hobbiton, GetOwningPlayer(gg_unit_h00C_0072))) == true )
endfunction
function Trig_MoveKillingUnit_Func034001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func034001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func034001002001(), Trig_MoveKillingUnit_Func034001002002() )
endfunction
function Trig_MoveKillingUnit_Func034001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func034001001(), Trig_MoveKillingUnit_Func034001002() )
endfunction
function Trig_MoveKillingUnit_Func035001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Triest, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func035001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Triest, GetOwningPlayer(gg_unit_h00Y_0073))) == true )
endfunction
function Trig_MoveKillingUnit_Func035001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func035001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func035001002001(), Trig_MoveKillingUnit_Func035001002002() )
endfunction
function Trig_MoveKillingUnit_Func035001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func035001001(), Trig_MoveKillingUnit_Func035001002() )
endfunction
function Trig_MoveKillingUnit_Func036001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Bern, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func036001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Bern, GetOwningPlayer(gg_unit_h00W_0074))) == true )
endfunction
function Trig_MoveKillingUnit_Func036001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func036001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func036001002001(), Trig_MoveKillingUnit_Func036001002002() )
endfunction
function Trig_MoveKillingUnit_Func036001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func036001001(), Trig_MoveKillingUnit_Func036001002() )
endfunction
function Trig_MoveKillingUnit_Func037001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Frankfurt, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func037001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Frankfurt, GetOwningPlayer(gg_unit_h010_0075))) == true )
endfunction
function Trig_MoveKillingUnit_Func037001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func037001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func037001002001(), Trig_MoveKillingUnit_Func037001002002() )
endfunction
function Trig_MoveKillingUnit_Func037001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func037001001(), Trig_MoveKillingUnit_Func037001002() )
endfunction
function Trig_MoveKillingUnit_Func038001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Amsterdam, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func038001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Amsterdam, GetOwningPlayer(gg_unit_h00T_0076))) == true )
endfunction
function Trig_MoveKillingUnit_Func038001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func038001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func038001002001(), Trig_MoveKillingUnit_Func038001002002() )
endfunction
function Trig_MoveKillingUnit_Func038001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func038001001(), Trig_MoveKillingUnit_Func038001002() )
endfunction
function Trig_MoveKillingUnit_Func039001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Sczecin, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func039001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Sczecin, GetOwningPlayer(gg_unit_h00S_0077))) == true )
endfunction
function Trig_MoveKillingUnit_Func039001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func039001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func039001002001(), Trig_MoveKillingUnit_Func039001002002() )
endfunction
function Trig_MoveKillingUnit_Func039001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func039001001(), Trig_MoveKillingUnit_Func039001002() )
endfunction
function Trig_MoveKillingUnit_Func040001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Goteborg, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func040001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Goteborg, GetOwningPlayer(gg_unit_h01A_0100))) == true )
endfunction
function Trig_MoveKillingUnit_Func040001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func040001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func040001002001(), Trig_MoveKillingUnit_Func040001002002() )
endfunction
function Trig_MoveKillingUnit_Func040001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func040001001(), Trig_MoveKillingUnit_Func040001002() )
endfunction
function Trig_MoveKillingUnit_Func041001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Bergen, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func041001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Bergen, GetOwningPlayer(gg_unit_h01F_0101))) == true )
endfunction
function Trig_MoveKillingUnit_Func041001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func041001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func041001002001(), Trig_MoveKillingUnit_Func041001002002() )
endfunction
function Trig_MoveKillingUnit_Func041001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func041001001(), Trig_MoveKillingUnit_Func041001002() )
endfunction
function Trig_MoveKillingUnit_Func042001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Oslo, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func042001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Oslo, GetOwningPlayer(gg_unit_h01E_0099))) == true )
endfunction
function Trig_MoveKillingUnit_Func042001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func042001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func042001002001(), Trig_MoveKillingUnit_Func042001002002() )
endfunction
function Trig_MoveKillingUnit_Func042001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func042001001(), Trig_MoveKillingUnit_Func042001002() )
endfunction
function Trig_MoveKillingUnit_Func043001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Trondheim, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func043001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Trondheim, GetOwningPlayer(gg_unit_h01C_0098))) == true )
endfunction
function Trig_MoveKillingUnit_Func043001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func043001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func043001002001(), Trig_MoveKillingUnit_Func043001002002() )
endfunction
function Trig_MoveKillingUnit_Func043001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func043001001(), Trig_MoveKillingUnit_Func043001002() )
endfunction
function Trig_MoveKillingUnit_Func044001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Lulea, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func044001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Lulea, GetOwningPlayer(gg_unit_h01D_0096))) == true )
endfunction
function Trig_MoveKillingUnit_Func044001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func044001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func044001002001(), Trig_MoveKillingUnit_Func044001002002() )
endfunction
function Trig_MoveKillingUnit_Func044001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func044001001(), Trig_MoveKillingUnit_Func044001002() )
endfunction
function Trig_MoveKillingUnit_Func045001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Oulu, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func045001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Oulu, GetOwningPlayer(gg_unit_h01G_0097))) == true )
endfunction
function Trig_MoveKillingUnit_Func045001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func045001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func045001002001(), Trig_MoveKillingUnit_Func045001002002() )
endfunction
function Trig_MoveKillingUnit_Func045001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func045001001(), Trig_MoveKillingUnit_Func045001002() )
endfunction
function Trig_MoveKillingUnit_Func046001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Helsinki, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func046001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Helsinki, GetOwningPlayer(gg_unit_h01B_0095))) == true )
endfunction
function Trig_MoveKillingUnit_Func046001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func046001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func046001002001(), Trig_MoveKillingUnit_Func046001002002() )
endfunction
function Trig_MoveKillingUnit_Func046001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func046001001(), Trig_MoveKillingUnit_Func046001002() )
endfunction
function Trig_MoveKillingUnit_Func047001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Archangelsk, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func047001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Archangelsk, GetOwningPlayer(gg_unit_h01N_0094))) == true )
endfunction
function Trig_MoveKillingUnit_Func047001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func047001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func047001002001(), Trig_MoveKillingUnit_Func047001002002() )
endfunction
function Trig_MoveKillingUnit_Func047001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func047001001(), Trig_MoveKillingUnit_Func047001002() )
endfunction
function Trig_MoveKillingUnit_Func048001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Moskou, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func048001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Moskou, GetOwningPlayer(gg_unit_h01P_0090))) == true )
endfunction
function Trig_MoveKillingUnit_Func048001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func048001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func048001002001(), Trig_MoveKillingUnit_Func048001002002() )
endfunction
function Trig_MoveKillingUnit_Func048001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func048001001(), Trig_MoveKillingUnit_Func048001002() )
endfunction
function Trig_MoveKillingUnit_Func049001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Kotlas, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func049001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Kotlas, GetOwningPlayer(gg_unit_h01S_0093))) == true )
endfunction
function Trig_MoveKillingUnit_Func049001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func049001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func049001002001(), Trig_MoveKillingUnit_Func049001002002() )
endfunction
function Trig_MoveKillingUnit_Func049001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func049001001(), Trig_MoveKillingUnit_Func049001002() )
endfunction
function Trig_MoveKillingUnit_Func050001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_St_Petersburg, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func050001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_St_Petersburg, GetOwningPlayer(gg_unit_h01M_0092))) == true )
endfunction
function Trig_MoveKillingUnit_Func050001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func050001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func050001002001(), Trig_MoveKillingUnit_Func050001002002() )
endfunction
function Trig_MoveKillingUnit_Func050001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func050001001(), Trig_MoveKillingUnit_Func050001002() )
endfunction
function Trig_MoveKillingUnit_Func051001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Riga, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func051001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Riga, GetOwningPlayer(gg_unit_h01K_0091))) == true )
endfunction
function Trig_MoveKillingUnit_Func051001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func051001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func051001002001(), Trig_MoveKillingUnit_Func051001002002() )
endfunction
function Trig_MoveKillingUnit_Func051001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func051001001(), Trig_MoveKillingUnit_Func051001002() )
endfunction
function Trig_MoveKillingUnit_Func052001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Toela, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func052001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Toela, GetOwningPlayer(gg_unit_h01O_0089))) == true )
endfunction
function Trig_MoveKillingUnit_Func052001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func052001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func052001002001(), Trig_MoveKillingUnit_Func052001002002() )
endfunction
function Trig_MoveKillingUnit_Func052001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func052001001(), Trig_MoveKillingUnit_Func052001002() )
endfunction
function Trig_MoveKillingUnit_Func053001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Minsk, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func053001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Minsk, GetOwningPlayer(gg_unit_h01Q_0088))) == true )
endfunction
function Trig_MoveKillingUnit_Func053001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func053001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func053001002001(), Trig_MoveKillingUnit_Func053001002002() )
endfunction
function Trig_MoveKillingUnit_Func053001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func053001001(), Trig_MoveKillingUnit_Func053001002() )
endfunction
function Trig_MoveKillingUnit_Func054001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Warschau, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func054001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Warschau, GetOwningPlayer(gg_unit_h00Z_0087))) == true )
endfunction
function Trig_MoveKillingUnit_Func054001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func054001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func054001002001(), Trig_MoveKillingUnit_Func054001002002() )
endfunction
function Trig_MoveKillingUnit_Func054001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func054001001(), Trig_MoveKillingUnit_Func054001002() )
endfunction
function Trig_MoveKillingUnit_Func055001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Dol_Amroth, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func055001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Dol_Amroth, GetOwningPlayer(gg_unit_h00U_0078))) == true )
endfunction
function Trig_MoveKillingUnit_Func055001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func055001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func055001002001(), Trig_MoveKillingUnit_Func055001002002() )
endfunction
function Trig_MoveKillingUnit_Func055001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func055001001(), Trig_MoveKillingUnit_Func055001002() )
endfunction
function Trig_MoveKillingUnit_Func056001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Charkiw, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func056001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Charkiw, GetOwningPlayer(gg_unit_h01R_0086))) == true )
endfunction
function Trig_MoveKillingUnit_Func056001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func056001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func056001002001(), Trig_MoveKillingUnit_Func056001002002() )
endfunction
function Trig_MoveKillingUnit_Func056001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func056001001(), Trig_MoveKillingUnit_Func056001002() )
endfunction
function Trig_MoveKillingUnit_Func057001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Wolgagrad, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func057001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Wolgagrad, GetOwningPlayer(gg_unit_h009_0085))) == true )
endfunction
function Trig_MoveKillingUnit_Func057001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func057001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func057001002001(), Trig_MoveKillingUnit_Func057001002002() )
endfunction
function Trig_MoveKillingUnit_Func057001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func057001001(), Trig_MoveKillingUnit_Func057001002() )
endfunction
function Trig_MoveKillingUnit_Func058001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Boekarest, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func058001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Boekarest, GetOwningPlayer(gg_unit_h00R_0080))) == true )
endfunction
function Trig_MoveKillingUnit_Func058001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func058001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func058001002001(), Trig_MoveKillingUnit_Func058001002002() )
endfunction
function Trig_MoveKillingUnit_Func058001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func058001001(), Trig_MoveKillingUnit_Func058001002() )
endfunction
function Trig_MoveKillingUnit_Func059001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Sarajevo, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func059001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Sarajevo, GetOwningPlayer(gg_unit_h00X_0079))) == true )
endfunction
function Trig_MoveKillingUnit_Func059001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func059001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func059001002001(), Trig_MoveKillingUnit_Func059001002002() )
endfunction
function Trig_MoveKillingUnit_Func059001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func059001001(), Trig_MoveKillingUnit_Func059001002() )
endfunction
function Trig_MoveKillingUnit_Func060001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Athene, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func060001002001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Athene, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func060001002002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Athene, GetOwningPlayer(gg_unit_h00J_0081))) == true )
endfunction
function Trig_MoveKillingUnit_Func060001002002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func060001002002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func060001002002001(), Trig_MoveKillingUnit_Func060001002002002() )
endfunction
function Trig_MoveKillingUnit_Func060001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func060001002001(), Trig_MoveKillingUnit_Func060001002002() )
endfunction
function Trig_MoveKillingUnit_Func060001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func060001001(), Trig_MoveKillingUnit_Func060001002() )
endfunction
function Trig_MoveKillingUnit_Func061001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Istanbul, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func061001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Istanbul, GetOwningPlayer(gg_unit_h00L_0082))) == true )
endfunction
function Trig_MoveKillingUnit_Func061001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func061001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func061001002001(), Trig_MoveKillingUnit_Func061001002002() )
endfunction
function Trig_MoveKillingUnit_Func061001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func061001001(), Trig_MoveKillingUnit_Func061001002() )
endfunction
function Trig_MoveKillingUnit_Func062001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Tbilisi, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func062001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Tbilisi, GetOwningPlayer(gg_unit_h00K_0084))) == true )
endfunction
function Trig_MoveKillingUnit_Func062001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func062001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func062001002001(), Trig_MoveKillingUnit_Func062001002002() )
endfunction
function Trig_MoveKillingUnit_Func062001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func062001001(), Trig_MoveKillingUnit_Func062001002() )
endfunction
function Trig_MoveKillingUnit_Func063001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Aleppo, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func063001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Aleppo, GetOwningPlayer(gg_unit_h00I_0083))) == true )
endfunction
function Trig_MoveKillingUnit_Func063001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func063001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func063001002001(), Trig_MoveKillingUnit_Func063001002002() )
endfunction
function Trig_MoveKillingUnit_Func063001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func063001001(), Trig_MoveKillingUnit_Func063001002() )
endfunction
function Trig_MoveKillingUnit_Func064001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Oregon, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func064001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Oregon, GetOwningPlayer(gg_unit_h02K_0165))) == true )
endfunction
function Trig_MoveKillingUnit_Func064001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func064001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func064001002001(), Trig_MoveKillingUnit_Func064001002002() )
endfunction
function Trig_MoveKillingUnit_Func064001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func064001001(), Trig_MoveKillingUnit_Func064001002() )
endfunction
function Trig_MoveKillingUnit_Func065001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_California, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func065001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_California, GetOwningPlayer(gg_unit_h02M_0223))) == true )
endfunction
function Trig_MoveKillingUnit_Func065001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func065001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func065001002001(), Trig_MoveKillingUnit_Func065001002002() )
endfunction
function Trig_MoveKillingUnit_Func065001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func065001001(), Trig_MoveKillingUnit_Func065001002() )
endfunction
function Trig_MoveKillingUnit_Func066001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Florida, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func066001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Florida, GetOwningPlayer(gg_unit_h02O_0226))) == true )
endfunction
function Trig_MoveKillingUnit_Func066001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func066001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func066001002001(), Trig_MoveKillingUnit_Func066001002002() )
endfunction
function Trig_MoveKillingUnit_Func066001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func066001001(), Trig_MoveKillingUnit_Func066001002() )
endfunction
function Trig_MoveKillingUnit_Func067001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Region_089, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func067001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_089, GetOwningPlayer(gg_unit_h02Y_0170))) == true )
endfunction
function Trig_MoveKillingUnit_Func067001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func067001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func067001002001(), Trig_MoveKillingUnit_Func067001002002() )
endfunction
function Trig_MoveKillingUnit_Func067001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func067001001(), Trig_MoveKillingUnit_Func067001002() )
endfunction
function Trig_MoveKillingUnit_Func068001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Region_090, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func068001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_090, GetOwningPlayer(gg_unit_h02Z_0239))) == true )
endfunction
function Trig_MoveKillingUnit_Func068001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func068001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func068001002001(), Trig_MoveKillingUnit_Func068001002002() )
endfunction
function Trig_MoveKillingUnit_Func068001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func068001001(), Trig_MoveKillingUnit_Func068001002() )
endfunction
function Trig_MoveKillingUnit_Func069001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Region_091, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func069001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_091, GetOwningPlayer(gg_unit_h030_0245))) == true )
endfunction
function Trig_MoveKillingUnit_Func069001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func069001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func069001002001(), Trig_MoveKillingUnit_Func069001002002() )
endfunction
function Trig_MoveKillingUnit_Func069001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func069001001(), Trig_MoveKillingUnit_Func069001002() )
endfunction
function Trig_MoveKillingUnit_Func070001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Region_092, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func070001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_092, GetOwningPlayer(gg_unit_h031_0250))) == true )
endfunction
function Trig_MoveKillingUnit_Func070001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func070001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func070001002001(), Trig_MoveKillingUnit_Func070001002002() )
endfunction
function Trig_MoveKillingUnit_Func070001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func070001001(), Trig_MoveKillingUnit_Func070001002() )
endfunction
function Trig_MoveKillingUnit_Func071001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Region_093, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func071001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_093, GetOwningPlayer(gg_unit_h032_0252))) == true )
endfunction
function Trig_MoveKillingUnit_Func071001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func071001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func071001002001(), Trig_MoveKillingUnit_Func071001002002() )
endfunction
function Trig_MoveKillingUnit_Func071001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func071001001(), Trig_MoveKillingUnit_Func071001002() )
endfunction
function Trig_MoveKillingUnit_Func072001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Region_096, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func072001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_096, GetOwningPlayer(gg_unit_h033_0255))) == true )
endfunction
function Trig_MoveKillingUnit_Func072001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func072001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func072001002001(), Trig_MoveKillingUnit_Func072001002002() )
endfunction
function Trig_MoveKillingUnit_Func072001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func072001001(), Trig_MoveKillingUnit_Func072001002() )
endfunction
function Trig_MoveKillingUnit_Func073001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Region_097, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func073001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_097, GetOwningPlayer(gg_unit_h034_0257))) == true )
endfunction
function Trig_MoveKillingUnit_Func073001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func073001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func073001002001(), Trig_MoveKillingUnit_Func073001002002() )
endfunction
function Trig_MoveKillingUnit_Func073001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func073001001(), Trig_MoveKillingUnit_Func073001002() )
endfunction
function Trig_MoveKillingUnit_Func074001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Region_086, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func074001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_086, GetOwningPlayer(gg_unit_h02T_0233))) == true )
endfunction
function Trig_MoveKillingUnit_Func074001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func074001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func074001002001(), Trig_MoveKillingUnit_Func074001002002() )
endfunction
function Trig_MoveKillingUnit_Func074001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func074001001(), Trig_MoveKillingUnit_Func074001002() )
endfunction
function Trig_MoveKillingUnit_Func075001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Region_098, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func075001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_098, GetOwningPlayer(gg_unit_h035_0262))) == true )
endfunction
function Trig_MoveKillingUnit_Func075001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func075001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func075001002001(), Trig_MoveKillingUnit_Func075001002002() )
endfunction
function Trig_MoveKillingUnit_Func075001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func075001001(), Trig_MoveKillingUnit_Func075001002() )
endfunction
function Trig_MoveKillingUnit_Func076001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Region_099, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func076001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_099, GetOwningPlayer(gg_unit_h036_0261))) == true )
endfunction
function Trig_MoveKillingUnit_Func076001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func076001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func076001002001(), Trig_MoveKillingUnit_Func076001002002() )
endfunction
function Trig_MoveKillingUnit_Func076001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func076001001(), Trig_MoveKillingUnit_Func076001002() )
endfunction
function Trig_MoveKillingUnit_Func077001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Region_101, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func077001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_101, GetOwningPlayer(gg_unit_h037_0267))) == true )
endfunction
function Trig_MoveKillingUnit_Func077001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func077001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func077001002001(), Trig_MoveKillingUnit_Func077001002002() )
endfunction
function Trig_MoveKillingUnit_Func077001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func077001001(), Trig_MoveKillingUnit_Func077001002() )
endfunction
function Trig_MoveKillingUnit_Func078001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Region_100, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func078001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_100, GetOwningPlayer(gg_unit_h038_0268))) == true )
endfunction
function Trig_MoveKillingUnit_Func078001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func078001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func078001002001(), Trig_MoveKillingUnit_Func078001002002() )
endfunction
function Trig_MoveKillingUnit_Func078001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func078001001(), Trig_MoveKillingUnit_Func078001002() )
endfunction
function Trig_MoveKillingUnit_Func079001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Enedwaith, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func079001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Enedwaith, GetOwningPlayer(gg_unit_h039_0269))) == true )
endfunction
function Trig_MoveKillingUnit_Func079001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func079001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func079001002001(), Trig_MoveKillingUnit_Func079001002002() )
endfunction
function Trig_MoveKillingUnit_Func079001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func079001001(), Trig_MoveKillingUnit_Func079001002() )
endfunction
function Trig_MoveKillingUnit_Func080001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Region_103, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func080001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_103, GetOwningPlayer(gg_unit_h03A_0270))) == true )
endfunction
function Trig_MoveKillingUnit_Func080001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func080001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func080001002001(), Trig_MoveKillingUnit_Func080001002002() )
endfunction
function Trig_MoveKillingUnit_Func080001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func080001001(), Trig_MoveKillingUnit_Func080001002() )
endfunction
function Trig_MoveKillingUnit_Func081001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Region_088, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func081001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_088, GetOwningPlayer(gg_unit_h02U_0236))) == true )
endfunction
function Trig_MoveKillingUnit_Func081001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func081001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func081001002001(), Trig_MoveKillingUnit_Func081001002002() )
endfunction
function Trig_MoveKillingUnit_Func081001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func081001001(), Trig_MoveKillingUnit_Func081001002() )
endfunction
function Trig_MoveKillingUnit_Func082001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Region_087, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func082001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_087, GetOwningPlayer(gg_unit_h02V_0237))) == true )
endfunction
function Trig_MoveKillingUnit_Func082001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func082001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func082001002001(), Trig_MoveKillingUnit_Func082001002002() )
endfunction
function Trig_MoveKillingUnit_Func082001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func082001001(), Trig_MoveKillingUnit_Func082001002() )
endfunction
function Trig_MoveKillingUnit_Func083001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Region_085, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func083001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_085, GetOwningPlayer(gg_unit_h02P_0231))) == true )
endfunction
function Trig_MoveKillingUnit_Func083001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func083001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func083001002001(), Trig_MoveKillingUnit_Func083001002002() )
endfunction
function Trig_MoveKillingUnit_Func083001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func083001001(), Trig_MoveKillingUnit_Func083001002() )
endfunction
function Trig_MoveKillingUnit_Func084001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Region_083, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func084001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_083, GetOwningPlayer(gg_unit_h02X_0241))) == true )
endfunction
function Trig_MoveKillingUnit_Func084001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func084001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func084001002001(), Trig_MoveKillingUnit_Func084001002002() )
endfunction
function Trig_MoveKillingUnit_Func084001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func084001001(), Trig_MoveKillingUnit_Func084001002() )
endfunction
function Trig_MoveKillingUnit_Func085001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Region_062, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func085001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_062, GetOwningPlayer(gg_unit_h03C_0279))) == true )
endfunction
function Trig_MoveKillingUnit_Func085001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func085001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func085001002001(), Trig_MoveKillingUnit_Func085001002002() )
endfunction
function Trig_MoveKillingUnit_Func085001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func085001001(), Trig_MoveKillingUnit_Func085001002() )
endfunction
function Trig_MoveKillingUnit_Func086001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Region_104, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func086001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_104, GetOwningPlayer(gg_unit_h03F_0284))) == true )
endfunction
function Trig_MoveKillingUnit_Func086001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func086001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func086001002001(), Trig_MoveKillingUnit_Func086001002002() )
endfunction
function Trig_MoveKillingUnit_Func086001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func086001001(), Trig_MoveKillingUnit_Func086001002() )
endfunction
function Trig_MoveKillingUnit_Func087001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Region_105, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func087001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_105, GetOwningPlayer(gg_unit_h03E_0282))) == true )
endfunction
function Trig_MoveKillingUnit_Func087001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func087001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func087001002001(), Trig_MoveKillingUnit_Func087001002002() )
endfunction
function Trig_MoveKillingUnit_Func087001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func087001001(), Trig_MoveKillingUnit_Func087001002() )
endfunction
function Trig_MoveKillingUnit_Func088001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Region_121, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func088001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_121, GetOwningPlayer(gg_unit_h03L_0203))) == true )
endfunction
function Trig_MoveKillingUnit_Func088001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func088001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func088001002001(), Trig_MoveKillingUnit_Func088001002002() )
endfunction
function Trig_MoveKillingUnit_Func088001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func088001001(), Trig_MoveKillingUnit_Func088001002() )
endfunction
function Trig_MoveKillingUnit_Func089001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Region_122, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func089001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_122, GetOwningPlayer(gg_unit_h03N_0204))) == true )
endfunction
function Trig_MoveKillingUnit_Func089001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func089001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func089001002001(), Trig_MoveKillingUnit_Func089001002002() )
endfunction
function Trig_MoveKillingUnit_Func089001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func089001001(), Trig_MoveKillingUnit_Func089001002() )
endfunction
function Trig_MoveKillingUnit_Func090001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Region_130, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func090001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_130, GetOwningPlayer(gg_unit_h03S_0318))) == true )
endfunction
function Trig_MoveKillingUnit_Func090001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func090001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func090001002001(), Trig_MoveKillingUnit_Func090001002002() )
endfunction
function Trig_MoveKillingUnit_Func090001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func090001001(), Trig_MoveKillingUnit_Func090001002() )
endfunction
function Trig_MoveKillingUnit_Func091001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Region_129, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func091001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_129, GetOwningPlayer(gg_unit_h03X_0325))) == true )
endfunction
function Trig_MoveKillingUnit_Func091001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func091001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func091001002001(), Trig_MoveKillingUnit_Func091001002002() )
endfunction
function Trig_MoveKillingUnit_Func091001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func091001001(), Trig_MoveKillingUnit_Func091001002() )
endfunction
function Trig_MoveKillingUnit_Func092001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Region_128, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func092001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_128, GetOwningPlayer(gg_unit_h03U_0310))) == true )
endfunction
function Trig_MoveKillingUnit_Func092001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func092001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func092001002001(), Trig_MoveKillingUnit_Func092001002002() )
endfunction
function Trig_MoveKillingUnit_Func092001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func092001001(), Trig_MoveKillingUnit_Func092001002() )
endfunction
function Trig_MoveKillingUnit_Func093001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Region_127, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func093001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_127, GetOwningPlayer(gg_unit_h03R_0306))) == true )
endfunction
function Trig_MoveKillingUnit_Func093001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func093001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func093001002001(), Trig_MoveKillingUnit_Func093001002002() )
endfunction
function Trig_MoveKillingUnit_Func093001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func093001001(), Trig_MoveKillingUnit_Func093001002() )
endfunction
function Trig_MoveKillingUnit_Func094001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Region_126, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func094001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_126, GetOwningPlayer(gg_unit_h03V_0323))) == true )
endfunction
function Trig_MoveKillingUnit_Func094001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func094001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func094001002001(), Trig_MoveKillingUnit_Func094001002002() )
endfunction
function Trig_MoveKillingUnit_Func094001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func094001001(), Trig_MoveKillingUnit_Func094001002() )
endfunction
function Trig_MoveKillingUnit_Func095001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Region_125, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func095001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_125, GetOwningPlayer(gg_unit_h03W_0313))) == true )
endfunction
function Trig_MoveKillingUnit_Func095001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func095001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func095001002001(), Trig_MoveKillingUnit_Func095001002002() )
endfunction
function Trig_MoveKillingUnit_Func095001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func095001001(), Trig_MoveKillingUnit_Func095001002() )
endfunction
function Trig_MoveKillingUnit_Func096001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Region_124, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func096001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_124, GetOwningPlayer(gg_unit_h03T_0320))) == true )
endfunction
function Trig_MoveKillingUnit_Func096001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func096001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func096001002001(), Trig_MoveKillingUnit_Func096001002002() )
endfunction
function Trig_MoveKillingUnit_Func096001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func096001001(), Trig_MoveKillingUnit_Func096001002() )
endfunction
function Trig_MoveKillingUnit_Func097001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Region_133, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func097001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_133, GetOwningPlayer(gg_unit_h03Z_0329))) == true )
endfunction
function Trig_MoveKillingUnit_Func097001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func097001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func097001002001(), Trig_MoveKillingUnit_Func097001002002() )
endfunction
function Trig_MoveKillingUnit_Func097001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func097001001(), Trig_MoveKillingUnit_Func097001002() )
endfunction
function Trig_MoveKillingUnit_Func098001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Region_131, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func098001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_131, GetOwningPlayer(gg_unit_h040_0331))) == true )
endfunction
function Trig_MoveKillingUnit_Func098001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func098001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func098001002001(), Trig_MoveKillingUnit_Func098001002002() )
endfunction
function Trig_MoveKillingUnit_Func098001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func098001001(), Trig_MoveKillingUnit_Func098001002() )
endfunction
function Trig_MoveKillingUnit_Func099001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Region_132, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func099001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_132, GetOwningPlayer(gg_unit_h03Y_0328))) == true )
endfunction
function Trig_MoveKillingUnit_Func099001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func099001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func099001002001(), Trig_MoveKillingUnit_Func099001002002() )
endfunction
function Trig_MoveKillingUnit_Func099001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func099001001(), Trig_MoveKillingUnit_Func099001002() )
endfunction
function Trig_MoveKillingUnit_Func100001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Region_134, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func100001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_134, GetOwningPlayer(gg_unit_h041_0333))) == true )
endfunction
function Trig_MoveKillingUnit_Func100001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func100001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func100001002001(), Trig_MoveKillingUnit_Func100001002002() )
endfunction
function Trig_MoveKillingUnit_Func100001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func100001001(), Trig_MoveKillingUnit_Func100001002() )
endfunction
function Trig_MoveKillingUnit_Func101001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Region_137, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func101001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_137, GetOwningPlayer(gg_unit_h042_0177))) == true )
endfunction
function Trig_MoveKillingUnit_Func101001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func101001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func101001002001(), Trig_MoveKillingUnit_Func101001002002() )
endfunction
function Trig_MoveKillingUnit_Func101001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func101001001(), Trig_MoveKillingUnit_Func101001002() )
endfunction
function Trig_MoveKillingUnit_Func102001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Deads, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func102001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Deads, GetOwningPlayer(gg_unit_h044_0344))) == true )
endfunction
function Trig_MoveKillingUnit_Func102001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func102001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func102001002001(), Trig_MoveKillingUnit_Func102001002002() )
endfunction
function Trig_MoveKillingUnit_Func102001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func102001001(), Trig_MoveKillingUnit_Func102001002() )
endfunction
function Trig_MoveKillingUnit_Func103001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Deads_Copy, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func103001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Deads_Copy, GetOwningPlayer(gg_unit_h043_0346))) == true )
endfunction
function Trig_MoveKillingUnit_Func103001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func103001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func103001002001(), Trig_MoveKillingUnit_Func103001002002() )
endfunction
function Trig_MoveKillingUnit_Func103001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func103001001(), Trig_MoveKillingUnit_Func103001002() )
endfunction
function Trig_MoveKillingUnit_Func104001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_Deads_Copy_2, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func104001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Deads_Copy_2, GetOwningPlayer(gg_unit_h044_0347))) == true )
endfunction
function Trig_MoveKillingUnit_Func104001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func104001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func104001002001(), Trig_MoveKillingUnit_Func104001002002() )
endfunction
function Trig_MoveKillingUnit_Func104001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func104001001(), Trig_MoveKillingUnit_Func104001002() )
endfunction
function Trig_MoveKillingUnit_Func105001001 takes nothing returns boolean
return ( RectContainsUnit(gg_rct_West_City, GetTriggerUnit()) == true )
endfunction
function Trig_MoveKillingUnit_Func105001002001 takes nothing returns boolean
return ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_West_City, GetOwningPlayer(gg_unit_h00Z_0341))) == true )
endfunction
function Trig_MoveKillingUnit_Func105001002002 takes nothing returns boolean
return ( GetUnitTypeId(GetKillingUnitBJ()) != 'h001' )
endfunction
function Trig_MoveKillingUnit_Func105001002 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func105001002001(), Trig_MoveKillingUnit_Func105001002002() )
endfunction
function Trig_MoveKillingUnit_Func105001 takes nothing returns boolean
return GetBooleanAnd( Trig_MoveKillingUnit_Func105001001(), Trig_MoveKillingUnit_Func105001002() )
endfunction
function Trig_MoveKillingUnit_Actions takes nothing returns nothing
call SetUnitOwner( GetTriggerUnit(), Player(bj_PLAYER_NEUTRAL_VICTIM), false )
if ( Trig_MoveKillingUnit_Func014001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Dublin), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func015001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Glasgow), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func016001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Leeds), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func017001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Southampton), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func018001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_London), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func019001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Brussel), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func020001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Brest), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func021001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Near_Harad), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func022001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Bordeaux), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func023001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Marseille), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func024001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Zaragoza), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func025001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Malaga), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func026001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_La_Coruna), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func027001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Lissabon), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func028001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Camp_of_Rohan_Riders), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func029001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Isengard), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func030001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Tunis), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func031001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Dunland), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func032001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Bree), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func033001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Rivendell), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func034001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Hobbiton), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func035001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Triest), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func036001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Bern), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func037001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Frankfurt), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func038001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Amsterdam), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func039001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Sczecin), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func040001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Goteborg), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func041001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Bergen), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func042001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Oslo), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func043001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Trondheim), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func044001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Lulea), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func045001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Oulu), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func046001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Helsinki), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func047001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Archangelsk), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func048001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Moskou), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func049001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Kotlas), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func050001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_St_Petersburg), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func051001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Riga), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func052001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Toela), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func053001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Minsk), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func054001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Warschau), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func055001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Dol_Amroth), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func056001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Charkiw), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func057001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Wolgagrad), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func058001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Boekarest), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func059001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Sarajevo), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func060001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Athene), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func061001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Istanbul), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func062001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Tbilisi), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func063001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Aleppo), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func064001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Oregon), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func065001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_California), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func066001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Florida), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func067001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Region_089), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func068001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Region_090), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func069001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Region_091), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func070001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Region_092), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func071001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Region_093), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func072001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Region_096), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func073001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Region_097), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func074001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Region_086), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func075001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Region_098), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func076001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Region_099), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func077001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Region_101), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func078001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Region_100), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func079001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Enedwaith), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func080001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Region_103), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func081001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Region_088), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func082001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Region_087), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func083001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Region_085), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func084001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Region_083), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func085001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Region_062), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func086001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Region_104), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func087001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Region_105), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func088001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Region_121), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func089001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Region_122), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func090001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Region_130), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func091001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Region_129), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func092001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Region_128), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func093001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Region_127), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func094001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Region_126), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func095001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Region_125), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func096001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Region_124), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func097001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Region_133), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func098001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Region_131), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func099001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Region_132), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func100001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Region_134), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func101001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Region_137), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func102001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Deads), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func103001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Deads_Copy), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func104001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_Deads_Copy_2), bj_UNIT_FACING )
else
call DoNothing( )
endif
if ( Trig_MoveKillingUnit_Func105001() ) then
call SetUnitPositionLocFacingBJ( GetKillingUnitBJ(), GetRectCenter(gg_rct_West_City), bj_UNIT_FACING )
else
call DoNothing( )
endif
endfunction
//===========================================================================
function InitTrig_MoveKillingUnit takes nothing returns nothing
set gg_trg_MoveKillingUnit = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_MoveKillingUnit, Player(0), EVENT_PLAYER_UNIT_DEATH )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_MoveKillingUnit, Player(1), EVENT_PLAYER_UNIT_DEATH )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_MoveKillingUnit, Player(2), EVENT_PLAYER_UNIT_DEATH )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_MoveKillingUnit, Player(3), EVENT_PLAYER_UNIT_DEATH )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_MoveKillingUnit, Player(4), EVENT_PLAYER_UNIT_DEATH )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_MoveKillingUnit, Player(5), EVENT_PLAYER_UNIT_DEATH )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_MoveKillingUnit, Player(6), EVENT_PLAYER_UNIT_DEATH )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_MoveKillingUnit, Player(7), EVENT_PLAYER_UNIT_DEATH )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_MoveKillingUnit, Player(8), EVENT_PLAYER_UNIT_DEATH )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_MoveKillingUnit, Player(9), EVENT_PLAYER_UNIT_DEATH )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_MoveKillingUnit, Player(10), EVENT_PLAYER_UNIT_DEATH )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_MoveKillingUnit, Player(11), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddAction( gg_trg_MoveKillingUnit, function Trig_MoveKillingUnit_Actions )
endfunction
function Trig_Dublin_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Dublin, GetOwningPlayer(gg_unit_h00O_0052))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Dublin_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h00O_0052, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0103, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Dublin takes nothing returns nothing
set gg_trg_Dublin = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Dublin, gg_rct_Dublin )
call TriggerAddCondition( gg_trg_Dublin, Condition( function Trig_Dublin_Conditions ) )
call TriggerAddAction( gg_trg_Dublin, function Trig_Dublin_Actions )
endfunction
function Trig_DEads_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Deads, GetOwningPlayer(gg_unit_h044_0344))) == true ) ) then
return false
endif
return true
endfunction
function Trig_DEads_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h044_0344, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0348, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_DEads takes nothing returns nothing
set gg_trg_DEads = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_DEads, gg_rct_Deads )
call TriggerAddCondition( gg_trg_DEads, Condition( function Trig_DEads_Conditions ) )
call TriggerAddAction( gg_trg_DEads, function Trig_DEads_Actions )
endfunction
function Trig_NEW_CITY_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_West_City, GetOwningPlayer(gg_unit_h00Z_0341))) == true ) ) then
return false
endif
return true
endfunction
function Trig_NEW_CITY_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h00Z_0341, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0342, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_NEW_CITY takes nothing returns nothing
set gg_trg_NEW_CITY = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_NEW_CITY, gg_rct_West_City )
call TriggerAddCondition( gg_trg_NEW_CITY, Condition( function Trig_NEW_CITY_Conditions ) )
call TriggerAddAction( gg_trg_NEW_CITY, function Trig_NEW_CITY_Actions )
endfunction
function Trig_DEads_Copy_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Deads_Copy, GetOwningPlayer(gg_unit_h043_0346))) == true ) ) then
return false
endif
return true
endfunction
function Trig_DEads_Copy_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h043_0346, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0349, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_DEads_Copy takes nothing returns nothing
set gg_trg_DEads_Copy = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_DEads_Copy, gg_rct_Deads_Copy )
call TriggerAddCondition( gg_trg_DEads_Copy, Condition( function Trig_DEads_Copy_Conditions ) )
call TriggerAddAction( gg_trg_DEads_Copy, function Trig_DEads_Copy_Actions )
endfunction
function Trig_DEads_Copy_2_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Deads_Copy_2, GetOwningPlayer(gg_unit_h044_0347))) == true ) ) then
return false
endif
return true
endfunction
function Trig_DEads_Copy_2_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h044_0347, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0350, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_DEads_Copy_2 takes nothing returns nothing
set gg_trg_DEads_Copy_2 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_DEads_Copy_2, gg_rct_Deads_Copy_2 )
call TriggerAddCondition( gg_trg_DEads_Copy_2, Condition( function Trig_DEads_Copy_2_Conditions ) )
call TriggerAddAction( gg_trg_DEads_Copy_2, function Trig_DEads_Copy_2_Actions )
endfunction
function Trig_Ngondor_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_137, GetOwningPlayer(gg_unit_h042_0177))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Ngondor_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h042_0177, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_hgtw_0340, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Ngondor takes nothing returns nothing
set gg_trg_Ngondor = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Ngondor, gg_rct_Region_137 )
call TriggerAddCondition( gg_trg_Ngondor, Condition( function Trig_Ngondor_Conditions ) )
call TriggerAddAction( gg_trg_Ngondor, function Trig_Ngondor_Actions )
endfunction
function Trig_Glasgow_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Glasgow, GetOwningPlayer(gg_unit_h00M_0053))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Glasgow_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h00M_0053, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0108, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Glasgow takes nothing returns nothing
set gg_trg_Glasgow = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Glasgow, gg_rct_Glasgow )
call TriggerAddCondition( gg_trg_Glasgow, Condition( function Trig_Glasgow_Conditions ) )
call TriggerAddAction( gg_trg_Glasgow, function Trig_Glasgow_Actions )
endfunction
function Trig_Leeds_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Leeds, GetOwningPlayer(gg_unit_h00N_0054))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Leeds_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h00N_0054, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0113, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Leeds takes nothing returns nothing
set gg_trg_Leeds = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Leeds, gg_rct_Leeds )
call TriggerAddCondition( gg_trg_Leeds, Condition( function Trig_Leeds_Conditions ) )
call TriggerAddAction( gg_trg_Leeds, function Trig_Leeds_Actions )
endfunction
function Trig_London_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_London, GetOwningPlayer(gg_unit_h00P_0056))) == true ) ) then
return false
endif
return true
endfunction
function Trig_London_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h00P_0056, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0120, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_London takes nothing returns nothing
set gg_trg_London = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_London, gg_rct_London )
call TriggerAddCondition( gg_trg_London, Condition( function Trig_London_Conditions ) )
call TriggerAddAction( gg_trg_London, function Trig_London_Actions )
endfunction
function Trig_Southampton_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Southampton, GetOwningPlayer(gg_unit_h00Q_0055))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Southampton_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h00Q_0055, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0124, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Southampton takes nothing returns nothing
set gg_trg_Southampton = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Southampton, gg_rct_Southampton )
call TriggerAddCondition( gg_trg_Southampton, Condition( function Trig_Southampton_Conditions ) )
call TriggerAddAction( gg_trg_Southampton, function Trig_Southampton_Actions )
endfunction
function Trig_Brussel_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Brussel, GetOwningPlayer(gg_unit_h015_0057))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Brussel_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h015_0057, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0130, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Brussel takes nothing returns nothing
set gg_trg_Brussel = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Brussel, gg_rct_Brussel )
call TriggerAddCondition( gg_trg_Brussel, Condition( function Trig_Brussel_Conditions ) )
call TriggerAddAction( gg_trg_Brussel, function Trig_Brussel_Actions )
endfunction
function Trig_Amsterdam_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Amsterdam, GetOwningPlayer(gg_unit_h00T_0076))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Amsterdam_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h00T_0076, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0153, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Amsterdam takes nothing returns nothing
set gg_trg_Amsterdam = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Amsterdam, gg_rct_Amsterdam )
call TriggerAddCondition( gg_trg_Amsterdam, Condition( function Trig_Amsterdam_Conditions ) )
call TriggerAddAction( gg_trg_Amsterdam, function Trig_Amsterdam_Actions )
endfunction
function Trig_Brest_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Brest, GetOwningPlayer(gg_unit_h018_0058))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Brest_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h018_0058, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0126, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Brest takes nothing returns nothing
set gg_trg_Brest = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Brest, gg_rct_Brest )
call TriggerAddCondition( gg_trg_Brest, Condition( function Trig_Brest_Conditions ) )
call TriggerAddAction( gg_trg_Brest, function Trig_Brest_Actions )
endfunction
function Trig_Near_Harad_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Near_Harad, GetOwningPlayer(gg_unit_h017_0060))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Near_Harad_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h017_0060, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0136, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Near_Harad takes nothing returns nothing
set gg_trg_Near_Harad = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Near_Harad, gg_rct_Near_Harad )
call TriggerAddCondition( gg_trg_Near_Harad, Condition( function Trig_Near_Harad_Conditions ) )
call TriggerAddAction( gg_trg_Near_Harad, function Trig_Near_Harad_Actions )
endfunction
function Trig_Bordeaux_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Bordeaux, GetOwningPlayer(gg_unit_h019_0059))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Bordeaux_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h019_0059, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0140, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Bordeaux takes nothing returns nothing
set gg_trg_Bordeaux = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Bordeaux, gg_rct_Bordeaux )
call TriggerAddCondition( gg_trg_Bordeaux, Condition( function Trig_Bordeaux_Conditions ) )
call TriggerAddAction( gg_trg_Bordeaux, function Trig_Bordeaux_Actions )
endfunction
function Trig_Marseille_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Marseille, GetOwningPlayer(gg_unit_h016_0061))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Marseille_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h016_0061, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0142, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Marseille takes nothing returns nothing
set gg_trg_Marseille = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Marseille, gg_rct_Marseille )
call TriggerAddCondition( gg_trg_Marseille, Condition( function Trig_Marseille_Conditions ) )
call TriggerAddAction( gg_trg_Marseille, function Trig_Marseille_Actions )
endfunction
function Trig_Zaragoza_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Zaragoza, GetOwningPlayer(gg_unit_h011_0062))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Zaragoza_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h011_0062, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0147, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Zaragoza takes nothing returns nothing
set gg_trg_Zaragoza = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Zaragoza, gg_rct_Zaragoza )
call TriggerAddCondition( gg_trg_Zaragoza, Condition( function Trig_Zaragoza_Conditions ) )
call TriggerAddAction( gg_trg_Zaragoza, function Trig_Zaragoza_Actions )
endfunction
function Trig_La_Coruna_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_La_Coruna, GetOwningPlayer(gg_unit_h013_0065))) == true ) ) then
return false
endif
return true
endfunction
function Trig_La_Coruna_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h013_0065, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_hshy_0304, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0152, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_La_Coruna takes nothing returns nothing
set gg_trg_La_Coruna = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_La_Coruna, gg_rct_La_Coruna )
call TriggerAddCondition( gg_trg_La_Coruna, Condition( function Trig_La_Coruna_Conditions ) )
call TriggerAddAction( gg_trg_La_Coruna, function Trig_La_Coruna_Actions )
endfunction
function Trig_Malaga_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Malaga, GetOwningPlayer(gg_unit_h012_0063))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Malaga_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h012_0063, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0112, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Malaga takes nothing returns nothing
set gg_trg_Malaga = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Malaga, gg_rct_Malaga )
call TriggerAddCondition( gg_trg_Malaga, Condition( function Trig_Malaga_Conditions ) )
call TriggerAddAction( gg_trg_Malaga, function Trig_Malaga_Actions )
endfunction
function Trig_Lissabon_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Lissabon, GetOwningPlayer(gg_unit_h014_0064))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Lissabon_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h014_0064, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0107, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Lissabon takes nothing returns nothing
set gg_trg_Lissabon = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Lissabon, gg_rct_Lissabon )
call TriggerAddCondition( gg_trg_Lissabon, Condition( function Trig_Lissabon_Conditions ) )
call TriggerAddAction( gg_trg_Lissabon, function Trig_Lissabon_Actions )
endfunction
function Trig_Camp_of_rohan_riders_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Camp_of_Rohan_Riders, GetOwningPlayer(gg_unit_h00H_0066))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Camp_of_rohan_riders_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h00H_0066, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0117, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Camp_of_rohan_riders takes nothing returns nothing
set gg_trg_Camp_of_rohan_riders = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Camp_of_rohan_riders, gg_rct_Camp_of_Rohan_Riders )
call TriggerAddCondition( gg_trg_Camp_of_rohan_riders, Condition( function Trig_Camp_of_rohan_riders_Conditions ) )
call TriggerAddAction( gg_trg_Camp_of_rohan_riders, function Trig_Camp_of_rohan_riders_Actions )
endfunction
function Trig_Oujda_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Isengard, GetOwningPlayer(gg_unit_h00F_0067))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Oujda_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h00F_0067, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0118, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Oujda takes nothing returns nothing
set gg_trg_Oujda = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Oujda, gg_rct_Isengard )
call TriggerAddCondition( gg_trg_Oujda, Condition( function Trig_Oujda_Conditions ) )
call TriggerAddAction( gg_trg_Oujda, function Trig_Oujda_Actions )
endfunction
function Trig_Tunis_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Tunis, GetOwningPlayer(gg_unit_h00G_0068))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Tunis_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h00G_0068, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0123, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Tunis takes nothing returns nothing
set gg_trg_Tunis = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Tunis, gg_rct_Tunis )
call TriggerAddCondition( gg_trg_Tunis, Condition( function Trig_Tunis_Conditions ) )
call TriggerAddAction( gg_trg_Tunis, function Trig_Tunis_Actions )
endfunction
function Trig_Palermo_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Dunland, GetOwningPlayer(gg_unit_h00D_0069))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Palermo_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h00D_0069, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0127, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Palermo takes nothing returns nothing
set gg_trg_Palermo = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Palermo, gg_rct_Dunland )
call TriggerAddCondition( gg_trg_Palermo, Condition( function Trig_Palermo_Conditions ) )
call TriggerAddAction( gg_trg_Palermo, function Trig_Palermo_Actions )
endfunction
function Trig_Napels_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Bree, GetOwningPlayer(gg_unit_h00B_0070))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Napels_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h00B_0070, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0131, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Napels takes nothing returns nothing
set gg_trg_Napels = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Napels, gg_rct_Bree )
call TriggerAddCondition( gg_trg_Napels, Condition( function Trig_Napels_Conditions ) )
call TriggerAddAction( gg_trg_Napels, function Trig_Napels_Actions )
endfunction
function Trig_Rome_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Rivendell, GetOwningPlayer(gg_unit_h00E_0071))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Rome_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h00E_0071, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0135, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Rome takes nothing returns nothing
set gg_trg_Rome = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Rome, gg_rct_Rivendell )
call TriggerAddCondition( gg_trg_Rome, Condition( function Trig_Rome_Conditions ) )
call TriggerAddAction( gg_trg_Rome, function Trig_Rome_Actions )
endfunction
function Trig_Milaan_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Hobbiton, GetOwningPlayer(gg_unit_h00C_0072))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Milaan_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h00C_0072, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0139, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Milaan takes nothing returns nothing
set gg_trg_Milaan = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Milaan, gg_rct_Hobbiton )
call TriggerAddCondition( gg_trg_Milaan, Condition( function Trig_Milaan_Conditions ) )
call TriggerAddAction( gg_trg_Milaan, function Trig_Milaan_Actions )
endfunction
function Trig_Triest_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Triest, GetOwningPlayer(gg_unit_h00Y_0073))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Triest_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h00Y_0073, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0143, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Triest takes nothing returns nothing
set gg_trg_Triest = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Triest, gg_rct_Triest )
call TriggerAddCondition( gg_trg_Triest, Condition( function Trig_Triest_Conditions ) )
call TriggerAddAction( gg_trg_Triest, function Trig_Triest_Actions )
endfunction
function Trig_Bern_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Bern, GetOwningPlayer(gg_unit_h00W_0074))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Bern_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h00W_0074, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0148, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Bern takes nothing returns nothing
set gg_trg_Bern = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Bern, gg_rct_Bern )
call TriggerAddCondition( gg_trg_Bern, Condition( function Trig_Bern_Conditions ) )
call TriggerAddAction( gg_trg_Bern, function Trig_Bern_Actions )
endfunction
function Trig_Frankfurt_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Frankfurt, GetOwningPlayer(gg_unit_h010_0075))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Frankfurt_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h010_0075, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0109, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Frankfurt takes nothing returns nothing
set gg_trg_Frankfurt = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Frankfurt, gg_rct_Frankfurt )
call TriggerAddCondition( gg_trg_Frankfurt, Condition( function Trig_Frankfurt_Conditions ) )
call TriggerAddAction( gg_trg_Frankfurt, function Trig_Frankfurt_Actions )
endfunction
function Trig_Scezecin_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Sczecin, GetOwningPlayer(gg_unit_h00S_0077))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Scezecin_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h00S_0077, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0115, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Scezecin takes nothing returns nothing
set gg_trg_Scezecin = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Scezecin, gg_rct_Sczecin )
call TriggerAddCondition( gg_trg_Scezecin, Condition( function Trig_Scezecin_Conditions ) )
call TriggerAddAction( gg_trg_Scezecin, function Trig_Scezecin_Actions )
endfunction
function Trig_Oregon_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Oregon, GetOwningPlayer(gg_unit_h02K_0165))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Oregon_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h02K_0165, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0225, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Oregon takes nothing returns nothing
set gg_trg_Oregon = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Oregon, gg_rct_Oregon )
call TriggerAddCondition( gg_trg_Oregon, Condition( function Trig_Oregon_Conditions ) )
call TriggerAddAction( gg_trg_Oregon, function Trig_Oregon_Actions )
endfunction
function Trig_Goteborg_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Goteborg, GetOwningPlayer(gg_unit_h01A_0100))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Goteborg_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h01A_0100, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0121, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Goteborg takes nothing returns nothing
set gg_trg_Goteborg = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Goteborg, gg_rct_Goteborg )
call TriggerAddCondition( gg_trg_Goteborg, Condition( function Trig_Goteborg_Conditions ) )
call TriggerAddAction( gg_trg_Goteborg, function Trig_Goteborg_Actions )
endfunction
function Trig_Oslo_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Oslo, GetOwningPlayer(gg_unit_h01E_0099))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Oslo_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h01E_0099, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0125, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Oslo takes nothing returns nothing
set gg_trg_Oslo = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Oslo, gg_rct_Oslo )
call TriggerAddCondition( gg_trg_Oslo, Condition( function Trig_Oslo_Conditions ) )
call TriggerAddAction( gg_trg_Oslo, function Trig_Oslo_Actions )
endfunction
function Trig_Bergen_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Bergen, GetOwningPlayer(gg_unit_h01F_0101))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Bergen_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h01F_0101, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0129, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Bergen takes nothing returns nothing
set gg_trg_Bergen = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Bergen, gg_rct_Bergen )
call TriggerAddCondition( gg_trg_Bergen, Condition( function Trig_Bergen_Conditions ) )
call TriggerAddAction( gg_trg_Bergen, function Trig_Bergen_Actions )
endfunction
function Trig_Trondheim_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Trondheim, GetOwningPlayer(gg_unit_h01C_0098))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Trondheim_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h01C_0098, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0133, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Trondheim takes nothing returns nothing
set gg_trg_Trondheim = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Trondheim, gg_rct_Trondheim )
call TriggerAddCondition( gg_trg_Trondheim, Condition( function Trig_Trondheim_Conditions ) )
call TriggerAddAction( gg_trg_Trondheim, function Trig_Trondheim_Actions )
endfunction
function Trig_Lulea_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Lulea, GetOwningPlayer(gg_unit_h01D_0096))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Lulea_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h01D_0096, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0137, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Lulea takes nothing returns nothing
set gg_trg_Lulea = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Lulea, gg_rct_Lulea )
call TriggerAddCondition( gg_trg_Lulea, Condition( function Trig_Lulea_Conditions ) )
call TriggerAddAction( gg_trg_Lulea, function Trig_Lulea_Actions )
endfunction
function Trig_Oulu_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Oulu, GetOwningPlayer(gg_unit_h01G_0097))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Oulu_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h01G_0097, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0145, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Oulu takes nothing returns nothing
set gg_trg_Oulu = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Oulu, gg_rct_Oulu )
call TriggerAddCondition( gg_trg_Oulu, Condition( function Trig_Oulu_Conditions ) )
call TriggerAddAction( gg_trg_Oulu, function Trig_Oulu_Actions )
endfunction
function Trig_Helsinki_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Helsinki, GetOwningPlayer(gg_unit_h01B_0095))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Helsinki_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h01B_0095, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0141, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Helsinki takes nothing returns nothing
set gg_trg_Helsinki = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Helsinki, gg_rct_Helsinki )
call TriggerAddCondition( gg_trg_Helsinki, Condition( function Trig_Helsinki_Conditions ) )
call TriggerAddAction( gg_trg_Helsinki, function Trig_Helsinki_Actions )
endfunction
function Trig_Archangelsk_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Archangelsk, GetOwningPlayer(gg_unit_h01N_0094))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Archangelsk_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h01N_0094, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0149, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Archangelsk takes nothing returns nothing
set gg_trg_Archangelsk = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Archangelsk, gg_rct_Archangelsk )
call TriggerAddCondition( gg_trg_Archangelsk, Condition( function Trig_Archangelsk_Conditions ) )
call TriggerAddAction( gg_trg_Archangelsk, function Trig_Archangelsk_Actions )
endfunction
function Trig_Kotlas_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Kotlas, GetOwningPlayer(gg_unit_h01S_0093))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Kotlas_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h01S_0093, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0150, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Kotlas takes nothing returns nothing
set gg_trg_Kotlas = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Kotlas, gg_rct_Kotlas )
call TriggerAddCondition( gg_trg_Kotlas, Condition( function Trig_Kotlas_Conditions ) )
call TriggerAddAction( gg_trg_Kotlas, function Trig_Kotlas_Actions )
endfunction
function Trig_StPetersburg_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_St_Petersburg, GetOwningPlayer(gg_unit_h01M_0092))) == true ) ) then
return false
endif
return true
endfunction
function Trig_StPetersburg_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h01M_0092, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0105, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_StPetersburg takes nothing returns nothing
set gg_trg_StPetersburg = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_StPetersburg, gg_rct_St_Petersburg )
call TriggerAddCondition( gg_trg_StPetersburg, Condition( function Trig_StPetersburg_Conditions ) )
call TriggerAddAction( gg_trg_StPetersburg, function Trig_StPetersburg_Actions )
endfunction
function Trig_Moskou_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Moskou, GetOwningPlayer(gg_unit_h01P_0090))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Moskou_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h01P_0090, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0111, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Moskou takes nothing returns nothing
set gg_trg_Moskou = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Moskou, gg_rct_Moskou )
call TriggerAddCondition( gg_trg_Moskou, Condition( function Trig_Moskou_Conditions ) )
call TriggerAddAction( gg_trg_Moskou, function Trig_Moskou_Actions )
endfunction
function Trig_Riga_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Riga, GetOwningPlayer(gg_unit_h01K_0091))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Riga_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h01K_0091, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0114, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Riga takes nothing returns nothing
set gg_trg_Riga = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Riga, gg_rct_Riga )
call TriggerAddCondition( gg_trg_Riga, Condition( function Trig_Riga_Conditions ) )
call TriggerAddAction( gg_trg_Riga, function Trig_Riga_Actions )
endfunction
function Trig_Toela_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Toela, GetOwningPlayer(gg_unit_h01O_0089))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Toela_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h01O_0089, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0151, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Toela takes nothing returns nothing
set gg_trg_Toela = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Toela, gg_rct_Toela )
call TriggerAddCondition( gg_trg_Toela, Condition( function Trig_Toela_Conditions ) )
call TriggerAddAction( gg_trg_Toela, function Trig_Toela_Actions )
endfunction
function Trig_Minsk_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Minsk, GetOwningPlayer(gg_unit_h01Q_0088))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Minsk_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h01Q_0088, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0106, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Minsk takes nothing returns nothing
set gg_trg_Minsk = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Minsk, gg_rct_Minsk )
call TriggerAddCondition( gg_trg_Minsk, Condition( function Trig_Minsk_Conditions ) )
call TriggerAddAction( gg_trg_Minsk, function Trig_Minsk_Actions )
endfunction
function Trig_Warschau_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Warschau, GetOwningPlayer(gg_unit_h00Z_0087))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Warschau_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h00Z_0087, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0110, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Warschau takes nothing returns nothing
set gg_trg_Warschau = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Warschau, gg_rct_Warschau )
call TriggerAddCondition( gg_trg_Warschau, Condition( function Trig_Warschau_Conditions ) )
call TriggerAddAction( gg_trg_Warschau, function Trig_Warschau_Actions )
endfunction
function Trig_Boedepest_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Dol_Amroth, GetOwningPlayer(gg_unit_h00U_0078))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Boedepest_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h00U_0078, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_hshy_0305, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0116, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Boedepest takes nothing returns nothing
set gg_trg_Boedepest = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Boedepest, gg_rct_Dol_Amroth )
call TriggerAddCondition( gg_trg_Boedepest, Condition( function Trig_Boedepest_Conditions ) )
call TriggerAddAction( gg_trg_Boedepest, function Trig_Boedepest_Actions )
endfunction
function Trig_Charkiw_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Charkiw, GetOwningPlayer(gg_unit_h01R_0086))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Charkiw_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h01R_0086, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0144, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Charkiw takes nothing returns nothing
set gg_trg_Charkiw = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Charkiw, gg_rct_Charkiw )
call TriggerAddCondition( gg_trg_Charkiw, Condition( function Trig_Charkiw_Conditions ) )
call TriggerAddAction( gg_trg_Charkiw, function Trig_Charkiw_Actions )
endfunction
function Trig_Wolgagrad_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Wolgagrad, GetOwningPlayer(gg_unit_h009_0085))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Wolgagrad_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h009_0085, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0138, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Wolgagrad takes nothing returns nothing
set gg_trg_Wolgagrad = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Wolgagrad, gg_rct_Wolgagrad )
call TriggerAddCondition( gg_trg_Wolgagrad, Condition( function Trig_Wolgagrad_Conditions ) )
call TriggerAddAction( gg_trg_Wolgagrad, function Trig_Wolgagrad_Actions )
endfunction
function Trig_Boekarest_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Boekarest, GetOwningPlayer(gg_unit_h00R_0080))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Boekarest_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h00R_0080, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0146, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Boekarest takes nothing returns nothing
set gg_trg_Boekarest = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Boekarest, gg_rct_Boekarest )
call TriggerAddCondition( gg_trg_Boekarest, Condition( function Trig_Boekarest_Conditions ) )
call TriggerAddAction( gg_trg_Boekarest, function Trig_Boekarest_Actions )
endfunction
function Trig_Sarajevo_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Sarajevo, GetOwningPlayer(gg_unit_h00X_0079))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Sarajevo_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h00X_0079, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0119, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Sarajevo takes nothing returns nothing
set gg_trg_Sarajevo = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Sarajevo, gg_rct_Sarajevo )
call TriggerAddCondition( gg_trg_Sarajevo, Condition( function Trig_Sarajevo_Conditions ) )
call TriggerAddAction( gg_trg_Sarajevo, function Trig_Sarajevo_Actions )
endfunction
function Trig_Athene_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Athene, GetOwningPlayer(gg_unit_h00J_0081))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Athene_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h00J_0081, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0122, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Athene takes nothing returns nothing
set gg_trg_Athene = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Athene, gg_rct_Athene )
call TriggerAddCondition( gg_trg_Athene, Condition( function Trig_Athene_Conditions ) )
call TriggerAddAction( gg_trg_Athene, function Trig_Athene_Actions )
endfunction
function Trig_Istanbul_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Istanbul, GetOwningPlayer(gg_unit_h00L_0082))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Istanbul_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h00L_0082, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0132, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Istanbul takes nothing returns nothing
set gg_trg_Istanbul = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Istanbul, gg_rct_Istanbul )
call TriggerAddCondition( gg_trg_Istanbul, Condition( function Trig_Istanbul_Conditions ) )
call TriggerAddAction( gg_trg_Istanbul, function Trig_Istanbul_Actions )
endfunction
function Trig_Tbilisi_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Tbilisi, GetOwningPlayer(gg_unit_h00K_0084))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Tbilisi_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h00K_0084, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0134, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Tbilisi takes nothing returns nothing
set gg_trg_Tbilisi = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Tbilisi, gg_rct_Tbilisi )
call TriggerAddCondition( gg_trg_Tbilisi, Condition( function Trig_Tbilisi_Conditions ) )
call TriggerAddAction( gg_trg_Tbilisi, function Trig_Tbilisi_Actions )
endfunction
function Trig_Aleppo_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Aleppo, GetOwningPlayer(gg_unit_h00I_0083))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Aleppo_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h00I_0083, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0128, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Aleppo takes nothing returns nothing
set gg_trg_Aleppo = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Aleppo, gg_rct_Aleppo )
call TriggerAddCondition( gg_trg_Aleppo, Condition( function Trig_Aleppo_Conditions ) )
call TriggerAddAction( gg_trg_Aleppo, function Trig_Aleppo_Actions )
endfunction
function Trig_Cirith_Ungol_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Cirith_Ungol, GetOwningPlayer(gg_unit_n00J_0171))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Cirith_Ungol_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_n00J_0171, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_hgtw_0181, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Cirith_Ungol takes nothing returns nothing
set gg_trg_Cirith_Ungol = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Cirith_Ungol, gg_rct_Cirith_Ungol )
call TriggerAddCondition( gg_trg_Cirith_Ungol, Condition( function Trig_Cirith_Ungol_Conditions ) )
call TriggerAddAction( gg_trg_Cirith_Ungol, function Trig_Cirith_Ungol_Actions )
endfunction
function Trig_Moria_Hall_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Hall_of_Moria, GetOwningPlayer(gg_unit_h01Z_0182))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Moria_Hall_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h01Z_0182, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_hgtw_0184, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Moria_Hall takes nothing returns nothing
set gg_trg_Moria_Hall = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Moria_Hall, gg_rct_Hall_of_Moria )
call TriggerAddCondition( gg_trg_Moria_Hall, Condition( function Trig_Moria_Hall_Conditions ) )
call TriggerAddAction( gg_trg_Moria_Hall, function Trig_Moria_Hall_Actions )
endfunction
function Trig_Khazad_Dum_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Khazad_Dum, GetOwningPlayer(gg_unit_h020_0186))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Khazad_Dum_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h020_0186, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_hgtw_0190, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Khazad_Dum takes nothing returns nothing
set gg_trg_Khazad_Dum = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Khazad_Dum, gg_rct_Khazad_Dum )
call TriggerAddCondition( gg_trg_Khazad_Dum, Condition( function Trig_Khazad_Dum_Conditions ) )
call TriggerAddAction( gg_trg_Khazad_Dum, function Trig_Khazad_Dum_Actions )
endfunction
function Trig_Balins_Tomb_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Balins_Tomb, GetOwningPlayer(gg_unit_h021_0196))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Balins_Tomb_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h021_0196, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_hgtw_0198, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Balins_Tomb takes nothing returns nothing
set gg_trg_Balins_Tomb = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Balins_Tomb, gg_rct_Balins_Tomb )
call TriggerAddCondition( gg_trg_Balins_Tomb, Condition( function Trig_Balins_Tomb_Conditions ) )
call TriggerAddAction( gg_trg_Balins_Tomb, function Trig_Balins_Tomb_Actions )
endfunction
function Trig_Orc_main_Camp_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Moria_Orc_Main_Camp, GetOwningPlayer(gg_unit_h024_0214))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Orc_main_Camp_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h024_0214, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0215, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Orc_main_Camp takes nothing returns nothing
set gg_trg_Orc_main_Camp = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Orc_main_Camp, gg_rct_Moria_Orc_Main_Camp )
call TriggerAddCondition( gg_trg_Orc_main_Camp, Condition( function Trig_Orc_main_Camp_Conditions ) )
call TriggerAddAction( gg_trg_Orc_main_Camp, function Trig_Orc_main_Camp_Actions )
endfunction
function Trig_Armory_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Armory, GetOwningPlayer(gg_unit_h023_0166))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Armory_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h023_0166, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0169, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Armory takes nothing returns nothing
set gg_trg_Armory = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Armory, gg_rct_Armory )
call TriggerAddCondition( gg_trg_Armory, Condition( function Trig_Armory_Conditions ) )
call TriggerAddAction( gg_trg_Armory, function Trig_Armory_Actions )
endfunction
function Trig_Graveyard_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Graveyard, GetOwningPlayer(gg_unit_h026_0220))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Graveyard_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h026_0220, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0221, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Graveyard takes nothing returns nothing
set gg_trg_Graveyard = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Graveyard, gg_rct_Graveyard )
call TriggerAddCondition( gg_trg_Graveyard, Condition( function Trig_Graveyard_Conditions ) )
call TriggerAddAction( gg_trg_Graveyard, function Trig_Graveyard_Actions )
endfunction
function Trig_Destroyed_Mine_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Destroyed_Mine, GetOwningPlayer(gg_unit_h025_0217))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Destroyed_Mine_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h025_0217, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0218, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Destroyed_Mine takes nothing returns nothing
set gg_trg_Destroyed_Mine = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Destroyed_Mine, gg_rct_Destroyed_Mine )
call TriggerAddCondition( gg_trg_Destroyed_Mine, Condition( function Trig_Destroyed_Mine_Conditions ) )
call TriggerAddAction( gg_trg_Destroyed_Mine, function Trig_Destroyed_Mine_Actions )
endfunction
function Trig_Smithy_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_California, GetOwningPlayer(gg_unit_h02M_0223))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Smithy_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h02M_0223, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0224, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Smithy takes nothing returns nothing
set gg_trg_Smithy = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Smithy, gg_rct_California )
call TriggerAddCondition( gg_trg_Smithy, Condition( function Trig_Smithy_Conditions ) )
call TriggerAddAction( gg_trg_Smithy, function Trig_Smithy_Actions )
endfunction
function Trig_Southeast_Shire_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Florida, GetOwningPlayer(gg_unit_h02O_0226))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Southeast_Shire_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h02O_0226, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0227, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Southeast_Shire takes nothing returns nothing
set gg_trg_Southeast_Shire = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Southeast_Shire, gg_rct_Florida )
call TriggerAddCondition( gg_trg_Southeast_Shire, Condition( function Trig_Southeast_Shire_Conditions ) )
call TriggerAddAction( gg_trg_Southeast_Shire, function Trig_Southeast_Shire_Actions )
endfunction
function Trig_West_Rhovanion_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_083, GetOwningPlayer(gg_unit_h02X_0241))) == true ) ) then
return false
endif
return true
endfunction
function Trig_West_Rhovanion_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h02X_0241, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0242, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_West_Rhovanion takes nothing returns nothing
set gg_trg_West_Rhovanion = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_West_Rhovanion, gg_rct_Region_083 )
call TriggerAddCondition( gg_trg_West_Rhovanion, Condition( function Trig_West_Rhovanion_Conditions ) )
call TriggerAddAction( gg_trg_West_Rhovanion, function Trig_West_Rhovanion_Actions )
endfunction
function Trig_Northwest_Rhovanion_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_085, GetOwningPlayer(gg_unit_h02P_0231))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Northwest_Rhovanion_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h02P_0231, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0232, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Northwest_Rhovanion takes nothing returns nothing
set gg_trg_Northwest_Rhovanion = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Northwest_Rhovanion, gg_rct_Region_085 )
call TriggerAddCondition( gg_trg_Northwest_Rhovanion, Condition( function Trig_Northwest_Rhovanion_Conditions ) )
call TriggerAddAction( gg_trg_Northwest_Rhovanion, function Trig_Northwest_Rhovanion_Actions )
endfunction
function Trig_Dagorlad_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_086, GetOwningPlayer(gg_unit_h02T_0233))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Dagorlad_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h02T_0233, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0234, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Dagorlad takes nothing returns nothing
set gg_trg_Dagorlad = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Dagorlad, gg_rct_Region_086 )
call TriggerAddCondition( gg_trg_Dagorlad, Condition( function Trig_Dagorlad_Conditions ) )
call TriggerAddAction( gg_trg_Dagorlad, function Trig_Dagorlad_Actions )
endfunction
function Trig_Easterling_Encampment_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_088, GetOwningPlayer(gg_unit_h02U_0236))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Easterling_Encampment_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h02U_0236, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0235, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Easterling_Encampment takes nothing returns nothing
set gg_trg_Easterling_Encampment = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Easterling_Encampment, gg_rct_Region_088 )
call TriggerAddCondition( gg_trg_Easterling_Encampment, Condition( function Trig_Easterling_Encampment_Conditions ) )
call TriggerAddAction( gg_trg_Easterling_Encampment, function Trig_Easterling_Encampment_Actions )
endfunction
function Trig_East_Rhovanion_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_087, GetOwningPlayer(gg_unit_h02V_0237))) == true ) ) then
return false
endif
return true
endfunction
function Trig_East_Rhovanion_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h02V_0237, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0238, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_East_Rhovanion takes nothing returns nothing
set gg_trg_East_Rhovanion = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_East_Rhovanion, gg_rct_Region_087 )
call TriggerAddCondition( gg_trg_East_Rhovanion, Condition( function Trig_East_Rhovanion_Conditions ) )
call TriggerAddAction( gg_trg_East_Rhovanion, function Trig_East_Rhovanion_Actions )
endfunction
function Trig_North_Rhun_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_089, GetOwningPlayer(gg_unit_h02Y_0170))) == true ) ) then
return false
endif
return true
endfunction
function Trig_North_Rhun_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h02Y_0170, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0244, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_North_Rhun takes nothing returns nothing
set gg_trg_North_Rhun = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_North_Rhun, gg_rct_Region_089 )
call TriggerAddCondition( gg_trg_North_Rhun, Condition( function Trig_North_Rhun_Conditions ) )
call TriggerAddAction( gg_trg_North_Rhun, function Trig_North_Rhun_Actions )
endfunction
function Trig_Withered_Heath_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_090, GetOwningPlayer(gg_unit_h02Z_0239))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Withered_Heath_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h02Z_0239, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0240, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Withered_Heath takes nothing returns nothing
set gg_trg_Withered_Heath = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Withered_Heath, gg_rct_Region_090 )
call TriggerAddCondition( gg_trg_Withered_Heath, Condition( function Trig_Withered_Heath_Conditions ) )
call TriggerAddAction( gg_trg_Withered_Heath, function Trig_Withered_Heath_Actions )
endfunction
function Trig_Esgaroth_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_091, GetOwningPlayer(gg_unit_h030_0245))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Esgaroth_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h030_0245, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0254, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Esgaroth takes nothing returns nothing
set gg_trg_Esgaroth = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Esgaroth, gg_rct_Region_091 )
call TriggerAddCondition( gg_trg_Esgaroth, Condition( function Trig_Esgaroth_Conditions ) )
call TriggerAddAction( gg_trg_Esgaroth, function Trig_Esgaroth_Actions )
endfunction
function Trig_South_West_Rhun_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_092, GetOwningPlayer(gg_unit_h031_0250))) == true ) ) then
return false
endif
return true
endfunction
function Trig_South_West_Rhun_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h031_0250, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0251, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_South_West_Rhun takes nothing returns nothing
set gg_trg_South_West_Rhun = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_South_West_Rhun, gg_rct_Region_092 )
call TriggerAddCondition( gg_trg_South_West_Rhun, Condition( function Trig_South_West_Rhun_Conditions ) )
call TriggerAddAction( gg_trg_South_West_Rhun, function Trig_South_West_Rhun_Actions )
endfunction
function Trig_South_Rhun_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_093, GetOwningPlayer(gg_unit_h032_0252))) == true ) ) then
return false
endif
return true
endfunction
function Trig_South_Rhun_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h032_0252, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0253, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_South_Rhun takes nothing returns nothing
set gg_trg_South_Rhun = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_South_Rhun, gg_rct_Region_093 )
call TriggerAddCondition( gg_trg_South_Rhun, Condition( function Trig_South_Rhun_Conditions ) )
call TriggerAddAction( gg_trg_South_Rhun, function Trig_South_Rhun_Actions )
endfunction
function Trig_North_Ithilien_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_097, GetOwningPlayer(gg_unit_h034_0257))) == true ) ) then
return false
endif
return true
endfunction
function Trig_North_Ithilien_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h034_0257, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0258, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_North_Ithilien takes nothing returns nothing
set gg_trg_North_Ithilien = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_North_Ithilien, gg_rct_Region_097 )
call TriggerAddCondition( gg_trg_North_Ithilien, Condition( function Trig_North_Ithilien_Conditions ) )
call TriggerAddAction( gg_trg_North_Ithilien, function Trig_North_Ithilien_Actions )
endfunction
function Trig_South_Ithilien_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_096, GetOwningPlayer(gg_unit_h033_0255))) == true ) ) then
return false
endif
return true
endfunction
function Trig_South_Ithilien_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h033_0255, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0256, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_South_Ithilien takes nothing returns nothing
set gg_trg_South_Ithilien = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_South_Ithilien, gg_rct_Region_096 )
call TriggerAddCondition( gg_trg_South_Ithilien, Condition( function Trig_South_Ithilien_Conditions ) )
call TriggerAddAction( gg_trg_South_Ithilien, function Trig_South_Ithilien_Actions )
endfunction
function Trig_Derdinglevale_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_098, GetOwningPlayer(gg_unit_h035_0262))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Derdinglevale_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h035_0262, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0264, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Derdinglevale takes nothing returns nothing
set gg_trg_Derdinglevale = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Derdinglevale, gg_rct_Region_098 )
call TriggerAddCondition( gg_trg_Derdinglevale, Condition( function Trig_Derdinglevale_Conditions ) )
call TriggerAddAction( gg_trg_Derdinglevale, function Trig_Derdinglevale_Actions )
endfunction
function Trig_North_West_Fangorn_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_099, GetOwningPlayer(gg_unit_h036_0261))) == true ) ) then
return false
endif
return true
endfunction
function Trig_North_West_Fangorn_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h036_0261, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0263, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_North_West_Fangorn takes nothing returns nothing
set gg_trg_North_West_Fangorn = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_North_West_Fangorn, gg_rct_Region_099 )
call TriggerAddCondition( gg_trg_North_West_Fangorn, Condition( function Trig_North_West_Fangorn_Conditions ) )
call TriggerAddAction( gg_trg_North_West_Fangorn, function Trig_North_West_Fangorn_Actions )
endfunction
function Trig_Uruk_Hai_Encampment_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_103, GetOwningPlayer(gg_unit_h03A_0270))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Uruk_Hai_Encampment_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h03A_0270, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0271, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Uruk_Hai_Encampment takes nothing returns nothing
set gg_trg_Uruk_Hai_Encampment = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Uruk_Hai_Encampment, gg_rct_Region_103 )
call TriggerAddCondition( gg_trg_Uruk_Hai_Encampment, Condition( function Trig_Uruk_Hai_Encampment_Conditions ) )
call TriggerAddAction( gg_trg_Uruk_Hai_Encampment, function Trig_Uruk_Hai_Encampment_Actions )
endfunction
function Trig_Enedwaith_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Enedwaith, GetOwningPlayer(gg_unit_h039_0269))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Enedwaith_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h039_0269, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0272, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Enedwaith takes nothing returns nothing
set gg_trg_Enedwaith = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Enedwaith, gg_rct_Enedwaith )
call TriggerAddCondition( gg_trg_Enedwaith, Condition( function Trig_Enedwaith_Conditions ) )
call TriggerAddAction( gg_trg_Enedwaith, function Trig_Enedwaith_Actions )
endfunction
function Trig_City_in_west_west_rohan_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_100, GetOwningPlayer(gg_unit_h038_0268))) == true ) ) then
return false
endif
return true
endfunction
function Trig_City_in_west_west_rohan_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h038_0268, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0273, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_City_in_west_west_rohan takes nothing returns nothing
set gg_trg_City_in_west_west_rohan = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_City_in_west_west_rohan, gg_rct_Region_100 )
call TriggerAddCondition( gg_trg_City_in_west_west_rohan, Condition( function Trig_City_in_west_west_rohan_Conditions ) )
call TriggerAddAction( gg_trg_City_in_west_west_rohan, function Trig_City_in_west_west_rohan_Actions )
endfunction
function Trig_South_West_Rohan_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_101, GetOwningPlayer(gg_unit_h037_0267))) == true ) ) then
return false
endif
return true
endfunction
function Trig_South_West_Rohan_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h037_0267, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0274, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_South_West_Rohan takes nothing returns nothing
set gg_trg_South_West_Rohan = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_South_West_Rohan, gg_rct_Region_101 )
call TriggerAddCondition( gg_trg_South_West_Rohan, Condition( function Trig_South_West_Rohan_Conditions ) )
call TriggerAddAction( gg_trg_South_West_Rohan, function Trig_South_West_Rohan_Actions )
endfunction
function Trig_South_Downs_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_062, GetOwningPlayer(gg_unit_h03C_0279))) == true ) ) then
return false
endif
return true
endfunction
function Trig_South_Downs_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h03C_0279, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0280, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_South_Downs takes nothing returns nothing
set gg_trg_South_Downs = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_South_Downs, gg_rct_Region_062 )
call TriggerAddCondition( gg_trg_South_Downs, Condition( function Trig_South_Downs_Conditions ) )
call TriggerAddAction( gg_trg_South_Downs, function Trig_South_Downs_Actions )
endfunction
function Trig_The_Wold_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_105, GetOwningPlayer(gg_unit_h03E_0282))) == true ) ) then
return false
endif
return true
endfunction
function Trig_The_Wold_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h03E_0282, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0283, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_The_Wold takes nothing returns nothing
set gg_trg_The_Wold = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_The_Wold, gg_rct_Region_105 )
call TriggerAddCondition( gg_trg_The_Wold, Condition( function Trig_The_Wold_Conditions ) )
call TriggerAddAction( gg_trg_The_Wold, function Trig_The_Wold_Actions )
endfunction
function Trig_Entrance_to_Rohan_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_104, GetOwningPlayer(gg_unit_h03F_0284))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Entrance_to_Rohan_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h03F_0284, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0285, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Entrance_to_Rohan takes nothing returns nothing
set gg_trg_Entrance_to_Rohan = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Entrance_to_Rohan, gg_rct_Region_104 )
call TriggerAddCondition( gg_trg_Entrance_to_Rohan, Condition( function Trig_Entrance_to_Rohan_Conditions ) )
call TriggerAddAction( gg_trg_Entrance_to_Rohan, function Trig_Entrance_to_Rohan_Actions )
endfunction
function Trig_Forodwaith_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_109, GetOwningPlayer(gg_unit_h03K_0294))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Forodwaith_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h03K_0294, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0295, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Forodwaith takes nothing returns nothing
set gg_trg_Forodwaith = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Forodwaith, gg_rct_Region_109 )
call TriggerAddCondition( gg_trg_Forodwaith, Condition( function Trig_Forodwaith_Conditions ) )
call TriggerAddAction( gg_trg_Forodwaith, function Trig_Forodwaith_Actions )
endfunction
function Trig_Entrance_to_Arnor_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_110, GetOwningPlayer(gg_unit_h03G_0288))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Entrance_to_Arnor_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h03G_0288, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0289, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Entrance_to_Arnor takes nothing returns nothing
set gg_trg_Entrance_to_Arnor = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Entrance_to_Arnor, gg_rct_Region_110 )
call TriggerAddCondition( gg_trg_Entrance_to_Arnor, Condition( function Trig_Entrance_to_Arnor_Conditions ) )
call TriggerAddAction( gg_trg_Entrance_to_Arnor, function Trig_Entrance_to_Arnor_Actions )
endfunction
function Trig_Angmar_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_108, GetOwningPlayer(gg_unit_h03I_0290))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Angmar_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h03I_0290, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0291, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Angmar takes nothing returns nothing
set gg_trg_Angmar = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Angmar, gg_rct_Region_108 )
call TriggerAddCondition( gg_trg_Angmar, Condition( function Trig_Angmar_Conditions ) )
call TriggerAddAction( gg_trg_Angmar, function Trig_Angmar_Actions )
endfunction
function Trig_Eastern_Angmar_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_107, GetOwningPlayer(gg_unit_h03J_0292))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Eastern_Angmar_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h03J_0292, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0293, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Eastern_Angmar takes nothing returns nothing
set gg_trg_Eastern_Angmar = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Eastern_Angmar, gg_rct_Region_107 )
call TriggerAddCondition( gg_trg_Eastern_Angmar, Condition( function Trig_Eastern_Angmar_Conditions ) )
call TriggerAddAction( gg_trg_Eastern_Angmar, function Trig_Eastern_Angmar_Actions )
endfunction
function Trig_Eastern_Osgiliath_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_121, GetOwningPlayer(gg_unit_h03L_0203))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Eastern_Osgiliath_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h03L_0203, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0302, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Eastern_Osgiliath takes nothing returns nothing
set gg_trg_Eastern_Osgiliath = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Eastern_Osgiliath, gg_rct_Region_121 )
call TriggerAddCondition( gg_trg_Eastern_Osgiliath, Condition( function Trig_Eastern_Osgiliath_Conditions ) )
call TriggerAddAction( gg_trg_Eastern_Osgiliath, function Trig_Eastern_Osgiliath_Actions )
endfunction
function Trig_Pelargir_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_122, GetOwningPlayer(gg_unit_h03N_0204))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Pelargir_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h03N_0204, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0201, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Pelargir takes nothing returns nothing
set gg_trg_Pelargir = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Pelargir, gg_rct_Region_122 )
call TriggerAddCondition( gg_trg_Pelargir, Condition( function Trig_Pelargir_Conditions ) )
call TriggerAddAction( gg_trg_Pelargir, function Trig_Pelargir_Actions )
endfunction
function Trig_North_Mining_Town_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_124, GetOwningPlayer(gg_unit_h03T_0320))) == true ) ) then
return false
endif
return true
endfunction
function Trig_North_Mining_Town_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h03T_0320, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0321, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_North_Mining_Town takes nothing returns nothing
set gg_trg_North_Mining_Town = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_North_Mining_Town, gg_rct_Region_124 )
call TriggerAddCondition( gg_trg_North_Mining_Town, Condition( function Trig_North_Mining_Town_Conditions ) )
call TriggerAddAction( gg_trg_North_Mining_Town, function Trig_North_Mining_Town_Actions )
endfunction
function Trig_Warriors_Den_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_129, GetOwningPlayer(gg_unit_h03X_0325))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Warriors_Den_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h03X_0325, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0326, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Warriors_Den takes nothing returns nothing
set gg_trg_Warriors_Den = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Warriors_Den, gg_rct_Region_129 )
call TriggerAddCondition( gg_trg_Warriors_Den, Condition( function Trig_Warriors_Den_Conditions ) )
call TriggerAddAction( gg_trg_Warriors_Den, function Trig_Warriors_Den_Actions )
endfunction
function Trig_Abandoned_Mine_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_128, GetOwningPlayer(gg_unit_h03U_0310))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Abandoned_Mine_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h03U_0310, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0322, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Abandoned_Mine takes nothing returns nothing
set gg_trg_Abandoned_Mine = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Abandoned_Mine, gg_rct_Region_128 )
call TriggerAddCondition( gg_trg_Abandoned_Mine, Condition( function Trig_Abandoned_Mine_Conditions ) )
call TriggerAddAction( gg_trg_Abandoned_Mine, function Trig_Abandoned_Mine_Actions )
endfunction
function Trig_Mining_Encampment_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_126, GetOwningPlayer(gg_unit_h03V_0323))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Mining_Encampment_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h03V_0323, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0324, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Mining_Encampment takes nothing returns nothing
set gg_trg_Mining_Encampment = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Mining_Encampment, gg_rct_Region_126 )
call TriggerAddCondition( gg_trg_Mining_Encampment, Condition( function Trig_Mining_Encampment_Conditions ) )
call TriggerAddAction( gg_trg_Mining_Encampment, function Trig_Mining_Encampment_Actions )
endfunction
function Trig_Smithy_Brown_Hills_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_125, GetOwningPlayer(gg_unit_h03W_0313))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Smithy_Brown_Hills_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h03W_0313, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0315, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Smithy_Brown_Hills takes nothing returns nothing
set gg_trg_Smithy_Brown_Hills = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Smithy_Brown_Hills, gg_rct_Region_125 )
call TriggerAddCondition( gg_trg_Smithy_Brown_Hills, Condition( function Trig_Smithy_Brown_Hills_Conditions ) )
call TriggerAddAction( gg_trg_Smithy_Brown_Hills, function Trig_Smithy_Brown_Hills_Actions )
endfunction
function Trig_South_West_City_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_127, GetOwningPlayer(gg_unit_h03R_0306))) == true ) ) then
return false
endif
return true
endfunction
function Trig_South_West_City_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h03R_0306, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0307, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_South_West_City takes nothing returns nothing
set gg_trg_South_West_City = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_South_West_City, gg_rct_Region_127 )
call TriggerAddCondition( gg_trg_South_West_City, Condition( function Trig_South_West_City_Conditions ) )
call TriggerAddAction( gg_trg_South_West_City, function Trig_South_West_City_Actions )
endfunction
function Trig_Mining_City_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_130, GetOwningPlayer(gg_unit_h03S_0318))) == true ) ) then
return false
endif
return true
endfunction
function Trig_Mining_City_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h03S_0318, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0319, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_Mining_City takes nothing returns nothing
set gg_trg_Mining_City = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Mining_City, gg_rct_Region_130 )
call TriggerAddCondition( gg_trg_Mining_City, Condition( function Trig_Mining_City_Conditions ) )
call TriggerAddAction( gg_trg_Mining_City, function Trig_Mining_City_Actions )
endfunction
function Trig_North_Harad_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_131, GetOwningPlayer(gg_unit_h040_0331))) == true ) ) then
return false
endif
return true
endfunction
function Trig_North_Harad_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h040_0331, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0332, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_North_Harad takes nothing returns nothing
set gg_trg_North_Harad = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_North_Harad, gg_rct_Region_131 )
call TriggerAddCondition( gg_trg_North_Harad, Condition( function Trig_North_Harad_Conditions ) )
call TriggerAddAction( gg_trg_North_Harad, function Trig_North_Harad_Actions )
endfunction
function Trig_South_Harad_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_134, GetOwningPlayer(gg_unit_h041_0333))) == true ) ) then
return false
endif
return true
endfunction
function Trig_South_Harad_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h041_0333, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0334, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_South_Harad takes nothing returns nothing
set gg_trg_South_Harad = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_South_Harad, gg_rct_Region_134 )
call TriggerAddCondition( gg_trg_South_Harad, Condition( function Trig_South_Harad_Conditions ) )
call TriggerAddAction( gg_trg_South_Harad, function Trig_South_Harad_Actions )
endfunction
function Trig_West_Harad_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_133, GetOwningPlayer(gg_unit_h03Z_0329))) == true ) ) then
return false
endif
return true
endfunction
function Trig_West_Harad_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h03Z_0329, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0330, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_West_Harad takes nothing returns nothing
set gg_trg_West_Harad = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_West_Harad, gg_rct_Region_133 )
call TriggerAddCondition( gg_trg_West_Harad, Condition( function Trig_West_Harad_Conditions ) )
call TriggerAddAction( gg_trg_West_Harad, function Trig_West_Harad_Actions )
endfunction
function Trig_City_in_MidHarad_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_132, GetOwningPlayer(gg_unit_h03Y_0328))) == true ) ) then
return false
endif
return true
endfunction
function Trig_City_in_MidHarad_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h03Y_0328, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_h001_0327, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_City_in_MidHarad takes nothing returns nothing
set gg_trg_City_in_MidHarad = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_City_in_MidHarad, gg_rct_Region_132 )
call TriggerAddCondition( gg_trg_City_in_MidHarad, Condition( function Trig_City_in_MidHarad_Conditions ) )
call TriggerAddAction( gg_trg_City_in_MidHarad, function Trig_City_in_MidHarad_Actions )
endfunction
function Trig_WestH_1_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_153, GetOwningPlayer(gg_unit_h047_0364))) == true ) ) then
return false
endif
return true
endfunction
function Trig_WestH_1_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h047_0364, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_hgtw_0345, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_WestH_1 takes nothing returns nothing
set gg_trg_WestH_1 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_WestH_1, gg_rct_Region_153 )
call TriggerAddCondition( gg_trg_WestH_1, Condition( function Trig_WestH_1_Conditions ) )
call TriggerAddAction( gg_trg_WestH_1, function Trig_WestH_1_Actions )
endfunction
function Trig_WestH_2_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_151, GetOwningPlayer(gg_unit_h03Y_0328))) == true ) ) then
return false
endif
return true
endfunction
function Trig_WestH_2_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h047_0368, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_hgtw_0357, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_WestH_2 takes nothing returns nothing
set gg_trg_WestH_2 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_WestH_2, gg_rct_Region_151 )
call TriggerAddCondition( gg_trg_WestH_2, Condition( function Trig_WestH_2_Conditions ) )
call TriggerAddAction( gg_trg_WestH_2, function Trig_WestH_2_Actions )
endfunction
function Trig_WestH_3_Conditions takes nothing returns boolean
if ( not ( IsUnitGroupEmptyBJ(GetUnitsInRectOfPlayer(gg_rct_Region_152, GetOwningPlayer(gg_unit_h047_0369))) == true ) ) then
return false
endif
return true
endfunction
function Trig_WestH_3_Actions takes nothing returns nothing
call SetUnitOwner( gg_unit_h047_0369, GetOwningPlayer(GetTriggerUnit()), true )
call SetUnitOwner( gg_unit_hgtw_0358, GetOwningPlayer(GetTriggerUnit()), true )
endfunction
//===========================================================================
function InitTrig_WestH_3 takes nothing returns nothing
set gg_trg_WestH_3 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_WestH_3, gg_rct_Region_152 )
call TriggerAddCondition( gg_trg_WestH_3, Condition( function Trig_WestH_3_Conditions ) )
call TriggerAddAction( gg_trg_WestH_3, function Trig_WestH_3_Actions )
endfunction
function Trig_LeaveGlasgow_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveGlasgow_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveGlasgow_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveGlasgow_Func001001001002001(), Trig_LeaveGlasgow_Func001001001002002() )
endfunction
function Trig_LeaveGlasgow_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Glasgow, Condition(function Trig_LeaveGlasgow_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveGlasgow_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Glasgow) )
endfunction
//===========================================================================
function InitTrig_LeaveGlasgow takes nothing returns nothing
set gg_trg_LeaveGlasgow = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveGlasgow, gg_rct_Glasgow )
call TriggerAddCondition( gg_trg_LeaveGlasgow, Condition( function Trig_LeaveGlasgow_Conditions ) )
call TriggerAddAction( gg_trg_LeaveGlasgow, function Trig_LeaveGlasgow_Actions )
endfunction
function Trig_LeaveDeads_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveDeads_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveDeads_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveDeads_Func001001001002001(), Trig_LeaveDeads_Func001001001002002() )
endfunction
function Trig_LeaveDeads_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Deads, Condition(function Trig_LeaveDeads_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveDeads_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Deads) )
endfunction
//===========================================================================
function InitTrig_LeaveDeads takes nothing returns nothing
set gg_trg_LeaveDeads = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveDeads, gg_rct_Deads )
call TriggerAddCondition( gg_trg_LeaveDeads, Condition( function Trig_LeaveDeads_Conditions ) )
call TriggerAddAction( gg_trg_LeaveDeads, function Trig_LeaveDeads_Actions )
endfunction
function Trig_LeaveDeads_Copy_3_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveDeads_Copy_3_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveDeads_Copy_3_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveDeads_Copy_3_Func001001001002001(), Trig_LeaveDeads_Copy_3_Func001001001002002() )
endfunction
function Trig_LeaveDeads_Copy_3_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_West_City, Condition(function Trig_LeaveDeads_Copy_3_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveDeads_Copy_3_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_West_City) )
endfunction
//===========================================================================
function InitTrig_LeaveDeads_Copy_3 takes nothing returns nothing
set gg_trg_LeaveDeads_Copy_3 = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveDeads_Copy_3, gg_rct_West_City )
call TriggerAddCondition( gg_trg_LeaveDeads_Copy_3, Condition( function Trig_LeaveDeads_Copy_3_Conditions ) )
call TriggerAddAction( gg_trg_LeaveDeads_Copy_3, function Trig_LeaveDeads_Copy_3_Actions )
endfunction
function Trig_LeaveDeads_Copy_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveDeads_Copy_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveDeads_Copy_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveDeads_Copy_Func001001001002001(), Trig_LeaveDeads_Copy_Func001001001002002() )
endfunction
function Trig_LeaveDeads_Copy_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Deads_Copy, Condition(function Trig_LeaveDeads_Copy_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveDeads_Copy_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Deads_Copy) )
endfunction
//===========================================================================
function InitTrig_LeaveDeads_Copy takes nothing returns nothing
set gg_trg_LeaveDeads_Copy = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveDeads_Copy, gg_rct_Deads_Copy )
call TriggerAddCondition( gg_trg_LeaveDeads_Copy, Condition( function Trig_LeaveDeads_Copy_Conditions ) )
call TriggerAddAction( gg_trg_LeaveDeads_Copy, function Trig_LeaveDeads_Copy_Actions )
endfunction
function Trig_LeaveDeads_Copy_2_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveDeads_Copy_2_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveDeads_Copy_2_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveDeads_Copy_2_Func001001001002001(), Trig_LeaveDeads_Copy_2_Func001001001002002() )
endfunction
function Trig_LeaveDeads_Copy_2_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Deads_Copy_2, Condition(function Trig_LeaveDeads_Copy_2_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveDeads_Copy_2_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Deads_Copy_2) )
endfunction
//===========================================================================
function InitTrig_LeaveDeads_Copy_2 takes nothing returns nothing
set gg_trg_LeaveDeads_Copy_2 = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveDeads_Copy_2, gg_rct_Deads_Copy_2 )
call TriggerAddCondition( gg_trg_LeaveDeads_Copy_2, Condition( function Trig_LeaveDeads_Copy_2_Conditions ) )
call TriggerAddAction( gg_trg_LeaveDeads_Copy_2, function Trig_LeaveDeads_Copy_2_Actions )
endfunction
function Trig_LeaveNgondor_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveNgondor_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveNgondor_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveNgondor_Func001001001002001(), Trig_LeaveNgondor_Func001001001002002() )
endfunction
function Trig_LeaveNgondor_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_137, Condition(function Trig_LeaveNgondor_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveNgondor_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_137) )
endfunction
//===========================================================================
function InitTrig_LeaveNgondor takes nothing returns nothing
set gg_trg_LeaveNgondor = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveNgondor, gg_rct_Region_137 )
call TriggerAddCondition( gg_trg_LeaveNgondor, Condition( function Trig_LeaveNgondor_Conditions ) )
call TriggerAddAction( gg_trg_LeaveNgondor, function Trig_LeaveNgondor_Actions )
endfunction
function Trig_LeaveDublin_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveDublin_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveDublin_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveDublin_Func001001001002001(), Trig_LeaveDublin_Func001001001002002() )
endfunction
function Trig_LeaveDublin_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Dublin, Condition(function Trig_LeaveDublin_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveDublin_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Dublin) )
endfunction
//===========================================================================
function InitTrig_LeaveDublin takes nothing returns nothing
set gg_trg_LeaveDublin = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveDublin, gg_rct_Dublin )
call TriggerAddCondition( gg_trg_LeaveDublin, Condition( function Trig_LeaveDublin_Conditions ) )
call TriggerAddAction( gg_trg_LeaveDublin, function Trig_LeaveDublin_Actions )
endfunction
function Trig_LeaveLeeds_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveLeeds_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveLeeds_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveLeeds_Func001001001002001(), Trig_LeaveLeeds_Func001001001002002() )
endfunction
function Trig_LeaveLeeds_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Leeds, Condition(function Trig_LeaveLeeds_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveLeeds_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Leeds) )
endfunction
//===========================================================================
function InitTrig_LeaveLeeds takes nothing returns nothing
set gg_trg_LeaveLeeds = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveLeeds, gg_rct_Leeds )
call TriggerAddCondition( gg_trg_LeaveLeeds, Condition( function Trig_LeaveLeeds_Conditions ) )
call TriggerAddAction( gg_trg_LeaveLeeds, function Trig_LeaveLeeds_Actions )
endfunction
function Trig_LeaveLondon_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveLondon_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveLondon_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveLondon_Func001001001002001(), Trig_LeaveLondon_Func001001001002002() )
endfunction
function Trig_LeaveLondon_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_London, Condition(function Trig_LeaveLondon_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveLondon_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_London) )
endfunction
//===========================================================================
function InitTrig_LeaveLondon takes nothing returns nothing
set gg_trg_LeaveLondon = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveLondon, gg_rct_London )
call TriggerAddCondition( gg_trg_LeaveLondon, Condition( function Trig_LeaveLondon_Conditions ) )
call TriggerAddAction( gg_trg_LeaveLondon, function Trig_LeaveLondon_Actions )
endfunction
function Trig_LeaveSouthampton_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveSouthampton_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveSouthampton_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveSouthampton_Func001001001002001(), Trig_LeaveSouthampton_Func001001001002002() )
endfunction
function Trig_LeaveSouthampton_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Southampton, Condition(function Trig_LeaveSouthampton_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveSouthampton_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Southampton) )
endfunction
//===========================================================================
function InitTrig_LeaveSouthampton takes nothing returns nothing
set gg_trg_LeaveSouthampton = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveSouthampton, gg_rct_Southampton )
call TriggerAddCondition( gg_trg_LeaveSouthampton, Condition( function Trig_LeaveSouthampton_Conditions ) )
call TriggerAddAction( gg_trg_LeaveSouthampton, function Trig_LeaveSouthampton_Actions )
endfunction
function Trig_LeaveBrussel_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveBrussel_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveBrussel_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveBrussel_Func001001001002001(), Trig_LeaveBrussel_Func001001001002002() )
endfunction
function Trig_LeaveBrussel_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Brussel, Condition(function Trig_LeaveBrussel_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveBrussel_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Brussel) )
endfunction
//===========================================================================
function InitTrig_LeaveBrussel takes nothing returns nothing
set gg_trg_LeaveBrussel = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveBrussel, gg_rct_Brussel )
call TriggerAddCondition( gg_trg_LeaveBrussel, Condition( function Trig_LeaveBrussel_Conditions ) )
call TriggerAddAction( gg_trg_LeaveBrussel, function Trig_LeaveBrussel_Actions )
endfunction
function Trig_LeaveAmsterdam_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveAmsterdam_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveAmsterdam_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveAmsterdam_Func001001001002001(), Trig_LeaveAmsterdam_Func001001001002002() )
endfunction
function Trig_LeaveAmsterdam_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Amsterdam, Condition(function Trig_LeaveAmsterdam_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveAmsterdam_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Amsterdam) )
endfunction
//===========================================================================
function InitTrig_LeaveAmsterdam takes nothing returns nothing
set gg_trg_LeaveAmsterdam = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveAmsterdam, gg_rct_Amsterdam )
call TriggerAddCondition( gg_trg_LeaveAmsterdam, Condition( function Trig_LeaveAmsterdam_Conditions ) )
call TriggerAddAction( gg_trg_LeaveAmsterdam, function Trig_LeaveAmsterdam_Actions )
endfunction
function Trig_LeaveBrest_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveBrest_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveBrest_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveBrest_Func001001001002001(), Trig_LeaveBrest_Func001001001002002() )
endfunction
function Trig_LeaveBrest_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Brest, Condition(function Trig_LeaveBrest_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveBrest_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Brest) )
endfunction
//===========================================================================
function InitTrig_LeaveBrest takes nothing returns nothing
set gg_trg_LeaveBrest = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveBrest, gg_rct_Brest )
call TriggerAddCondition( gg_trg_LeaveBrest, Condition( function Trig_LeaveBrest_Conditions ) )
call TriggerAddAction( gg_trg_LeaveBrest, function Trig_LeaveBrest_Actions )
endfunction
function Trig_Leavenearharad_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_Leavenearharad_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_Leavenearharad_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_Leavenearharad_Func001001001002001(), Trig_Leavenearharad_Func001001001002002() )
endfunction
function Trig_Leavenearharad_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Near_Harad, Condition(function Trig_Leavenearharad_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_Leavenearharad_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Near_Harad) )
endfunction
//===========================================================================
function InitTrig_Leavenearharad takes nothing returns nothing
set gg_trg_Leavenearharad = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_Leavenearharad, gg_rct_Near_Harad )
call TriggerAddCondition( gg_trg_Leavenearharad, Condition( function Trig_Leavenearharad_Conditions ) )
call TriggerAddAction( gg_trg_Leavenearharad, function Trig_Leavenearharad_Actions )
endfunction
function Trig_LeaveMarseille_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveMarseille_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveMarseille_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveMarseille_Func001001001002001(), Trig_LeaveMarseille_Func001001001002002() )
endfunction
function Trig_LeaveMarseille_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Marseille, Condition(function Trig_LeaveMarseille_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveMarseille_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Marseille) )
endfunction
//===========================================================================
function InitTrig_LeaveMarseille takes nothing returns nothing
set gg_trg_LeaveMarseille = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveMarseille, gg_rct_Marseille )
call TriggerAddCondition( gg_trg_LeaveMarseille, Condition( function Trig_LeaveMarseille_Conditions ) )
call TriggerAddAction( gg_trg_LeaveMarseille, function Trig_LeaveMarseille_Actions )
endfunction
function Trig_LeaveBordeaux_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveBordeaux_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveBordeaux_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveBordeaux_Func001001001002001(), Trig_LeaveBordeaux_Func001001001002002() )
endfunction
function Trig_LeaveBordeaux_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Bordeaux, Condition(function Trig_LeaveBordeaux_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveBordeaux_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Bordeaux) )
endfunction
//===========================================================================
function InitTrig_LeaveBordeaux takes nothing returns nothing
set gg_trg_LeaveBordeaux = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveBordeaux, gg_rct_Bordeaux )
call TriggerAddCondition( gg_trg_LeaveBordeaux, Condition( function Trig_LeaveBordeaux_Conditions ) )
call TriggerAddAction( gg_trg_LeaveBordeaux, function Trig_LeaveBordeaux_Actions )
endfunction
function Trig_LeaveZaragoza_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveZaragoza_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveZaragoza_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveZaragoza_Func001001001002001(), Trig_LeaveZaragoza_Func001001001002002() )
endfunction
function Trig_LeaveZaragoza_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Zaragoza, Condition(function Trig_LeaveZaragoza_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveZaragoza_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Zaragoza) )
endfunction
//===========================================================================
function InitTrig_LeaveZaragoza takes nothing returns nothing
set gg_trg_LeaveZaragoza = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveZaragoza, gg_rct_Zaragoza )
call TriggerAddCondition( gg_trg_LeaveZaragoza, Condition( function Trig_LeaveZaragoza_Conditions ) )
call TriggerAddAction( gg_trg_LeaveZaragoza, function Trig_LeaveZaragoza_Actions )
endfunction
function Trig_LeaveLaCoruna_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveLaCoruna_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveLaCoruna_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveLaCoruna_Func001001001002001(), Trig_LeaveLaCoruna_Func001001001002002() )
endfunction
function Trig_LeaveLaCoruna_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_La_Coruna, Condition(function Trig_LeaveLaCoruna_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveLaCoruna_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_La_Coruna) )
endfunction
//===========================================================================
function InitTrig_LeaveLaCoruna takes nothing returns nothing
set gg_trg_LeaveLaCoruna = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveLaCoruna, gg_rct_La_Coruna )
call TriggerAddCondition( gg_trg_LeaveLaCoruna, Condition( function Trig_LeaveLaCoruna_Conditions ) )
call TriggerAddAction( gg_trg_LeaveLaCoruna, function Trig_LeaveLaCoruna_Actions )
endfunction
function Trig_LeaveLissabon_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveLissabon_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveLissabon_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveLissabon_Func001001001002001(), Trig_LeaveLissabon_Func001001001002002() )
endfunction
function Trig_LeaveLissabon_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Lissabon, Condition(function Trig_LeaveLissabon_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveLissabon_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Lissabon) )
endfunction
//===========================================================================
function InitTrig_LeaveLissabon takes nothing returns nothing
set gg_trg_LeaveLissabon = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveLissabon, gg_rct_Lissabon )
call TriggerAddCondition( gg_trg_LeaveLissabon, Condition( function Trig_LeaveLissabon_Conditions ) )
call TriggerAddAction( gg_trg_LeaveLissabon, function Trig_LeaveLissabon_Actions )
endfunction
function Trig_LeaveMalaga_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveMalaga_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveMalaga_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveMalaga_Func001001001002001(), Trig_LeaveMalaga_Func001001001002002() )
endfunction
function Trig_LeaveMalaga_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Malaga, Condition(function Trig_LeaveMalaga_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveMalaga_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Malaga) )
endfunction
//===========================================================================
function InitTrig_LeaveMalaga takes nothing returns nothing
set gg_trg_LeaveMalaga = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveMalaga, gg_rct_Malaga )
call TriggerAddCondition( gg_trg_LeaveMalaga, Condition( function Trig_LeaveMalaga_Conditions ) )
call TriggerAddAction( gg_trg_LeaveMalaga, function Trig_LeaveMalaga_Actions )
endfunction
function Trig_Leavecampofrr_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_Leavecampofrr_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_Leavecampofrr_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_Leavecampofrr_Func001001001002001(), Trig_Leavecampofrr_Func001001001002002() )
endfunction
function Trig_Leavecampofrr_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Camp_of_Rohan_Riders, Condition(function Trig_Leavecampofrr_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_Leavecampofrr_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Camp_of_Rohan_Riders) )
endfunction
//===========================================================================
function InitTrig_Leavecampofrr takes nothing returns nothing
set gg_trg_Leavecampofrr = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_Leavecampofrr, gg_rct_Camp_of_Rohan_Riders )
call TriggerAddCondition( gg_trg_Leavecampofrr, Condition( function Trig_Leavecampofrr_Conditions ) )
call TriggerAddAction( gg_trg_Leavecampofrr, function Trig_Leavecampofrr_Actions )
endfunction
function Trig_LeaveOujda_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveOujda_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveOujda_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveOujda_Func001001001002001(), Trig_LeaveOujda_Func001001001002002() )
endfunction
function Trig_LeaveOujda_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Isengard, Condition(function Trig_LeaveOujda_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveOujda_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Isengard) )
endfunction
//===========================================================================
function InitTrig_LeaveOujda takes nothing returns nothing
set gg_trg_LeaveOujda = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveOujda, gg_rct_Isengard )
call TriggerAddCondition( gg_trg_LeaveOujda, Condition( function Trig_LeaveOujda_Conditions ) )
call TriggerAddAction( gg_trg_LeaveOujda, function Trig_LeaveOujda_Actions )
endfunction
function Trig_LeaveTunis_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveTunis_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveTunis_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveTunis_Func001001001002001(), Trig_LeaveTunis_Func001001001002002() )
endfunction
function Trig_LeaveTunis_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Tunis, Condition(function Trig_LeaveTunis_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveTunis_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Tunis) )
endfunction
//===========================================================================
function InitTrig_LeaveTunis takes nothing returns nothing
set gg_trg_LeaveTunis = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveTunis, gg_rct_Tunis )
call TriggerAddCondition( gg_trg_LeaveTunis, Condition( function Trig_LeaveTunis_Conditions ) )
call TriggerAddAction( gg_trg_LeaveTunis, function Trig_LeaveTunis_Actions )
endfunction
function Trig_LeavePalermo_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeavePalermo_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeavePalermo_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeavePalermo_Func001001001002001(), Trig_LeavePalermo_Func001001001002002() )
endfunction
function Trig_LeavePalermo_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Dunland, Condition(function Trig_LeavePalermo_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeavePalermo_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Dunland) )
endfunction
//===========================================================================
function InitTrig_LeavePalermo takes nothing returns nothing
set gg_trg_LeavePalermo = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeavePalermo, gg_rct_Dunland )
call TriggerAddCondition( gg_trg_LeavePalermo, Condition( function Trig_LeavePalermo_Conditions ) )
call TriggerAddAction( gg_trg_LeavePalermo, function Trig_LeavePalermo_Actions )
endfunction
function Trig_LeaveNapels_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveNapels_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveNapels_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveNapels_Func001001001002001(), Trig_LeaveNapels_Func001001001002002() )
endfunction
function Trig_LeaveNapels_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Bree, Condition(function Trig_LeaveNapels_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveNapels_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Bree) )
endfunction
//===========================================================================
function InitTrig_LeaveNapels takes nothing returns nothing
set gg_trg_LeaveNapels = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveNapels, gg_rct_Bree )
call TriggerAddCondition( gg_trg_LeaveNapels, Condition( function Trig_LeaveNapels_Conditions ) )
call TriggerAddAction( gg_trg_LeaveNapels, function Trig_LeaveNapels_Actions )
endfunction
function Trig_LeaveRome_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveRome_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveRome_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveRome_Func001001001002001(), Trig_LeaveRome_Func001001001002002() )
endfunction
function Trig_LeaveRome_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Rivendell, Condition(function Trig_LeaveRome_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveRome_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Rivendell) )
endfunction
//===========================================================================
function InitTrig_LeaveRome takes nothing returns nothing
set gg_trg_LeaveRome = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveRome, gg_rct_Rivendell )
call TriggerAddCondition( gg_trg_LeaveRome, Condition( function Trig_LeaveRome_Conditions ) )
call TriggerAddAction( gg_trg_LeaveRome, function Trig_LeaveRome_Actions )
endfunction
function Trig_LeaveMilaan_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveMilaan_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveMilaan_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveMilaan_Func001001001002001(), Trig_LeaveMilaan_Func001001001002002() )
endfunction
function Trig_LeaveMilaan_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Hobbiton, Condition(function Trig_LeaveMilaan_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveMilaan_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Hobbiton) )
endfunction
//===========================================================================
function InitTrig_LeaveMilaan takes nothing returns nothing
set gg_trg_LeaveMilaan = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveMilaan, gg_rct_Hobbiton )
call TriggerAddCondition( gg_trg_LeaveMilaan, Condition( function Trig_LeaveMilaan_Conditions ) )
call TriggerAddAction( gg_trg_LeaveMilaan, function Trig_LeaveMilaan_Actions )
endfunction
function Trig_LeaveTriest_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveTriest_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveTriest_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveTriest_Func001001001002001(), Trig_LeaveTriest_Func001001001002002() )
endfunction
function Trig_LeaveTriest_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Triest, Condition(function Trig_LeaveTriest_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveTriest_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Triest) )
endfunction
//===========================================================================
function InitTrig_LeaveTriest takes nothing returns nothing
set gg_trg_LeaveTriest = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveTriest, gg_rct_Triest )
call TriggerAddCondition( gg_trg_LeaveTriest, Condition( function Trig_LeaveTriest_Conditions ) )
call TriggerAddAction( gg_trg_LeaveTriest, function Trig_LeaveTriest_Actions )
endfunction
function Trig_LeaveBern_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveBern_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveBern_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveBern_Func001001001002001(), Trig_LeaveBern_Func001001001002002() )
endfunction
function Trig_LeaveBern_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Bern, Condition(function Trig_LeaveBern_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveBern_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Bern) )
endfunction
//===========================================================================
function InitTrig_LeaveBern takes nothing returns nothing
set gg_trg_LeaveBern = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveBern, gg_rct_Bern )
call TriggerAddCondition( gg_trg_LeaveBern, Condition( function Trig_LeaveBern_Conditions ) )
call TriggerAddAction( gg_trg_LeaveBern, function Trig_LeaveBern_Actions )
endfunction
function Trig_LeaveFrankfurt_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveFrankfurt_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveFrankfurt_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveFrankfurt_Func001001001002001(), Trig_LeaveFrankfurt_Func001001001002002() )
endfunction
function Trig_LeaveFrankfurt_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Frankfurt, Condition(function Trig_LeaveFrankfurt_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveFrankfurt_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Frankfurt) )
endfunction
//===========================================================================
function InitTrig_LeaveFrankfurt takes nothing returns nothing
set gg_trg_LeaveFrankfurt = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveFrankfurt, gg_rct_Frankfurt )
call TriggerAddCondition( gg_trg_LeaveFrankfurt, Condition( function Trig_LeaveFrankfurt_Conditions ) )
call TriggerAddAction( gg_trg_LeaveFrankfurt, function Trig_LeaveFrankfurt_Actions )
endfunction
function Trig_LeaveSczecin_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveSczecin_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveSczecin_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveSczecin_Func001001001002001(), Trig_LeaveSczecin_Func001001001002002() )
endfunction
function Trig_LeaveSczecin_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Sczecin, Condition(function Trig_LeaveSczecin_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveSczecin_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Sczecin) )
endfunction
//===========================================================================
function InitTrig_LeaveSczecin takes nothing returns nothing
set gg_trg_LeaveSczecin = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveSczecin, gg_rct_Sczecin )
call TriggerAddCondition( gg_trg_LeaveSczecin, Condition( function Trig_LeaveSczecin_Conditions ) )
call TriggerAddAction( gg_trg_LeaveSczecin, function Trig_LeaveSczecin_Actions )
endfunction
function Trig_LeaveOregon_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveOregon_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveOregon_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveOregon_Func001001001002001(), Trig_LeaveOregon_Func001001001002002() )
endfunction
function Trig_LeaveOregon_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Oregon, Condition(function Trig_LeaveOregon_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveOregon_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Oregon) )
endfunction
//===========================================================================
function InitTrig_LeaveOregon takes nothing returns nothing
set gg_trg_LeaveOregon = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveOregon, gg_rct_Oregon )
call TriggerAddCondition( gg_trg_LeaveOregon, Condition( function Trig_LeaveOregon_Conditions ) )
call TriggerAddAction( gg_trg_LeaveOregon, function Trig_LeaveOregon_Actions )
endfunction
function Trig_LeaveGoteborg_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveGoteborg_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveGoteborg_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveGoteborg_Func001001001002001(), Trig_LeaveGoteborg_Func001001001002002() )
endfunction
function Trig_LeaveGoteborg_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Goteborg, Condition(function Trig_LeaveGoteborg_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveGoteborg_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Goteborg) )
endfunction
//===========================================================================
function InitTrig_LeaveGoteborg takes nothing returns nothing
set gg_trg_LeaveGoteborg = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveGoteborg, gg_rct_Goteborg )
call TriggerAddCondition( gg_trg_LeaveGoteborg, Condition( function Trig_LeaveGoteborg_Conditions ) )
call TriggerAddAction( gg_trg_LeaveGoteborg, function Trig_LeaveGoteborg_Actions )
endfunction
function Trig_LeaveBergen_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveBergen_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveBergen_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveBergen_Func001001001002001(), Trig_LeaveBergen_Func001001001002002() )
endfunction
function Trig_LeaveBergen_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Bergen, Condition(function Trig_LeaveBergen_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveBergen_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Bergen) )
endfunction
//===========================================================================
function InitTrig_LeaveBergen takes nothing returns nothing
set gg_trg_LeaveBergen = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveBergen, gg_rct_Bergen )
call TriggerAddCondition( gg_trg_LeaveBergen, Condition( function Trig_LeaveBergen_Conditions ) )
call TriggerAddAction( gg_trg_LeaveBergen, function Trig_LeaveBergen_Actions )
endfunction
function Trig_LeaveOslo_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveOslo_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveOslo_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveOslo_Func001001001002001(), Trig_LeaveOslo_Func001001001002002() )
endfunction
function Trig_LeaveOslo_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Oslo, Condition(function Trig_LeaveOslo_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveOslo_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Oslo) )
endfunction
//===========================================================================
function InitTrig_LeaveOslo takes nothing returns nothing
set gg_trg_LeaveOslo = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveOslo, gg_rct_Oslo )
call TriggerAddCondition( gg_trg_LeaveOslo, Condition( function Trig_LeaveOslo_Conditions ) )
call TriggerAddAction( gg_trg_LeaveOslo, function Trig_LeaveOslo_Actions )
endfunction
function Trig_LeaveTrondheim_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveTrondheim_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveTrondheim_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveTrondheim_Func001001001002001(), Trig_LeaveTrondheim_Func001001001002002() )
endfunction
function Trig_LeaveTrondheim_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Trondheim, Condition(function Trig_LeaveTrondheim_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveTrondheim_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Trondheim) )
endfunction
//===========================================================================
function InitTrig_LeaveTrondheim takes nothing returns nothing
set gg_trg_LeaveTrondheim = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveTrondheim, gg_rct_Trondheim )
call TriggerAddCondition( gg_trg_LeaveTrondheim, Condition( function Trig_LeaveTrondheim_Conditions ) )
call TriggerAddAction( gg_trg_LeaveTrondheim, function Trig_LeaveTrondheim_Actions )
endfunction
function Trig_LeaveLulea_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveLulea_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveLulea_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveLulea_Func001001001002001(), Trig_LeaveLulea_Func001001001002002() )
endfunction
function Trig_LeaveLulea_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Lulea, Condition(function Trig_LeaveLulea_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveLulea_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Lulea) )
endfunction
//===========================================================================
function InitTrig_LeaveLulea takes nothing returns nothing
set gg_trg_LeaveLulea = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveLulea, gg_rct_Lulea )
call TriggerAddCondition( gg_trg_LeaveLulea, Condition( function Trig_LeaveLulea_Conditions ) )
call TriggerAddAction( gg_trg_LeaveLulea, function Trig_LeaveLulea_Actions )
endfunction
function Trig_LeaveOulu_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveOulu_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveOulu_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveOulu_Func001001001002001(), Trig_LeaveOulu_Func001001001002002() )
endfunction
function Trig_LeaveOulu_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Oulu, Condition(function Trig_LeaveOulu_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveOulu_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Oulu) )
endfunction
//===========================================================================
function InitTrig_LeaveOulu takes nothing returns nothing
set gg_trg_LeaveOulu = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveOulu, gg_rct_Oulu )
call TriggerAddCondition( gg_trg_LeaveOulu, Condition( function Trig_LeaveOulu_Conditions ) )
call TriggerAddAction( gg_trg_LeaveOulu, function Trig_LeaveOulu_Actions )
endfunction
function Trig_LeaveHelsinki_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveHelsinki_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveHelsinki_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveHelsinki_Func001001001002001(), Trig_LeaveHelsinki_Func001001001002002() )
endfunction
function Trig_LeaveHelsinki_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Helsinki, Condition(function Trig_LeaveHelsinki_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveHelsinki_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Helsinki) )
endfunction
//===========================================================================
function InitTrig_LeaveHelsinki takes nothing returns nothing
set gg_trg_LeaveHelsinki = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveHelsinki, gg_rct_Helsinki )
call TriggerAddCondition( gg_trg_LeaveHelsinki, Condition( function Trig_LeaveHelsinki_Conditions ) )
call TriggerAddAction( gg_trg_LeaveHelsinki, function Trig_LeaveHelsinki_Actions )
endfunction
function Trig_LeaveArchangelsk_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveArchangelsk_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveArchangelsk_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveArchangelsk_Func001001001002001(), Trig_LeaveArchangelsk_Func001001001002002() )
endfunction
function Trig_LeaveArchangelsk_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Archangelsk, Condition(function Trig_LeaveArchangelsk_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveArchangelsk_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Archangelsk) )
endfunction
//===========================================================================
function InitTrig_LeaveArchangelsk takes nothing returns nothing
set gg_trg_LeaveArchangelsk = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveArchangelsk, gg_rct_Archangelsk )
call TriggerAddCondition( gg_trg_LeaveArchangelsk, Condition( function Trig_LeaveArchangelsk_Conditions ) )
call TriggerAddAction( gg_trg_LeaveArchangelsk, function Trig_LeaveArchangelsk_Actions )
endfunction
function Trig_LeaveKotlas_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveKotlas_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveKotlas_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveKotlas_Func001001001002001(), Trig_LeaveKotlas_Func001001001002002() )
endfunction
function Trig_LeaveKotlas_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Kotlas, Condition(function Trig_LeaveKotlas_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveKotlas_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Kotlas) )
endfunction
//===========================================================================
function InitTrig_LeaveKotlas takes nothing returns nothing
set gg_trg_LeaveKotlas = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveKotlas, gg_rct_Kotlas )
call TriggerAddCondition( gg_trg_LeaveKotlas, Condition( function Trig_LeaveKotlas_Conditions ) )
call TriggerAddAction( gg_trg_LeaveKotlas, function Trig_LeaveKotlas_Actions )
endfunction
function Trig_LeaveStPetersburg_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveStPetersburg_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveStPetersburg_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveStPetersburg_Func001001001002001(), Trig_LeaveStPetersburg_Func001001001002002() )
endfunction
function Trig_LeaveStPetersburg_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_St_Petersburg, Condition(function Trig_LeaveStPetersburg_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveStPetersburg_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_St_Petersburg) )
endfunction
//===========================================================================
function InitTrig_LeaveStPetersburg takes nothing returns nothing
set gg_trg_LeaveStPetersburg = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveStPetersburg, gg_rct_St_Petersburg )
call TriggerAddCondition( gg_trg_LeaveStPetersburg, Condition( function Trig_LeaveStPetersburg_Conditions ) )
call TriggerAddAction( gg_trg_LeaveStPetersburg, function Trig_LeaveStPetersburg_Actions )
endfunction
function Trig_LeaveMoskou_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveMoskou_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveMoskou_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveMoskou_Func001001001002001(), Trig_LeaveMoskou_Func001001001002002() )
endfunction
function Trig_LeaveMoskou_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Moskou, Condition(function Trig_LeaveMoskou_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveMoskou_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Moskou) )
endfunction
//===========================================================================
function InitTrig_LeaveMoskou takes nothing returns nothing
set gg_trg_LeaveMoskou = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveMoskou, gg_rct_Moskou )
call TriggerAddCondition( gg_trg_LeaveMoskou, Condition( function Trig_LeaveMoskou_Conditions ) )
call TriggerAddAction( gg_trg_LeaveMoskou, function Trig_LeaveMoskou_Actions )
endfunction
function Trig_LeaveRiga_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveRiga_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveRiga_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveRiga_Func001001001002001(), Trig_LeaveRiga_Func001001001002002() )
endfunction
function Trig_LeaveRiga_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Riga, Condition(function Trig_LeaveRiga_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveRiga_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Riga) )
endfunction
//===========================================================================
function InitTrig_LeaveRiga takes nothing returns nothing
set gg_trg_LeaveRiga = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveRiga, gg_rct_Riga )
call TriggerAddCondition( gg_trg_LeaveRiga, Condition( function Trig_LeaveRiga_Conditions ) )
call TriggerAddAction( gg_trg_LeaveRiga, function Trig_LeaveRiga_Actions )
endfunction
function Trig_LeaveToela_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveToela_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveToela_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveToela_Func001001001002001(), Trig_LeaveToela_Func001001001002002() )
endfunction
function Trig_LeaveToela_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Toela, Condition(function Trig_LeaveToela_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveToela_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Toela) )
endfunction
//===========================================================================
function InitTrig_LeaveToela takes nothing returns nothing
set gg_trg_LeaveToela = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveToela, gg_rct_Toela )
call TriggerAddCondition( gg_trg_LeaveToela, Condition( function Trig_LeaveToela_Conditions ) )
call TriggerAddAction( gg_trg_LeaveToela, function Trig_LeaveToela_Actions )
endfunction
function Trig_LeaveMinsk_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveMinsk_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveMinsk_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveMinsk_Func001001001002001(), Trig_LeaveMinsk_Func001001001002002() )
endfunction
function Trig_LeaveMinsk_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Minsk, Condition(function Trig_LeaveMinsk_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveMinsk_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Minsk) )
endfunction
//===========================================================================
function InitTrig_LeaveMinsk takes nothing returns nothing
set gg_trg_LeaveMinsk = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveMinsk, gg_rct_Minsk )
call TriggerAddCondition( gg_trg_LeaveMinsk, Condition( function Trig_LeaveMinsk_Conditions ) )
call TriggerAddAction( gg_trg_LeaveMinsk, function Trig_LeaveMinsk_Actions )
endfunction
function Trig_LeaveWarschau_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveWarschau_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveWarschau_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveWarschau_Func001001001002001(), Trig_LeaveWarschau_Func001001001002002() )
endfunction
function Trig_LeaveWarschau_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Warschau, Condition(function Trig_LeaveWarschau_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveWarschau_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Warschau) )
endfunction
//===========================================================================
function InitTrig_LeaveWarschau takes nothing returns nothing
set gg_trg_LeaveWarschau = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveWarschau, gg_rct_Warschau )
call TriggerAddCondition( gg_trg_LeaveWarschau, Condition( function Trig_LeaveWarschau_Conditions ) )
call TriggerAddAction( gg_trg_LeaveWarschau, function Trig_LeaveWarschau_Actions )
endfunction
function Trig_LeaveBoedepast_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveBoedepast_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveBoedepast_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveBoedepast_Func001001001002001(), Trig_LeaveBoedepast_Func001001001002002() )
endfunction
function Trig_LeaveBoedepast_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Dol_Amroth, Condition(function Trig_LeaveBoedepast_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveBoedepast_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Dol_Amroth) )
endfunction
//===========================================================================
function InitTrig_LeaveBoedepast takes nothing returns nothing
set gg_trg_LeaveBoedepast = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveBoedepast, gg_rct_Dol_Amroth )
call TriggerAddCondition( gg_trg_LeaveBoedepast, Condition( function Trig_LeaveBoedepast_Conditions ) )
call TriggerAddAction( gg_trg_LeaveBoedepast, function Trig_LeaveBoedepast_Actions )
endfunction
function Trig_LeaveCharkiw_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveCharkiw_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveCharkiw_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveCharkiw_Func001001001002001(), Trig_LeaveCharkiw_Func001001001002002() )
endfunction
function Trig_LeaveCharkiw_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Charkiw, Condition(function Trig_LeaveCharkiw_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveCharkiw_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Charkiw) )
endfunction
//===========================================================================
function InitTrig_LeaveCharkiw takes nothing returns nothing
set gg_trg_LeaveCharkiw = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveCharkiw, gg_rct_Charkiw )
call TriggerAddCondition( gg_trg_LeaveCharkiw, Condition( function Trig_LeaveCharkiw_Conditions ) )
call TriggerAddAction( gg_trg_LeaveCharkiw, function Trig_LeaveCharkiw_Actions )
endfunction
function Trig_LeaveWolgagrad_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveWolgagrad_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveWolgagrad_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveWolgagrad_Func001001001002001(), Trig_LeaveWolgagrad_Func001001001002002() )
endfunction
function Trig_LeaveWolgagrad_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Wolgagrad, Condition(function Trig_LeaveWolgagrad_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveWolgagrad_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Wolgagrad) )
endfunction
//===========================================================================
function InitTrig_LeaveWolgagrad takes nothing returns nothing
set gg_trg_LeaveWolgagrad = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveWolgagrad, gg_rct_Wolgagrad )
call TriggerAddCondition( gg_trg_LeaveWolgagrad, Condition( function Trig_LeaveWolgagrad_Conditions ) )
call TriggerAddAction( gg_trg_LeaveWolgagrad, function Trig_LeaveWolgagrad_Actions )
endfunction
function Trig_LeaveBoekarest_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveBoekarest_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveBoekarest_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveBoekarest_Func001001001002001(), Trig_LeaveBoekarest_Func001001001002002() )
endfunction
function Trig_LeaveBoekarest_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Boekarest, Condition(function Trig_LeaveBoekarest_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveBoekarest_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Boekarest) )
endfunction
//===========================================================================
function InitTrig_LeaveBoekarest takes nothing returns nothing
set gg_trg_LeaveBoekarest = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveBoekarest, gg_rct_Boekarest )
call TriggerAddCondition( gg_trg_LeaveBoekarest, Condition( function Trig_LeaveBoekarest_Conditions ) )
call TriggerAddAction( gg_trg_LeaveBoekarest, function Trig_LeaveBoekarest_Actions )
endfunction
function Trig_LeaveSarajevo_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveSarajevo_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveSarajevo_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveSarajevo_Func001001001002001(), Trig_LeaveSarajevo_Func001001001002002() )
endfunction
function Trig_LeaveSarajevo_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Sarajevo, Condition(function Trig_LeaveSarajevo_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveSarajevo_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Sarajevo) )
endfunction
//===========================================================================
function InitTrig_LeaveSarajevo takes nothing returns nothing
set gg_trg_LeaveSarajevo = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveSarajevo, gg_rct_Sarajevo )
call TriggerAddCondition( gg_trg_LeaveSarajevo, Condition( function Trig_LeaveSarajevo_Conditions ) )
call TriggerAddAction( gg_trg_LeaveSarajevo, function Trig_LeaveSarajevo_Actions )
endfunction
function Trig_LeaveAthene_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveAthene_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveAthene_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveAthene_Func001001001002001(), Trig_LeaveAthene_Func001001001002002() )
endfunction
function Trig_LeaveAthene_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Athene, Condition(function Trig_LeaveAthene_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveAthene_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Athene) )
endfunction
//===========================================================================
function InitTrig_LeaveAthene takes nothing returns nothing
set gg_trg_LeaveAthene = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveAthene, gg_rct_Athene )
call TriggerAddCondition( gg_trg_LeaveAthene, Condition( function Trig_LeaveAthene_Conditions ) )
call TriggerAddAction( gg_trg_LeaveAthene, function Trig_LeaveAthene_Actions )
endfunction
function Trig_LeaveIstanbul_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveIstanbul_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveIstanbul_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveIstanbul_Func001001001002001(), Trig_LeaveIstanbul_Func001001001002002() )
endfunction
function Trig_LeaveIstanbul_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Istanbul, Condition(function Trig_LeaveIstanbul_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveIstanbul_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Istanbul) )
endfunction
//===========================================================================
function InitTrig_LeaveIstanbul takes nothing returns nothing
set gg_trg_LeaveIstanbul = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveIstanbul, gg_rct_Istanbul )
call TriggerAddCondition( gg_trg_LeaveIstanbul, Condition( function Trig_LeaveIstanbul_Conditions ) )
call TriggerAddAction( gg_trg_LeaveIstanbul, function Trig_LeaveIstanbul_Actions )
endfunction
function Trig_LeaveTbilisi_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveTbilisi_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveTbilisi_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveTbilisi_Func001001001002001(), Trig_LeaveTbilisi_Func001001001002002() )
endfunction
function Trig_LeaveTbilisi_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Tbilisi, Condition(function Trig_LeaveTbilisi_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveTbilisi_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Tbilisi) )
endfunction
//===========================================================================
function InitTrig_LeaveTbilisi takes nothing returns nothing
set gg_trg_LeaveTbilisi = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveTbilisi, gg_rct_Tbilisi )
call TriggerAddCondition( gg_trg_LeaveTbilisi, Condition( function Trig_LeaveTbilisi_Conditions ) )
call TriggerAddAction( gg_trg_LeaveTbilisi, function Trig_LeaveTbilisi_Actions )
endfunction
function Trig_LeaveAleppo_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveAleppo_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveAleppo_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveAleppo_Func001001001002001(), Trig_LeaveAleppo_Func001001001002002() )
endfunction
function Trig_LeaveAleppo_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Aleppo, Condition(function Trig_LeaveAleppo_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveAleppo_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Aleppo) )
endfunction
//===========================================================================
function InitTrig_LeaveAleppo takes nothing returns nothing
set gg_trg_LeaveAleppo = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveAleppo, gg_rct_Aleppo )
call TriggerAddCondition( gg_trg_LeaveAleppo, Condition( function Trig_LeaveAleppo_Conditions ) )
call TriggerAddAction( gg_trg_LeaveAleppo, function Trig_LeaveAleppo_Actions )
endfunction
function Trig_LeaveCirith_ungol_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveCirith_ungol_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveCirith_ungol_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveCirith_ungol_Func001001001002001(), Trig_LeaveCirith_ungol_Func001001001002002() )
endfunction
function Trig_LeaveCirith_ungol_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Cirith_Ungol, Condition(function Trig_LeaveCirith_ungol_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveCirith_ungol_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Cirith_Ungol) )
endfunction
//===========================================================================
function InitTrig_LeaveCirith_ungol takes nothing returns nothing
set gg_trg_LeaveCirith_ungol = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveCirith_ungol, gg_rct_Cirith_Ungol )
call TriggerAddCondition( gg_trg_LeaveCirith_ungol, Condition( function Trig_LeaveCirith_ungol_Conditions ) )
call TriggerAddAction( gg_trg_LeaveCirith_ungol, function Trig_LeaveCirith_ungol_Actions )
endfunction
function Trig_LeaveMoria_Hall_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveMoria_Hall_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveMoria_Hall_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveMoria_Hall_Func001001001002001(), Trig_LeaveMoria_Hall_Func001001001002002() )
endfunction
function Trig_LeaveMoria_Hall_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Hall_of_Moria, Condition(function Trig_LeaveMoria_Hall_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveMoria_Hall_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Hall_of_Moria) )
endfunction
//===========================================================================
function InitTrig_LeaveMoria_Hall takes nothing returns nothing
set gg_trg_LeaveMoria_Hall = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveMoria_Hall, gg_rct_Hall_of_Moria )
call TriggerAddCondition( gg_trg_LeaveMoria_Hall, Condition( function Trig_LeaveMoria_Hall_Conditions ) )
call TriggerAddAction( gg_trg_LeaveMoria_Hall, function Trig_LeaveMoria_Hall_Actions )
endfunction
function Trig_LeaveKhazad_dum_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveKhazad_dum_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveKhazad_dum_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveKhazad_dum_Func001001001002001(), Trig_LeaveKhazad_dum_Func001001001002002() )
endfunction
function Trig_LeaveKhazad_dum_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Khazad_Dum, Condition(function Trig_LeaveKhazad_dum_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveKhazad_dum_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Khazad_Dum) )
endfunction
//===========================================================================
function InitTrig_LeaveKhazad_dum takes nothing returns nothing
set gg_trg_LeaveKhazad_dum = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveKhazad_dum, gg_rct_Khazad_Dum )
call TriggerAddCondition( gg_trg_LeaveKhazad_dum, Condition( function Trig_LeaveKhazad_dum_Conditions ) )
call TriggerAddAction( gg_trg_LeaveKhazad_dum, function Trig_LeaveKhazad_dum_Actions )
endfunction
function Trig_LeaveBalins_Tomb_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveBalins_Tomb_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveBalins_Tomb_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveBalins_Tomb_Func001001001002001(), Trig_LeaveBalins_Tomb_Func001001001002002() )
endfunction
function Trig_LeaveBalins_Tomb_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Balins_Tomb, Condition(function Trig_LeaveBalins_Tomb_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveBalins_Tomb_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Balins_Tomb) )
endfunction
//===========================================================================
function InitTrig_LeaveBalins_Tomb takes nothing returns nothing
set gg_trg_LeaveBalins_Tomb = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveBalins_Tomb, gg_rct_Balins_Tomb )
call TriggerAddCondition( gg_trg_LeaveBalins_Tomb, Condition( function Trig_LeaveBalins_Tomb_Conditions ) )
call TriggerAddAction( gg_trg_LeaveBalins_Tomb, function Trig_LeaveBalins_Tomb_Actions )
endfunction
function Trig_LeaveOrc_main_camp_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveOrc_main_camp_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveOrc_main_camp_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveOrc_main_camp_Func001001001002001(), Trig_LeaveOrc_main_camp_Func001001001002002() )
endfunction
function Trig_LeaveOrc_main_camp_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Moria_Orc_Main_Camp, Condition(function Trig_LeaveOrc_main_camp_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveOrc_main_camp_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Moria_Orc_Main_Camp) )
endfunction
//===========================================================================
function InitTrig_LeaveOrc_main_camp takes nothing returns nothing
set gg_trg_LeaveOrc_main_camp = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveOrc_main_camp, gg_rct_Moria_Orc_Main_Camp )
call TriggerAddCondition( gg_trg_LeaveOrc_main_camp, Condition( function Trig_LeaveOrc_main_camp_Conditions ) )
call TriggerAddAction( gg_trg_LeaveOrc_main_camp, function Trig_LeaveOrc_main_camp_Actions )
endfunction
function Trig_LeaveDestroyed_mine_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveDestroyed_mine_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveDestroyed_mine_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveDestroyed_mine_Func001001001002001(), Trig_LeaveDestroyed_mine_Func001001001002002() )
endfunction
function Trig_LeaveDestroyed_mine_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Destroyed_Mine, Condition(function Trig_LeaveDestroyed_mine_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveDestroyed_mine_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Destroyed_Mine) )
endfunction
//===========================================================================
function InitTrig_LeaveDestroyed_mine takes nothing returns nothing
set gg_trg_LeaveDestroyed_mine = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveDestroyed_mine, gg_rct_Destroyed_Mine )
call TriggerAddCondition( gg_trg_LeaveDestroyed_mine, Condition( function Trig_LeaveDestroyed_mine_Conditions ) )
call TriggerAddAction( gg_trg_LeaveDestroyed_mine, function Trig_LeaveDestroyed_mine_Actions )
endfunction
function Trig_LeaveGraveyard_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveGraveyard_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveGraveyard_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveGraveyard_Func001001001002001(), Trig_LeaveGraveyard_Func001001001002002() )
endfunction
function Trig_LeaveGraveyard_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Graveyard, Condition(function Trig_LeaveGraveyard_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveGraveyard_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Graveyard) )
endfunction
//===========================================================================
function InitTrig_LeaveGraveyard takes nothing returns nothing
set gg_trg_LeaveGraveyard = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveGraveyard, gg_rct_Graveyard )
call TriggerAddCondition( gg_trg_LeaveGraveyard, Condition( function Trig_LeaveGraveyard_Conditions ) )
call TriggerAddAction( gg_trg_LeaveGraveyard, function Trig_LeaveGraveyard_Actions )
endfunction
function Trig_LeaveArmory_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveArmory_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveArmory_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveArmory_Func001001001002001(), Trig_LeaveArmory_Func001001001002002() )
endfunction
function Trig_LeaveArmory_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Armory, Condition(function Trig_LeaveArmory_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveArmory_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Armory) )
endfunction
//===========================================================================
function InitTrig_LeaveArmory takes nothing returns nothing
set gg_trg_LeaveArmory = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveArmory, gg_rct_Armory )
call TriggerAddCondition( gg_trg_LeaveArmory, Condition( function Trig_LeaveArmory_Conditions ) )
call TriggerAddAction( gg_trg_LeaveArmory, function Trig_LeaveArmory_Actions )
endfunction
function Trig_LeaveBlacksmith_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveBlacksmith_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveBlacksmith_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveBlacksmith_Func001001001002001(), Trig_LeaveBlacksmith_Func001001001002002() )
endfunction
function Trig_LeaveBlacksmith_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_California, Condition(function Trig_LeaveBlacksmith_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveBlacksmith_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_California) )
endfunction
//===========================================================================
function InitTrig_LeaveBlacksmith takes nothing returns nothing
set gg_trg_LeaveBlacksmith = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveBlacksmith, gg_rct_California )
call TriggerAddCondition( gg_trg_LeaveBlacksmith, Condition( function Trig_LeaveBlacksmith_Conditions ) )
call TriggerAddAction( gg_trg_LeaveBlacksmith, function Trig_LeaveBlacksmith_Actions )
endfunction
function Trig_LeaveSoutheastShire_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveSoutheastShire_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveSoutheastShire_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveSoutheastShire_Func001001001002001(), Trig_LeaveSoutheastShire_Func001001001002002() )
endfunction
function Trig_LeaveSoutheastShire_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Florida, Condition(function Trig_LeaveSoutheastShire_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveSoutheastShire_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Florida) )
endfunction
//===========================================================================
function InitTrig_LeaveSoutheastShire takes nothing returns nothing
set gg_trg_LeaveSoutheastShire = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveSoutheastShire, gg_rct_Florida )
call TriggerAddCondition( gg_trg_LeaveSoutheastShire, Condition( function Trig_LeaveSoutheastShire_Conditions ) )
call TriggerAddAction( gg_trg_LeaveSoutheastShire, function Trig_LeaveSoutheastShire_Actions )
endfunction
function Trig_NorthWest_Rhovanion_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_NorthWest_Rhovanion_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_NorthWest_Rhovanion_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_NorthWest_Rhovanion_Func001001001002001(), Trig_NorthWest_Rhovanion_Func001001001002002() )
endfunction
function Trig_NorthWest_Rhovanion_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_083, Condition(function Trig_NorthWest_Rhovanion_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_NorthWest_Rhovanion_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_083) )
endfunction
//===========================================================================
function InitTrig_NorthWest_Rhovanion takes nothing returns nothing
set gg_trg_NorthWest_Rhovanion = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_NorthWest_Rhovanion, gg_rct_Region_083 )
call TriggerAddCondition( gg_trg_NorthWest_Rhovanion, Condition( function Trig_NorthWest_Rhovanion_Conditions ) )
call TriggerAddAction( gg_trg_NorthWest_Rhovanion, function Trig_NorthWest_Rhovanion_Actions )
endfunction
function Trig_LeaveWestRhovanion_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveWestRhovanion_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveWestRhovanion_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveWestRhovanion_Func001001001002001(), Trig_LeaveWestRhovanion_Func001001001002002() )
endfunction
function Trig_LeaveWestRhovanion_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_085, Condition(function Trig_LeaveWestRhovanion_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveWestRhovanion_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_085) )
endfunction
//===========================================================================
function InitTrig_LeaveWestRhovanion takes nothing returns nothing
set gg_trg_LeaveWestRhovanion = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveWestRhovanion, gg_rct_Region_085 )
call TriggerAddCondition( gg_trg_LeaveWestRhovanion, Condition( function Trig_LeaveWestRhovanion_Conditions ) )
call TriggerAddAction( gg_trg_LeaveWestRhovanion, function Trig_LeaveWestRhovanion_Actions )
endfunction
function Trig_LeaveDagorlad_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveDagorlad_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveDagorlad_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveDagorlad_Func001001001002001(), Trig_LeaveDagorlad_Func001001001002002() )
endfunction
function Trig_LeaveDagorlad_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_086, Condition(function Trig_LeaveDagorlad_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveDagorlad_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_086) )
endfunction
//===========================================================================
function InitTrig_LeaveDagorlad takes nothing returns nothing
set gg_trg_LeaveDagorlad = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveDagorlad, gg_rct_Region_086 )
call TriggerAddCondition( gg_trg_LeaveDagorlad, Condition( function Trig_LeaveDagorlad_Conditions ) )
call TriggerAddAction( gg_trg_LeaveDagorlad, function Trig_LeaveDagorlad_Actions )
endfunction
function Trig_LeaveEasterlingEncampment_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveEasterlingEncampment_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveEasterlingEncampment_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveEasterlingEncampment_Func001001001002001(), Trig_LeaveEasterlingEncampment_Func001001001002002() )
endfunction
function Trig_LeaveEasterlingEncampment_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_088, Condition(function Trig_LeaveEasterlingEncampment_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveEasterlingEncampment_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_088) )
endfunction
//===========================================================================
function InitTrig_LeaveEasterlingEncampment takes nothing returns nothing
set gg_trg_LeaveEasterlingEncampment = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveEasterlingEncampment, gg_rct_Region_088 )
call TriggerAddCondition( gg_trg_LeaveEasterlingEncampment, Condition( function Trig_LeaveEasterlingEncampment_Conditions ) )
call TriggerAddAction( gg_trg_LeaveEasterlingEncampment, function Trig_LeaveEasterlingEncampment_Actions )
endfunction
function Trig_LeaveEastRhovanion_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveEastRhovanion_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveEastRhovanion_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveEastRhovanion_Func001001001002001(), Trig_LeaveEastRhovanion_Func001001001002002() )
endfunction
function Trig_LeaveEastRhovanion_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_087, Condition(function Trig_LeaveEastRhovanion_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveEastRhovanion_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_087) )
endfunction
//===========================================================================
function InitTrig_LeaveEastRhovanion takes nothing returns nothing
set gg_trg_LeaveEastRhovanion = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveEastRhovanion, gg_rct_Region_087 )
call TriggerAddCondition( gg_trg_LeaveEastRhovanion, Condition( function Trig_LeaveEastRhovanion_Conditions ) )
call TriggerAddAction( gg_trg_LeaveEastRhovanion, function Trig_LeaveEastRhovanion_Actions )
endfunction
function Trig_LeaveNorthRhun_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveNorthRhun_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveNorthRhun_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveNorthRhun_Func001001001002001(), Trig_LeaveNorthRhun_Func001001001002002() )
endfunction
function Trig_LeaveNorthRhun_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_089, Condition(function Trig_LeaveNorthRhun_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveNorthRhun_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_089) )
endfunction
//===========================================================================
function InitTrig_LeaveNorthRhun takes nothing returns nothing
set gg_trg_LeaveNorthRhun = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveNorthRhun, gg_rct_Region_089 )
call TriggerAddCondition( gg_trg_LeaveNorthRhun, Condition( function Trig_LeaveNorthRhun_Conditions ) )
call TriggerAddAction( gg_trg_LeaveNorthRhun, function Trig_LeaveNorthRhun_Actions )
endfunction
function Trig_LeaveWitheredHeath_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveWitheredHeath_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveWitheredHeath_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveWitheredHeath_Func001001001002001(), Trig_LeaveWitheredHeath_Func001001001002002() )
endfunction
function Trig_LeaveWitheredHeath_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_090, Condition(function Trig_LeaveWitheredHeath_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveWitheredHeath_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_090) )
endfunction
//===========================================================================
function InitTrig_LeaveWitheredHeath takes nothing returns nothing
set gg_trg_LeaveWitheredHeath = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveWitheredHeath, gg_rct_Region_090 )
call TriggerAddCondition( gg_trg_LeaveWitheredHeath, Condition( function Trig_LeaveWitheredHeath_Conditions ) )
call TriggerAddAction( gg_trg_LeaveWitheredHeath, function Trig_LeaveWitheredHeath_Actions )
endfunction
function Trig_LeaveEsgaroth_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveEsgaroth_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveEsgaroth_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveEsgaroth_Func001001001002001(), Trig_LeaveEsgaroth_Func001001001002002() )
endfunction
function Trig_LeaveEsgaroth_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_091, Condition(function Trig_LeaveEsgaroth_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveEsgaroth_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_091) )
endfunction
//===========================================================================
function InitTrig_LeaveEsgaroth takes nothing returns nothing
set gg_trg_LeaveEsgaroth = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveEsgaroth, gg_rct_Region_091 )
call TriggerAddCondition( gg_trg_LeaveEsgaroth, Condition( function Trig_LeaveEsgaroth_Conditions ) )
call TriggerAddAction( gg_trg_LeaveEsgaroth, function Trig_LeaveEsgaroth_Actions )
endfunction
function Trig_LeaveSouthWestRhun_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveSouthWestRhun_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveSouthWestRhun_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveSouthWestRhun_Func001001001002001(), Trig_LeaveSouthWestRhun_Func001001001002002() )
endfunction
function Trig_LeaveSouthWestRhun_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_092, Condition(function Trig_LeaveSouthWestRhun_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveSouthWestRhun_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_092) )
endfunction
//===========================================================================
function InitTrig_LeaveSouthWestRhun takes nothing returns nothing
set gg_trg_LeaveSouthWestRhun = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveSouthWestRhun, gg_rct_Region_092 )
call TriggerAddCondition( gg_trg_LeaveSouthWestRhun, Condition( function Trig_LeaveSouthWestRhun_Conditions ) )
call TriggerAddAction( gg_trg_LeaveSouthWestRhun, function Trig_LeaveSouthWestRhun_Actions )
endfunction
function Trig_LeaveSouthRhun_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveSouthRhun_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveSouthRhun_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveSouthRhun_Func001001001002001(), Trig_LeaveSouthRhun_Func001001001002002() )
endfunction
function Trig_LeaveSouthRhun_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_093, Condition(function Trig_LeaveSouthRhun_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveSouthRhun_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_093) )
endfunction
//===========================================================================
function InitTrig_LeaveSouthRhun takes nothing returns nothing
set gg_trg_LeaveSouthRhun = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveSouthRhun, gg_rct_Region_093 )
call TriggerAddCondition( gg_trg_LeaveSouthRhun, Condition( function Trig_LeaveSouthRhun_Conditions ) )
call TriggerAddAction( gg_trg_LeaveSouthRhun, function Trig_LeaveSouthRhun_Actions )
endfunction
function Trig_LeaveNorthIthilien_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveNorthIthilien_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveNorthIthilien_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveNorthIthilien_Func001001001002001(), Trig_LeaveNorthIthilien_Func001001001002002() )
endfunction
function Trig_LeaveNorthIthilien_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_097, Condition(function Trig_LeaveNorthIthilien_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveNorthIthilien_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_097) )
endfunction
//===========================================================================
function InitTrig_LeaveNorthIthilien takes nothing returns nothing
set gg_trg_LeaveNorthIthilien = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveNorthIthilien, gg_rct_Region_097 )
call TriggerAddCondition( gg_trg_LeaveNorthIthilien, Condition( function Trig_LeaveNorthIthilien_Conditions ) )
call TriggerAddAction( gg_trg_LeaveNorthIthilien, function Trig_LeaveNorthIthilien_Actions )
endfunction
function Trig_LeaveSouthIthilien_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveSouthIthilien_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveSouthIthilien_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveSouthIthilien_Func001001001002001(), Trig_LeaveSouthIthilien_Func001001001002002() )
endfunction
function Trig_LeaveSouthIthilien_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_096, Condition(function Trig_LeaveSouthIthilien_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveSouthIthilien_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_096) )
endfunction
//===========================================================================
function InitTrig_LeaveSouthIthilien takes nothing returns nothing
set gg_trg_LeaveSouthIthilien = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveSouthIthilien, gg_rct_Region_096 )
call TriggerAddCondition( gg_trg_LeaveSouthIthilien, Condition( function Trig_LeaveSouthIthilien_Conditions ) )
call TriggerAddAction( gg_trg_LeaveSouthIthilien, function Trig_LeaveSouthIthilien_Actions )
endfunction
function Trig_LeaveDerdinglevale_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveDerdinglevale_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveDerdinglevale_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveDerdinglevale_Func001001001002001(), Trig_LeaveDerdinglevale_Func001001001002002() )
endfunction
function Trig_LeaveDerdinglevale_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_098, Condition(function Trig_LeaveDerdinglevale_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveDerdinglevale_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_098) )
endfunction
//===========================================================================
function InitTrig_LeaveDerdinglevale takes nothing returns nothing
set gg_trg_LeaveDerdinglevale = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveDerdinglevale, gg_rct_Region_098 )
call TriggerAddCondition( gg_trg_LeaveDerdinglevale, Condition( function Trig_LeaveDerdinglevale_Conditions ) )
call TriggerAddAction( gg_trg_LeaveDerdinglevale, function Trig_LeaveDerdinglevale_Actions )
endfunction
function Trig_LeaveNorthFangorn_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveNorthFangorn_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveNorthFangorn_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveNorthFangorn_Func001001001002001(), Trig_LeaveNorthFangorn_Func001001001002002() )
endfunction
function Trig_LeaveNorthFangorn_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_099, Condition(function Trig_LeaveNorthFangorn_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveNorthFangorn_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_099) )
endfunction
//===========================================================================
function InitTrig_LeaveNorthFangorn takes nothing returns nothing
set gg_trg_LeaveNorthFangorn = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveNorthFangorn, gg_rct_Region_099 )
call TriggerAddCondition( gg_trg_LeaveNorthFangorn, Condition( function Trig_LeaveNorthFangorn_Conditions ) )
call TriggerAddAction( gg_trg_LeaveNorthFangorn, function Trig_LeaveNorthFangorn_Actions )
endfunction
function Trig_LeaveUrukhaiencampment_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveUrukhaiencampment_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveUrukhaiencampment_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveUrukhaiencampment_Func001001001002001(), Trig_LeaveUrukhaiencampment_Func001001001002002() )
endfunction
function Trig_LeaveUrukhaiencampment_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_103, Condition(function Trig_LeaveUrukhaiencampment_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveUrukhaiencampment_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_103) )
endfunction
//===========================================================================
function InitTrig_LeaveUrukhaiencampment takes nothing returns nothing
set gg_trg_LeaveUrukhaiencampment = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveUrukhaiencampment, gg_rct_Region_103 )
call TriggerAddCondition( gg_trg_LeaveUrukhaiencampment, Condition( function Trig_LeaveUrukhaiencampment_Conditions ) )
call TriggerAddAction( gg_trg_LeaveUrukhaiencampment, function Trig_LeaveUrukhaiencampment_Actions )
endfunction
function Trig_LeaveEnedwaith_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveEnedwaith_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveEnedwaith_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveEnedwaith_Func001001001002001(), Trig_LeaveEnedwaith_Func001001001002002() )
endfunction
function Trig_LeaveEnedwaith_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Enedwaith, Condition(function Trig_LeaveEnedwaith_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveEnedwaith_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Enedwaith) )
endfunction
//===========================================================================
function InitTrig_LeaveEnedwaith takes nothing returns nothing
set gg_trg_LeaveEnedwaith = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveEnedwaith, gg_rct_Enedwaith )
call TriggerAddCondition( gg_trg_LeaveEnedwaith, Condition( function Trig_LeaveEnedwaith_Conditions ) )
call TriggerAddAction( gg_trg_LeaveEnedwaith, function Trig_LeaveEnedwaith_Actions )
endfunction
function Trig_LeaveCityInWestRohan_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveCityInWestRohan_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveCityInWestRohan_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveCityInWestRohan_Func001001001002001(), Trig_LeaveCityInWestRohan_Func001001001002002() )
endfunction
function Trig_LeaveCityInWestRohan_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_100, Condition(function Trig_LeaveCityInWestRohan_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveCityInWestRohan_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_100) )
endfunction
//===========================================================================
function InitTrig_LeaveCityInWestRohan takes nothing returns nothing
set gg_trg_LeaveCityInWestRohan = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveCityInWestRohan, gg_rct_Region_100 )
call TriggerAddCondition( gg_trg_LeaveCityInWestRohan, Condition( function Trig_LeaveCityInWestRohan_Conditions ) )
call TriggerAddAction( gg_trg_LeaveCityInWestRohan, function Trig_LeaveCityInWestRohan_Actions )
endfunction
function Trig_LeaveSouthWestRohan_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveSouthWestRohan_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveSouthWestRohan_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveSouthWestRohan_Func001001001002001(), Trig_LeaveSouthWestRohan_Func001001001002002() )
endfunction
function Trig_LeaveSouthWestRohan_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_101, Condition(function Trig_LeaveSouthWestRohan_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveSouthWestRohan_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_101) )
endfunction
//===========================================================================
function InitTrig_LeaveSouthWestRohan takes nothing returns nothing
set gg_trg_LeaveSouthWestRohan = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveSouthWestRohan, gg_rct_Region_101 )
call TriggerAddCondition( gg_trg_LeaveSouthWestRohan, Condition( function Trig_LeaveSouthWestRohan_Conditions ) )
call TriggerAddAction( gg_trg_LeaveSouthWestRohan, function Trig_LeaveSouthWestRohan_Actions )
endfunction
function Trig_LeaveSouthDowns_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveSouthDowns_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveSouthDowns_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveSouthDowns_Func001001001002001(), Trig_LeaveSouthDowns_Func001001001002002() )
endfunction
function Trig_LeaveSouthDowns_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_062, Condition(function Trig_LeaveSouthDowns_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveSouthDowns_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_062) )
endfunction
//===========================================================================
function InitTrig_LeaveSouthDowns takes nothing returns nothing
set gg_trg_LeaveSouthDowns = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveSouthDowns, gg_rct_Region_062 )
call TriggerAddCondition( gg_trg_LeaveSouthDowns, Condition( function Trig_LeaveSouthDowns_Conditions ) )
call TriggerAddAction( gg_trg_LeaveSouthDowns, function Trig_LeaveSouthDowns_Actions )
endfunction
function Trig_LeaveTheWold_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveTheWold_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveTheWold_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveTheWold_Func001001001002001(), Trig_LeaveTheWold_Func001001001002002() )
endfunction
function Trig_LeaveTheWold_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_105, Condition(function Trig_LeaveTheWold_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveTheWold_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_105) )
endfunction
//===========================================================================
function InitTrig_LeaveTheWold takes nothing returns nothing
set gg_trg_LeaveTheWold = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveTheWold, gg_rct_Region_105 )
call TriggerAddCondition( gg_trg_LeaveTheWold, Condition( function Trig_LeaveTheWold_Conditions ) )
call TriggerAddAction( gg_trg_LeaveTheWold, function Trig_LeaveTheWold_Actions )
endfunction
function Trig_LeaveEntranceToSouthRohan_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveEntranceToSouthRohan_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveEntranceToSouthRohan_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveEntranceToSouthRohan_Func001001001002001(), Trig_LeaveEntranceToSouthRohan_Func001001001002002() )
endfunction
function Trig_LeaveEntranceToSouthRohan_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_104, Condition(function Trig_LeaveEntranceToSouthRohan_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveEntranceToSouthRohan_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_104) )
endfunction
//===========================================================================
function InitTrig_LeaveEntranceToSouthRohan takes nothing returns nothing
set gg_trg_LeaveEntranceToSouthRohan = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveEntranceToSouthRohan, gg_rct_Region_104 )
call TriggerAddCondition( gg_trg_LeaveEntranceToSouthRohan, Condition( function Trig_LeaveEntranceToSouthRohan_Conditions ) )
call TriggerAddAction( gg_trg_LeaveEntranceToSouthRohan, function Trig_LeaveEntranceToSouthRohan_Actions )
endfunction
function Trig_LeaveEntranceToArnor_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveEntranceToArnor_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveEntranceToArnor_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveEntranceToArnor_Func001001001002001(), Trig_LeaveEntranceToArnor_Func001001001002002() )
endfunction
function Trig_LeaveEntranceToArnor_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_110, Condition(function Trig_LeaveEntranceToArnor_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveEntranceToArnor_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_110) )
endfunction
//===========================================================================
function InitTrig_LeaveEntranceToArnor takes nothing returns nothing
set gg_trg_LeaveEntranceToArnor = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveEntranceToArnor, gg_rct_Region_110 )
call TriggerAddCondition( gg_trg_LeaveEntranceToArnor, Condition( function Trig_LeaveEntranceToArnor_Conditions ) )
call TriggerAddAction( gg_trg_LeaveEntranceToArnor, function Trig_LeaveEntranceToArnor_Actions )
endfunction
function Trig_LeaveForodwaith_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveForodwaith_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveForodwaith_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveForodwaith_Func001001001002001(), Trig_LeaveForodwaith_Func001001001002002() )
endfunction
function Trig_LeaveForodwaith_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_109, Condition(function Trig_LeaveForodwaith_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveForodwaith_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_109) )
endfunction
//===========================================================================
function InitTrig_LeaveForodwaith takes nothing returns nothing
set gg_trg_LeaveForodwaith = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveForodwaith, gg_rct_Region_109 )
call TriggerAddCondition( gg_trg_LeaveForodwaith, Condition( function Trig_LeaveForodwaith_Conditions ) )
call TriggerAddAction( gg_trg_LeaveForodwaith, function Trig_LeaveForodwaith_Actions )
endfunction
function Trig_LeaveArnor_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveArnor_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveArnor_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveArnor_Func001001001002001(), Trig_LeaveArnor_Func001001001002002() )
endfunction
function Trig_LeaveArnor_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_108, Condition(function Trig_LeaveArnor_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveArnor_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_108) )
endfunction
//===========================================================================
function InitTrig_LeaveArnor takes nothing returns nothing
set gg_trg_LeaveArnor = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveArnor, gg_rct_Region_108 )
call TriggerAddCondition( gg_trg_LeaveArnor, Condition( function Trig_LeaveArnor_Conditions ) )
call TriggerAddAction( gg_trg_LeaveArnor, function Trig_LeaveArnor_Actions )
endfunction
function Trig_LeaveEasternAngmar_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveEasternAngmar_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveEasternAngmar_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveEasternAngmar_Func001001001002001(), Trig_LeaveEasternAngmar_Func001001001002002() )
endfunction
function Trig_LeaveEasternAngmar_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_107, Condition(function Trig_LeaveEasternAngmar_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveEasternAngmar_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_107) )
endfunction
//===========================================================================
function InitTrig_LeaveEasternAngmar takes nothing returns nothing
set gg_trg_LeaveEasternAngmar = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveEasternAngmar, gg_rct_Region_107 )
call TriggerAddCondition( gg_trg_LeaveEasternAngmar, Condition( function Trig_LeaveEasternAngmar_Conditions ) )
call TriggerAddAction( gg_trg_LeaveEasternAngmar, function Trig_LeaveEasternAngmar_Actions )
endfunction
function Trig_LeaveEasternOsgiliath_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveEasternOsgiliath_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveEasternOsgiliath_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveEasternOsgiliath_Func001001001002001(), Trig_LeaveEasternOsgiliath_Func001001001002002() )
endfunction
function Trig_LeaveEasternOsgiliath_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_121, Condition(function Trig_LeaveEasternOsgiliath_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveEasternOsgiliath_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_121) )
endfunction
//===========================================================================
function InitTrig_LeaveEasternOsgiliath takes nothing returns nothing
set gg_trg_LeaveEasternOsgiliath = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveEasternOsgiliath, gg_rct_Region_121 )
call TriggerAddCondition( gg_trg_LeaveEasternOsgiliath, Condition( function Trig_LeaveEasternOsgiliath_Conditions ) )
call TriggerAddAction( gg_trg_LeaveEasternOsgiliath, function Trig_LeaveEasternOsgiliath_Actions )
endfunction
function Trig_LeavePelargir_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeavePelargir_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeavePelargir_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeavePelargir_Func001001001002001(), Trig_LeavePelargir_Func001001001002002() )
endfunction
function Trig_LeavePelargir_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_122, Condition(function Trig_LeavePelargir_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeavePelargir_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_122) )
endfunction
//===========================================================================
function InitTrig_LeavePelargir takes nothing returns nothing
set gg_trg_LeavePelargir = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeavePelargir, gg_rct_Region_122 )
call TriggerAddCondition( gg_trg_LeavePelargir, Condition( function Trig_LeavePelargir_Conditions ) )
call TriggerAddAction( gg_trg_LeavePelargir, function Trig_LeavePelargir_Actions )
endfunction
function Trig_LeaveNorthMining_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveNorthMining_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveNorthMining_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveNorthMining_Func001001001002001(), Trig_LeaveNorthMining_Func001001001002002() )
endfunction
function Trig_LeaveNorthMining_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_124, Condition(function Trig_LeaveNorthMining_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveNorthMining_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_124) )
endfunction
//===========================================================================
function InitTrig_LeaveNorthMining takes nothing returns nothing
set gg_trg_LeaveNorthMining = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveNorthMining, gg_rct_Region_124 )
call TriggerAddCondition( gg_trg_LeaveNorthMining, Condition( function Trig_LeaveNorthMining_Conditions ) )
call TriggerAddAction( gg_trg_LeaveNorthMining, function Trig_LeaveNorthMining_Actions )
endfunction
function Trig_LeaveSmithyBH_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveSmithyBH_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveSmithyBH_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveSmithyBH_Func001001001002001(), Trig_LeaveSmithyBH_Func001001001002002() )
endfunction
function Trig_LeaveSmithyBH_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_125, Condition(function Trig_LeaveSmithyBH_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveSmithyBH_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_125) )
endfunction
//===========================================================================
function InitTrig_LeaveSmithyBH takes nothing returns nothing
set gg_trg_LeaveSmithyBH = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveSmithyBH, gg_rct_Region_125 )
call TriggerAddCondition( gg_trg_LeaveSmithyBH, Condition( function Trig_LeaveSmithyBH_Conditions ) )
call TriggerAddAction( gg_trg_LeaveSmithyBH, function Trig_LeaveSmithyBH_Actions )
endfunction
function Trig_LeaveMiningEncampment_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveMiningEncampment_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveMiningEncampment_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveMiningEncampment_Func001001001002001(), Trig_LeaveMiningEncampment_Func001001001002002() )
endfunction
function Trig_LeaveMiningEncampment_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_126, Condition(function Trig_LeaveMiningEncampment_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveMiningEncampment_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_126) )
endfunction
//===========================================================================
function InitTrig_LeaveMiningEncampment takes nothing returns nothing
set gg_trg_LeaveMiningEncampment = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveMiningEncampment, gg_rct_Region_126 )
call TriggerAddCondition( gg_trg_LeaveMiningEncampment, Condition( function Trig_LeaveMiningEncampment_Conditions ) )
call TriggerAddAction( gg_trg_LeaveMiningEncampment, function Trig_LeaveMiningEncampment_Actions )
endfunction
function Trig_LeaveSouthWestCity_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveSouthWestCity_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveSouthWestCity_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveSouthWestCity_Func001001001002001(), Trig_LeaveSouthWestCity_Func001001001002002() )
endfunction
function Trig_LeaveSouthWestCity_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_127, Condition(function Trig_LeaveSouthWestCity_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveSouthWestCity_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_127) )
endfunction
//===========================================================================
function InitTrig_LeaveSouthWestCity takes nothing returns nothing
set gg_trg_LeaveSouthWestCity = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveSouthWestCity, gg_rct_Region_127 )
call TriggerAddCondition( gg_trg_LeaveSouthWestCity, Condition( function Trig_LeaveSouthWestCity_Conditions ) )
call TriggerAddAction( gg_trg_LeaveSouthWestCity, function Trig_LeaveSouthWestCity_Actions )
endfunction
function Trig_LeaveAbandonedMine_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveAbandonedMine_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveAbandonedMine_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveAbandonedMine_Func001001001002001(), Trig_LeaveAbandonedMine_Func001001001002002() )
endfunction
function Trig_LeaveAbandonedMine_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_128, Condition(function Trig_LeaveAbandonedMine_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveAbandonedMine_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_128) )
endfunction
//===========================================================================
function InitTrig_LeaveAbandonedMine takes nothing returns nothing
set gg_trg_LeaveAbandonedMine = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveAbandonedMine, gg_rct_Region_128 )
call TriggerAddCondition( gg_trg_LeaveAbandonedMine, Condition( function Trig_LeaveAbandonedMine_Conditions ) )
call TriggerAddAction( gg_trg_LeaveAbandonedMine, function Trig_LeaveAbandonedMine_Actions )
endfunction
function Trig_LeaveWarriorsDen_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveWarriorsDen_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveWarriorsDen_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveWarriorsDen_Func001001001002001(), Trig_LeaveWarriorsDen_Func001001001002002() )
endfunction
function Trig_LeaveWarriorsDen_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_129, Condition(function Trig_LeaveWarriorsDen_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveWarriorsDen_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_129) )
endfunction
//===========================================================================
function InitTrig_LeaveWarriorsDen takes nothing returns nothing
set gg_trg_LeaveWarriorsDen = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveWarriorsDen, gg_rct_Region_129 )
call TriggerAddCondition( gg_trg_LeaveWarriorsDen, Condition( function Trig_LeaveWarriorsDen_Conditions ) )
call TriggerAddAction( gg_trg_LeaveWarriorsDen, function Trig_LeaveWarriorsDen_Actions )
endfunction
function Trig_LeaveMiningCity_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveMiningCity_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveMiningCity_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveMiningCity_Func001001001002001(), Trig_LeaveMiningCity_Func001001001002002() )
endfunction
function Trig_LeaveMiningCity_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_130, Condition(function Trig_LeaveMiningCity_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveMiningCity_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_130) )
endfunction
//===========================================================================
function InitTrig_LeaveMiningCity takes nothing returns nothing
set gg_trg_LeaveMiningCity = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveMiningCity, gg_rct_Region_130 )
call TriggerAddCondition( gg_trg_LeaveMiningCity, Condition( function Trig_LeaveMiningCity_Conditions ) )
call TriggerAddAction( gg_trg_LeaveMiningCity, function Trig_LeaveMiningCity_Actions )
endfunction
function Trig_LeaveWestHarad_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveWestHarad_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveWestHarad_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveWestHarad_Func001001001002001(), Trig_LeaveWestHarad_Func001001001002002() )
endfunction
function Trig_LeaveWestHarad_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_133, Condition(function Trig_LeaveWestHarad_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveWestHarad_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_133) )
endfunction
//===========================================================================
function InitTrig_LeaveWestHarad takes nothing returns nothing
set gg_trg_LeaveWestHarad = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveWestHarad, gg_rct_Region_133 )
call TriggerAddCondition( gg_trg_LeaveWestHarad, Condition( function Trig_LeaveWestHarad_Conditions ) )
call TriggerAddAction( gg_trg_LeaveWestHarad, function Trig_LeaveWestHarad_Actions )
endfunction
function Trig_LeaveNorthHarad_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveNorthHarad_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveNorthHarad_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveNorthHarad_Func001001001002001(), Trig_LeaveNorthHarad_Func001001001002002() )
endfunction
function Trig_LeaveNorthHarad_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_131, Condition(function Trig_LeaveNorthHarad_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveNorthHarad_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_131) )
endfunction
//===========================================================================
function InitTrig_LeaveNorthHarad takes nothing returns nothing
set gg_trg_LeaveNorthHarad = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveNorthHarad, gg_rct_Region_131 )
call TriggerAddCondition( gg_trg_LeaveNorthHarad, Condition( function Trig_LeaveNorthHarad_Conditions ) )
call TriggerAddAction( gg_trg_LeaveNorthHarad, function Trig_LeaveNorthHarad_Actions )
endfunction
function Trig_LeaveCityinMidHarad_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveCityinMidHarad_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveCityinMidHarad_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveCityinMidHarad_Func001001001002001(), Trig_LeaveCityinMidHarad_Func001001001002002() )
endfunction
function Trig_LeaveCityinMidHarad_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_132, Condition(function Trig_LeaveCityinMidHarad_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveCityinMidHarad_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_132) )
endfunction
//===========================================================================
function InitTrig_LeaveCityinMidHarad takes nothing returns nothing
set gg_trg_LeaveCityinMidHarad = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveCityinMidHarad, gg_rct_Region_132 )
call TriggerAddCondition( gg_trg_LeaveCityinMidHarad, Condition( function Trig_LeaveCityinMidHarad_Conditions ) )
call TriggerAddAction( gg_trg_LeaveCityinMidHarad, function Trig_LeaveCityinMidHarad_Actions )
endfunction
function Trig_LeaveSouthHarad_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_LeaveSouthHarad_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_LeaveSouthHarad_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_LeaveSouthHarad_Func001001001002001(), Trig_LeaveSouthHarad_Func001001001002002() )
endfunction
function Trig_LeaveSouthHarad_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_134, Condition(function Trig_LeaveSouthHarad_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_LeaveSouthHarad_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_134) )
endfunction
//===========================================================================
function InitTrig_LeaveSouthHarad takes nothing returns nothing
set gg_trg_LeaveSouthHarad = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_LeaveSouthHarad, gg_rct_Region_134 )
call TriggerAddCondition( gg_trg_LeaveSouthHarad, Condition( function Trig_LeaveSouthHarad_Conditions ) )
call TriggerAddAction( gg_trg_LeaveSouthHarad, function Trig_LeaveSouthHarad_Actions )
endfunction
function Trig_Leave_FarWesthHarad_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_Leave_FarWesthHarad_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_Leave_FarWesthHarad_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_Leave_FarWesthHarad_Func001001001002001(), Trig_Leave_FarWesthHarad_Func001001001002002() )
endfunction
function Trig_Leave_FarWesthHarad_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_153, Condition(function Trig_Leave_FarWesthHarad_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_Leave_FarWesthHarad_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_153) )
endfunction
//===========================================================================
function InitTrig_Leave_FarWesthHarad takes nothing returns nothing
set gg_trg_Leave_FarWesthHarad = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_Leave_FarWesthHarad, gg_rct_Region_153 )
call TriggerAddCondition( gg_trg_Leave_FarWesthHarad, Condition( function Trig_Leave_FarWesthHarad_Conditions ) )
call TriggerAddAction( gg_trg_Leave_FarWesthHarad, function Trig_Leave_FarWesthHarad_Actions )
endfunction
function Trig_Leave_FarWesthHarad_Copy_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_Leave_FarWesthHarad_Copy_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_Leave_FarWesthHarad_Copy_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_Leave_FarWesthHarad_Copy_Func001001001002001(), Trig_Leave_FarWesthHarad_Copy_Func001001001002002() )
endfunction
function Trig_Leave_FarWesthHarad_Copy_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_152, Condition(function Trig_Leave_FarWesthHarad_Copy_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_Leave_FarWesthHarad_Copy_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_152) )
endfunction
//===========================================================================
function InitTrig_Leave_FarWesthHarad_Copy takes nothing returns nothing
set gg_trg_Leave_FarWesthHarad_Copy = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_Leave_FarWesthHarad_Copy, gg_rct_Region_152 )
call TriggerAddCondition( gg_trg_Leave_FarWesthHarad_Copy, Condition( function Trig_Leave_FarWesthHarad_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Leave_FarWesthHarad_Copy, function Trig_Leave_FarWesthHarad_Copy_Actions )
endfunction
function Trig_Leave_FarWesthHarad_Copy_2_Func001001001002001 takes nothing returns boolean
return ( IsUnitType(GetFilterUnit(), UNIT_TYPE_STRUCTURE) == false )
endfunction
function Trig_Leave_FarWesthHarad_Copy_2_Func001001001002002 takes nothing returns boolean
return ( IsUnitAliveBJ(GetFilterUnit()) == true )
endfunction
function Trig_Leave_FarWesthHarad_Copy_2_Func001001001002 takes nothing returns boolean
return GetBooleanAnd( Trig_Leave_FarWesthHarad_Copy_2_Func001001001002001(), Trig_Leave_FarWesthHarad_Copy_2_Func001001001002002() )
endfunction
function Trig_Leave_FarWesthHarad_Copy_2_Conditions takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectMatching(gg_rct_Region_151, Condition(function Trig_Leave_FarWesthHarad_Copy_2_Func001001001002))) <= 0 ) ) then
return false
endif
return true
endfunction
function Trig_Leave_FarWesthHarad_Copy_2_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_151) )
endfunction
//===========================================================================
function InitTrig_Leave_FarWesthHarad_Copy_2 takes nothing returns nothing
set gg_trg_Leave_FarWesthHarad_Copy_2 = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_Leave_FarWesthHarad_Copy_2, gg_rct_Region_151 )
call TriggerAddCondition( gg_trg_Leave_FarWesthHarad_Copy_2, Condition( function Trig_Leave_FarWesthHarad_Copy_2_Conditions ) )
call TriggerAddAction( gg_trg_Leave_FarWesthHarad_Copy_2, function Trig_Leave_FarWesthHarad_Copy_2_Actions )
endfunction
function Trig_Say_hints_Actions takes nothing returns nothing
call DisplayTimedTextToForce( GetPlayersAllies(GetTriggerPlayer()), 30.00, "TRIGSTR_324" )
endfunction
//===========================================================================
function InitTrig_Say_hints takes nothing returns nothing
set gg_trg_Say_hints = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hints, Player(0), "-hints", true )
call TriggerAddAction( gg_trg_Say_hints, function Trig_Say_hints_Actions )
endfunction
function Trig_Untitled_Trigger_001_Actions takes nothing returns nothing
call AdjustPlayerStateBJ( 20, GetTriggerPlayer(), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( 5, GetTriggerPlayer(), PLAYER_STATE_RESOURCE_LUMBER )
endfunction
//===========================================================================
function InitTrig_Untitled_Trigger_001 takes nothing returns nothing
set gg_trg_Untitled_Trigger_001 = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Untitled_Trigger_001, Player(0), "-c", true )
call TriggerAddAction( gg_trg_Untitled_Trigger_001, function Trig_Untitled_Trigger_001_Actions )
endfunction
function Trig_Say_hintseriador_Actions takes nothing returns nothing
call DisplayTimedTextToForce( GetPlayersAllies(GetTriggerPlayer()), 30.00, "TRIGSTR_206" )
endfunction
//===========================================================================
function InitTrig_Say_hintseriador takes nothing returns nothing
set gg_trg_Say_hintseriador = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintseriador, Player(0), "-hintseriador", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintseriador, Player(1), "-hintseriador", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintseriador, Player(2), "-hintseriador", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintseriador, Player(3), "-hintseriador", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintseriador, Player(4), "-hintseriador", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintseriador, Player(5), "-hintseriador", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintseriador, Player(6), "-hintseriador", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintseriador, Player(7), "-hintseriador", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintseriador, Player(8), "-hintseriador", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintseriador, Player(9), "-hintseriador", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintseriador, Player(10), "-hintseriador", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintseriador, Player(11), "-hintseriador", true )
call TriggerAddAction( gg_trg_Say_hintseriador, function Trig_Say_hintseriador_Actions )
endfunction
function Trig_Say_hintslorien_Actions takes nothing returns nothing
call DisplayTimedTextToForce( GetPlayersAllies(GetTriggerPlayer()), 30, "TRIGSTR_248" )
endfunction
//===========================================================================
function InitTrig_Say_hintslorien takes nothing returns nothing
set gg_trg_Say_hintslorien = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintslorien, Player(0), "-hintslorien", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintslorien, Player(1), "-hintslorien", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintslorien, Player(2), "-hintslorien", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintslorien, Player(3), "-hintslorien", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintslorien, Player(4), "-hintslorien", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintslorien, Player(5), "-hintslorien", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintslorien, Player(6), "-hintslorien", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintslorien, Player(7), "-hintslorien", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintslorien, Player(8), "-hintslorien", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintslorien, Player(9), "-hintslorien", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintslorien, Player(10), "-hintslorien", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintslorien, Player(11), "-hintslorien", true )
call TriggerAddAction( gg_trg_Say_hintslorien, function Trig_Say_hintslorien_Actions )
endfunction
function Trig_Say_hintsmirkwood_Actions takes nothing returns nothing
call DisplayTimedTextToForce( GetPlayersAllies(GetTriggerPlayer()), 30, "TRIGSTR_317" )
endfunction
//===========================================================================
function InitTrig_Say_hintsmirkwood takes nothing returns nothing
set gg_trg_Say_hintsmirkwood = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsmirkwood, Player(0), "-hintsmirkwood", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsmirkwood, Player(1), "-hintsmirkwood", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsmirkwood, Player(2), "-hintsmirkwood", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsmirkwood, Player(3), "-hintsmirkwood", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsmirkwood, Player(4), "-hintsmirkwood", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsmirkwood, Player(5), "-hintsmirkwood", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsmirkwood, Player(6), "-hintsmirkwood", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsmirkwood, Player(7), "-hintsmirkwood", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsmirkwood, Player(8), "-hintsmirkwood", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsmirkwood, Player(9), "-hintsmirkwood", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsmirkwood, Player(10), "-hintsmirkwood", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsmirkwood, Player(11), "-hintsmirkwood", true )
call TriggerAddAction( gg_trg_Say_hintsmirkwood, function Trig_Say_hintsmirkwood_Actions )
endfunction
function Trig_Say_hintsgondor_Actions takes nothing returns nothing
call DisplayTimedTextToForce( GetPlayersAllies(GetTriggerPlayer()), 30, "TRIGSTR_318" )
endfunction
//===========================================================================
function InitTrig_Say_hintsgondor takes nothing returns nothing
set gg_trg_Say_hintsgondor = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsgondor, Player(0), "-hintsgondor", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsgondor, Player(1), "-hintsgondor", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsgondor, Player(2), "-hintsgondor", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsgondor, Player(3), "-hintsgondor", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsgondor, Player(4), "-hintsgondor", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsgondor, Player(5), "-hintsgondor", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsgondor, Player(6), "-hintsgondor", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsgondor, Player(7), "-hintsgondor", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsgondor, Player(8), "-hintsgondor", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsgondor, Player(9), "-hintsgondor", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsgondor, Player(10), "-hintsgondor", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsgondor, Player(11), "-hintsgondor", true )
call TriggerAddAction( gg_trg_Say_hintsgondor, function Trig_Say_hintsgondor_Actions )
endfunction
function Trig_Say_hintsumbar_Actions takes nothing returns nothing
call DisplayTimedTextToForce( GetPlayersAllies(GetTriggerPlayer()), 30, "TRIGSTR_319" )
endfunction
//===========================================================================
function InitTrig_Say_hintsumbar takes nothing returns nothing
set gg_trg_Say_hintsumbar = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsumbar, Player(0), "-hintsumbar", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsumbar, Player(1), "-hintsumbar", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsumbar, Player(2), "-hintsumbar", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsumbar, Player(3), "-hintsumbar", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsumbar, Player(4), "-hintsumbar", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsumbar, Player(5), "-hintsumbar", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsumbar, Player(6), "-hintsumbar", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsumbar, Player(7), "-hintsumbar", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsumbar, Player(8), "-hintsumbar", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsumbar, Player(9), "-hintsumbar", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsumbar, Player(10), "-hintsumbar", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsumbar, Player(11), "-hintsumbar", true )
call TriggerAddAction( gg_trg_Say_hintsumbar, function Trig_Say_hintsumbar_Actions )
endfunction
function Trig_Say_hintsharad_Actions takes nothing returns nothing
call DisplayTimedTextToForce( GetPlayersAllies(GetTriggerPlayer()), 30, "TRIGSTR_320" )
endfunction
//===========================================================================
function InitTrig_Say_hintsharad takes nothing returns nothing
set gg_trg_Say_hintsharad = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsharad, Player(0), "-hintsharad", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsharad, Player(1), "-hintsharad", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsharad, Player(2), "-hintsharad", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsharad, Player(3), "-hintsharad", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsharad, Player(4), "-hintsharad", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsharad, Player(5), "-hintsharad", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsharad, Player(6), "-hintsharad", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsharad, Player(7), "-hintsharad", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsharad, Player(8), "-hintsharad", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsharad, Player(9), "-hintsharad", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsharad, Player(10), "-hintsharad", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsharad, Player(11), "-hintsharad", true )
call TriggerAddAction( gg_trg_Say_hintsharad, function Trig_Say_hintsharad_Actions )
endfunction
function Trig_Say_hintsmordor_Actions takes nothing returns nothing
call DisplayTimedTextToForce( GetPlayersAllies(GetTriggerPlayer()), 30, "TRIGSTR_321" )
endfunction
//===========================================================================
function InitTrig_Say_hintsmordor takes nothing returns nothing
set gg_trg_Say_hintsmordor = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsmordor, Player(0), "-hintsmordor", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsmordor, Player(1), "-hintsmordor", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsmordor, Player(2), "-hintsmordor", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsmordor, Player(3), "-hintsmordor", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsmordor, Player(4), "-hintsmordor", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsmordor, Player(5), "-hintsmordor", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsmordor, Player(6), "-hintsmordor", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsmordor, Player(7), "-hintsmordor", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsmordor, Player(8), "-hintsmordor", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsmordor, Player(9), "-hintsmordor", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsmordor, Player(10), "-hintsmordor", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintsmordor, Player(11), "-hintsmordor", true )
call TriggerAddAction( gg_trg_Say_hintsmordor, function Trig_Say_hintsmordor_Actions )
endfunction
function Trig_Say_hintseastrohan_Actions takes nothing returns nothing
call DisplayTimedTextToForce( GetPlayersAllies(GetTriggerPlayer()), 30, "TRIGSTR_322" )
endfunction
//===========================================================================
function InitTrig_Say_hintseastrohan takes nothing returns nothing
set gg_trg_Say_hintseastrohan = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintseastrohan, Player(0), "-hintseastrohan", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintseastrohan, Player(1), "-hintseastrohan", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintseastrohan, Player(2), "-hintseastrohan", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintseastrohan, Player(3), "-hintseastrohan", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintseastrohan, Player(4), "-hintseastrohan", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintseastrohan, Player(5), "-hintseastrohan", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintseastrohan, Player(6), "-hintseastrohan", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintseastrohan, Player(7), "-hintseastrohan", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintseastrohan, Player(8), "-hintseastrohan", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintseastrohan, Player(9), "-hintseastrohan", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintseastrohan, Player(10), "-hintseastrohan", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintseastrohan, Player(11), "-hintseastrohan", true )
call TriggerAddAction( gg_trg_Say_hintseastrohan, function Trig_Say_hintseastrohan_Actions )
endfunction
function Trig_Say_hintswestrohan_Actions takes nothing returns nothing
call DisplayTimedTextToForce( GetPlayersAllies(GetTriggerPlayer()), 30, "TRIGSTR_323" )
endfunction
//===========================================================================
function InitTrig_Say_hintswestrohan takes nothing returns nothing
set gg_trg_Say_hintswestrohan = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintswestrohan, Player(0), "-hintswestrohan", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintswestrohan, Player(1), "-hintswestrohan", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintswestrohan, Player(2), "-hintswestrohan", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintswestrohan, Player(3), "-hintswestrohan", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintswestrohan, Player(4), "-hintswestrohan", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintswestrohan, Player(5), "-hintswestrohan", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintswestrohan, Player(6), "-hintswestrohan", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintswestrohan, Player(7), "-hintswestrohan", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintswestrohan, Player(8), "-hintswestrohan", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintswestrohan, Player(9), "-hintswestrohan", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintswestrohan, Player(10), "-hintswestrohan", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Say_hintswestrohan, Player(11), "-hintswestrohan", true )
call TriggerAddAction( gg_trg_Say_hintswestrohan, function Trig_Say_hintswestrohan_Actions )
endfunction
function Trig_Helms_Wall_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'o00E' ) ) then
return false
endif
return true
endfunction
function Trig_Helms_Wall_Actions takes nothing returns nothing
call KillUnit( GetTriggerUnit() )
call RemoveDestructable( gg_dest_YT02_3851 )
call DisplayTextToForce( GetPlayersAll(), "TRIGSTR_803" )
call DisableTrigger( GetTriggeringTrigger() )
endfunction
//===========================================================================
function InitTrig_Helms_Wall takes nothing returns nothing
set gg_trg_Helms_Wall = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Helms_Wall, gg_rct_Region_123 )
call TriggerAddCondition( gg_trg_Helms_Wall, Condition( function Trig_Helms_Wall_Conditions ) )
call TriggerAddAction( gg_trg_Helms_Wall, function Trig_Helms_Wall_Actions )
endfunction
function Trig_MithrilM_Actions takes nothing returns nothing
call CreateTextTagLocBJ( "TRIGSTR_784", GetRectCenter(gg_rct_LowerMoria_Entrance), 0, 10, 70.00, 70.00, 70.00, 0 )
endfunction
//===========================================================================
function InitTrig_MithrilM takes nothing returns nothing
set gg_trg_MithrilM = CreateTrigger( )
call TriggerAddAction( gg_trg_MithrilM, function Trig_MithrilM_Actions )
endfunction
function Trig_EMithrilM_Actions takes nothing returns nothing
call CreateTextTagLocBJ( "TRIGSTR_785", GetRectCenter(gg_rct_Entrance_to_exit_LMoria), 0, 10, 100.00, 100.00, 100.00, 0 )
endfunction
//===========================================================================
function InitTrig_EMithrilM takes nothing returns nothing
set gg_trg_EMithrilM = CreateTrigger( )
call TriggerAddAction( gg_trg_EMithrilM, function Trig_EMithrilM_Actions )
endfunction
function Trig_Brownhills_Actions takes nothing returns nothing
call CreateTextTagLocBJ( "TRIGSTR_786", GetRectCenter(gg_rct_Region_120), 0, 10, 100.00, 100.00, 100.00, 0 )
endfunction
//===========================================================================
function InitTrig_Brownhills takes nothing returns nothing
set gg_trg_Brownhills = CreateTrigger( )
call TriggerAddAction( gg_trg_Brownhills, function Trig_Brownhills_Actions )
endfunction
function Trig_EBrownhills_Actions takes nothing returns nothing
call CreateTextTagLocBJ( "TRIGSTR_787", GetRectCenter(gg_rct_Region_119), 0, 10, 100.00, 100.00, 100.00, 0 )
endfunction
//===========================================================================
function InitTrig_EBrownhills takes nothing returns nothing
set gg_trg_EBrownhills = CreateTrigger( )
call TriggerAddAction( gg_trg_EBrownhills, function Trig_EBrownhills_Actions )
endfunction
function Trig_Unally_Red_Actions takes nothing returns nothing
call SetPlayerAllianceStateBJ( GetTriggerPlayer(), Player(0), bj_ALLIANCE_UNALLIED )
endfunction
//===========================================================================
function InitTrig_Unally_Red takes nothing returns nothing
set gg_trg_Unally_Red = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Red, Player(1), "-unally red", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Red, Player(2), "-unally red", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Red, Player(3), "-unally red", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Red, Player(4), "-unally red", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Red, Player(5), "-unally red", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Red, Player(6), "-unally red", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Red, Player(7), "-unally red", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Red, Player(9), "-unally red", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Red, Player(8), "-unally red", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Red, Player(10), "-unally red", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Red, Player(11), "-unally red", true )
call TriggerAddAction( gg_trg_Unally_Red, function Trig_Unally_Red_Actions )
endfunction
function Trig_Unally_Blue_Actions takes nothing returns nothing
call SetPlayerAllianceStateBJ( GetTriggerPlayer(), Player(1), bj_ALLIANCE_UNALLIED )
endfunction
//===========================================================================
function InitTrig_Unally_Blue takes nothing returns nothing
set gg_trg_Unally_Blue = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Blue, Player(0), "-unally blue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Blue, Player(2), "-unally blue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Blue, Player(3), "-unally blue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Blue, Player(4), "-unally blue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Blue, Player(5), "-unally blue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Blue, Player(6), "-unally blue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Blue, Player(7), "-unally blue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Blue, Player(8), "-unally blue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Blue, Player(9), "-unally blue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Blue, Player(10), "-unally blue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Blue, Player(11), "-unally blue", true )
call TriggerAddAction( gg_trg_Unally_Blue, function Trig_Unally_Blue_Actions )
endfunction
function Trig_Unally_Teal_Actions takes nothing returns nothing
call SetPlayerAllianceStateBJ( GetTriggerPlayer(), Player(2), bj_ALLIANCE_UNALLIED )
endfunction
//===========================================================================
function InitTrig_Unally_Teal takes nothing returns nothing
set gg_trg_Unally_Teal = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Teal, Player(0), "-unally teal", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Teal, Player(1), "-unally teal", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Teal, Player(3), "-unally teal", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Teal, Player(4), "-unally teal", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Teal, Player(5), "-unally teal", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Teal, Player(6), "-unally teal", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Teal, Player(7), "-unally teal", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Teal, Player(8), "-unally teal", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Teal, Player(9), "-unally teal", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Teal, Player(10), "-unally teal", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Teal, Player(11), "-unally teal", true )
call TriggerAddAction( gg_trg_Unally_Teal, function Trig_Unally_Teal_Actions )
endfunction
function Trig_Unally_Purple_Actions takes nothing returns nothing
call SetPlayerAllianceStateBJ( GetTriggerPlayer(), Player(3), bj_ALLIANCE_UNALLIED )
endfunction
//===========================================================================
function InitTrig_Unally_Purple takes nothing returns nothing
set gg_trg_Unally_Purple = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Purple, Player(0), "-unally purple", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Purple, Player(1), "-unally purple", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Purple, Player(2), "-unally purple", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Purple, Player(4), "-unally purple", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Purple, Player(5), "-unally purple", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Purple, Player(6), "-unally purple", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Purple, Player(7), "-unally purple", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Purple, Player(8), "-unally purple", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Purple, Player(9), "-unally purple", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Purple, Player(10), "-unally purple", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Purple, Player(11), "-unally purple", true )
call TriggerAddAction( gg_trg_Unally_Purple, function Trig_Unally_Purple_Actions )
endfunction
function Trig_Unally_Yellow_Actions takes nothing returns nothing
call SetPlayerAllianceStateBJ( GetTriggerPlayer(), Player(4), bj_ALLIANCE_UNALLIED )
endfunction
//===========================================================================
function InitTrig_Unally_Yellow takes nothing returns nothing
set gg_trg_Unally_Yellow = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Yellow, Player(0), "-unally yellow", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Yellow, Player(1), "-unally yellow", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Yellow, Player(2), "-unally yellow", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Yellow, Player(3), "-unally yellow", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Yellow, Player(5), "-unally yellow", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Yellow, Player(6), "-unally yellow", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Yellow, Player(7), "-unally yellow", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Yellow, Player(8), "-unally yellow", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Yellow, Player(9), "-unally yellow", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Yellow, Player(10), "-unally yellow", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Yellow, Player(11), "-unally yellow", true )
call TriggerAddAction( gg_trg_Unally_Yellow, function Trig_Unally_Yellow_Actions )
endfunction
function Trig_Unally_Orange_Actions takes nothing returns nothing
call SetPlayerAllianceStateBJ( GetTriggerPlayer(), Player(5), bj_ALLIANCE_UNALLIED )
endfunction
//===========================================================================
function InitTrig_Unally_Orange takes nothing returns nothing
set gg_trg_Unally_Orange = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Orange, Player(0), "-unally orange", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Orange, Player(1), "-unally orange", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Orange, Player(2), "-unally orange", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Orange, Player(3), "-unally orange", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Orange, Player(4), "-unally orange", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Orange, Player(6), "-unally orange", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Orange, Player(7), "-unally orange", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Orange, Player(8), "-unally orange", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Orange, Player(9), "-unally orange", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Orange, Player(10), "-unally orange", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Orange, Player(11), "-unally orange", true )
call TriggerAddAction( gg_trg_Unally_Orange, function Trig_Unally_Orange_Actions )
endfunction
function Trig_Unally_Green_Actions takes nothing returns nothing
call SetPlayerAllianceStateBJ( GetTriggerPlayer(), Player(6), bj_ALLIANCE_UNALLIED )
endfunction
//===========================================================================
function InitTrig_Unally_Green takes nothing returns nothing
set gg_trg_Unally_Green = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Green, Player(0), "-unally green", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Green, Player(1), "-unally green", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Green, Player(2), "-unally green", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Green, Player(3), "-unally green", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Green, Player(4), "-unally green", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Green, Player(5), "-unally green", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Green, Player(7), "-unally green", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Green, Player(8), "-unally green", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Green, Player(9), "-unally green", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Green, Player(10), "-unally green", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Green, Player(11), "-unally green", true )
call TriggerAddAction( gg_trg_Unally_Green, function Trig_Unally_Green_Actions )
endfunction
function Trig_Unally_Pink_Actions takes nothing returns nothing
call SetPlayerAllianceStateBJ( GetTriggerPlayer(), Player(7), bj_ALLIANCE_UNALLIED )
endfunction
//===========================================================================
function InitTrig_Unally_Pink takes nothing returns nothing
set gg_trg_Unally_Pink = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Pink, Player(0), "-unally pink", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Pink, Player(1), "-unally pink", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Pink, Player(2), "-unally pink", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Pink, Player(3), "-unally pink", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Pink, Player(4), "-unally pink", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Pink, Player(5), "-unally pink", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Pink, Player(6), "-unally pink", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Pink, Player(8), "-unally pink", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Pink, Player(9), "-unally pink", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Pink, Player(10), "-unally pink", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Pink, Player(11), "-unally pink", true )
call TriggerAddAction( gg_trg_Unally_Pink, function Trig_Unally_Pink_Actions )
endfunction
function Trig_Unally_Grey_Actions takes nothing returns nothing
call SetPlayerAllianceStateBJ( GetTriggerPlayer(), Player(8), bj_ALLIANCE_UNALLIED )
endfunction
//===========================================================================
function InitTrig_Unally_Grey takes nothing returns nothing
set gg_trg_Unally_Grey = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Grey, Player(0), "-unally grey", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Grey, Player(1), "-unally grey", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Grey, Player(2), "-unally grey", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Grey, Player(3), "-unally grey", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Grey, Player(4), "-unally grey", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Grey, Player(5), "-unally grey", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Grey, Player(6), "-unally grey", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Grey, Player(7), "-unally grey", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Grey, Player(9), "-unally grey", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Grey, Player(10), "-unally grey", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Grey, Player(11), "-unally grey", true )
call TriggerAddAction( gg_trg_Unally_Grey, function Trig_Unally_Grey_Actions )
endfunction
function Trig_Unally_Lightblue_Actions takes nothing returns nothing
call SetPlayerAllianceStateBJ( GetTriggerPlayer(), Player(9), bj_ALLIANCE_UNALLIED )
endfunction
//===========================================================================
function InitTrig_Unally_Lightblue takes nothing returns nothing
set gg_trg_Unally_Lightblue = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Lightblue, Player(0), "-unally lightblue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Lightblue, Player(1), "-unally lightblue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Lightblue, Player(2), "-unally lightblue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Lightblue, Player(3), "-unally lightblue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Lightblue, Player(4), "-unally lightblue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Lightblue, Player(5), "-unally lightblue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Lightblue, Player(6), "-unally lightblue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Lightblue, Player(7), "-unally lightblue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Lightblue, Player(8), "-unally lightblue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Lightblue, Player(10), "-unally lightblue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Lightblue, Player(11), "-unally lightblue", true )
call TriggerAddAction( gg_trg_Unally_Lightblue, function Trig_Unally_Lightblue_Actions )
endfunction
function Trig_Unally_Darkgreen_Actions takes nothing returns nothing
call SetPlayerAllianceStateBJ( GetTriggerPlayer(), Player(10), bj_ALLIANCE_UNALLIED )
endfunction
//===========================================================================
function InitTrig_Unally_Darkgreen takes nothing returns nothing
set gg_trg_Unally_Darkgreen = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Darkgreen, Player(0), "-unally darkgreen", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Darkgreen, Player(1), "-unally darkgreen", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Darkgreen, Player(2), "-unally darkgreen", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Darkgreen, Player(3), "-unally darkgreen", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Darkgreen, Player(4), "-unally darkgreen", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Darkgreen, Player(5), "-unally darkgreen", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Darkgreen, Player(6), "-unally darkgreen", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Darkgreen, Player(7), "-unally darkgreen", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Darkgreen, Player(8), "-unally darkgreen", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Darkgreen, Player(9), "-unally darkgreen", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Darkgreen, Player(11), "-unally darkgreen", true )
call TriggerAddAction( gg_trg_Unally_Darkgreen, function Trig_Unally_Darkgreen_Actions )
endfunction
function Trig_Unally_Brown_Actions takes nothing returns nothing
call SetPlayerAllianceStateBJ( GetTriggerPlayer(), Player(11), bj_ALLIANCE_UNALLIED )
endfunction
//===========================================================================
function InitTrig_Unally_Brown takes nothing returns nothing
set gg_trg_Unally_Brown = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Brown, Player(0), "-unally brown", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Brown, Player(1), "-unally brown", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Brown, Player(2), "-unally brown", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Brown, Player(3), "-unally brown", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Brown, Player(4), "-unally brown", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Brown, Player(5), "-unally brown", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Brown, Player(6), "-unally brown", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Brown, Player(7), "-unally brown", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Brown, Player(8), "-unally brown", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Brown, Player(9), "-unally brown", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Unally_Brown, Player(10), "-unally brown", true )
call TriggerAddAction( gg_trg_Unally_Brown, function Trig_Unally_Brown_Actions )
endfunction
function Trig_Ally_Red_Actions takes nothing returns nothing
call SetPlayerAllianceStateBJ( GetTriggerPlayer(), Player(0), bj_ALLIANCE_ALLIED_VISION )
endfunction
//===========================================================================
function InitTrig_Ally_Red takes nothing returns nothing
set gg_trg_Ally_Red = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Red, Player(0), "-ally red", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Red, Player(1), "-ally red", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Red, Player(2), "-ally red", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Red, Player(3), "-ally red", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Red, Player(4), "-ally red", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Red, Player(5), "-ally red", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Red, Player(6), "-ally red", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Red, Player(7), "-ally red", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Red, Player(8), "-ally red", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Red, Player(9), "-ally red", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Red, Player(10), "-ally red", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Red, Player(11), "-ally red", true )
call TriggerAddAction( gg_trg_Ally_Red, function Trig_Ally_Red_Actions )
endfunction
function Trig_Ally_Blue_Actions takes nothing returns nothing
call SetPlayerAllianceStateBJ( GetTriggerPlayer(), Player(1), bj_ALLIANCE_ALLIED_VISION )
endfunction
//===========================================================================
function InitTrig_Ally_Blue takes nothing returns nothing
set gg_trg_Ally_Blue = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Blue, Player(0), "-ally blue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Blue, Player(2), "-ally blue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Blue, Player(1), "-ally blue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Blue, Player(3), "-ally blue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Blue, Player(4), "-ally blue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Blue, Player(5), "-ally blue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Blue, Player(6), "-ally blue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Blue, Player(7), "-ally blue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Blue, Player(8), "-ally blue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Blue, Player(9), "-ally blue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Blue, Player(10), "-ally blue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Blue, Player(11), "-ally blue", true )
call TriggerAddAction( gg_trg_Ally_Blue, function Trig_Ally_Blue_Actions )
endfunction
function Trig_Ally_Teal_Actions takes nothing returns nothing
call SetPlayerAllianceStateBJ( GetTriggerPlayer(), Player(2), bj_ALLIANCE_ALLIED_VISION )
endfunction
//===========================================================================
function InitTrig_Ally_Teal takes nothing returns nothing
set gg_trg_Ally_Teal = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Teal, Player(0), "-ally teal", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Teal, Player(1), "-ally teal", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Teal, Player(3), "-ally teal", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Teal, Player(2), "-ally teal", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Teal, Player(4), "-ally teal", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Teal, Player(5), "-ally teal", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Teal, Player(6), "-ally teal", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Teal, Player(7), "-ally teal", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Teal, Player(8), "-ally teal", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Teal, Player(9), "-ally teal", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Teal, Player(10), "-ally teal", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Teal, Player(11), "-ally teal", true )
call TriggerAddAction( gg_trg_Ally_Teal, function Trig_Ally_Teal_Actions )
endfunction
function Trig_Ally_Purple_Actions takes nothing returns nothing
call SetPlayerAllianceStateBJ( GetTriggerPlayer(), Player(3), bj_ALLIANCE_ALLIED_VISION )
endfunction
//===========================================================================
function InitTrig_Ally_Purple takes nothing returns nothing
set gg_trg_Ally_Purple = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Purple, Player(0), "-ally purple", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Purple, Player(1), "-ally purple", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Purple, Player(2), "-ally purple", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Purple, Player(3), "-ally purple", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Purple, Player(4), "-ally purple", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Purple, Player(5), "-ally purple", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Purple, Player(6), "-ally purple", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Purple, Player(7), "-ally purple", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Purple, Player(8), "-ally purple", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Purple, Player(9), "-ally purple", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Purple, Player(10), "-ally purple", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Purple, Player(11), "-ally purple", true )
call TriggerAddAction( gg_trg_Ally_Purple, function Trig_Ally_Purple_Actions )
endfunction
function Trig_Ally_Yellow_Actions takes nothing returns nothing
call SetPlayerAllianceStateBJ( GetTriggerPlayer(), Player(4), bj_ALLIANCE_ALLIED_VISION )
endfunction
//===========================================================================
function InitTrig_Ally_Yellow takes nothing returns nothing
set gg_trg_Ally_Yellow = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Yellow, Player(0), "-ally yellow", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Yellow, Player(1), "-ally yellow", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Yellow, Player(2), "-ally yellow", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Yellow, Player(3), "-ally yellow", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Yellow, Player(4), "-ally yellow", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Yellow, Player(5), "-ally yellow", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Yellow, Player(6), "-ally yellow", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Yellow, Player(7), "-ally yellow", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Yellow, Player(8), "-ally yellow", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Yellow, Player(9), "-ally yellow", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Yellow, Player(10), "-ally yellow", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Yellow, Player(11), "-ally yellow", true )
call TriggerAddAction( gg_trg_Ally_Yellow, function Trig_Ally_Yellow_Actions )
endfunction
function Trig_Ally_Orange_Actions takes nothing returns nothing
call SetPlayerAllianceStateBJ( GetTriggerPlayer(), Player(5), bj_ALLIANCE_ALLIED_VISION )
endfunction
//===========================================================================
function InitTrig_Ally_Orange takes nothing returns nothing
set gg_trg_Ally_Orange = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Orange, Player(0), "-ally orange", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Orange, Player(1), "-ally orange", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Orange, Player(2), "-ally orange", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Orange, Player(3), "-ally orange", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Orange, Player(4), "-ally orange", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Orange, Player(5), "-ally orange", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Orange, Player(6), "-ally orange", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Orange, Player(7), "-ally orange", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Orange, Player(8), "-ally orange", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Orange, Player(9), "-ally orange", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Orange, Player(10), "-ally orange", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Orange, Player(11), "-ally orange", true )
call TriggerAddAction( gg_trg_Ally_Orange, function Trig_Ally_Orange_Actions )
endfunction
function Trig_Ally_Green_Actions takes nothing returns nothing
call SetPlayerAllianceStateBJ( GetTriggerPlayer(), Player(6), bj_ALLIANCE_ALLIED_VISION )
endfunction
//===========================================================================
function InitTrig_Ally_Green takes nothing returns nothing
set gg_trg_Ally_Green = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Green, Player(0), "-ally green", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Green, Player(1), "-ally green", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Green, Player(2), "-ally green", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Green, Player(3), "-ally green", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Green, Player(4), "-ally green", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Green, Player(5), "-ally green", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Green, Player(6), "-ally green", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Green, Player(7), "-ally green", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Green, Player(8), "-ally green", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Green, Player(9), "-ally green", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Green, Player(10), "-ally green", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Green, Player(11), "-ally green", true )
call TriggerAddAction( gg_trg_Ally_Green, function Trig_Ally_Green_Actions )
endfunction
function Trig_Ally_Pink_Actions takes nothing returns nothing
call SetPlayerAllianceStateBJ( GetTriggerPlayer(), Player(7), bj_ALLIANCE_ALLIED_VISION )
endfunction
//===========================================================================
function InitTrig_Ally_Pink takes nothing returns nothing
set gg_trg_Ally_Pink = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Pink, Player(0), "-ally pink", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Pink, Player(1), "-ally pink", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Pink, Player(2), "-ally pink", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Pink, Player(3), "-ally pink", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Pink, Player(4), "-ally pink", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Pink, Player(5), "-ally pink", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Pink, Player(6), "-ally pink", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Pink, Player(7), "-ally pink", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Pink, Player(8), "-ally pink", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Pink, Player(9), "-ally pink", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Pink, Player(10), "-ally pink", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Pink, Player(11), "-ally pink", true )
call TriggerAddAction( gg_trg_Ally_Pink, function Trig_Ally_Pink_Actions )
endfunction
function Trig_Ally_Grey_Actions takes nothing returns nothing
call SetPlayerAllianceStateBJ( GetTriggerPlayer(), Player(8), bj_ALLIANCE_ALLIED_VISION )
endfunction
//===========================================================================
function InitTrig_Ally_Grey takes nothing returns nothing
set gg_trg_Ally_Grey = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Grey, Player(0), "-ally grey", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Grey, Player(1), "-ally grey", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Grey, Player(2), "-ally grey", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Grey, Player(3), "-ally grey", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Grey, Player(4), "-ally grey", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Grey, Player(5), "-ally grey", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Grey, Player(6), "-ally grey", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Grey, Player(7), "-ally grey", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Grey, Player(8), "-ally grey", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Grey, Player(9), "-ally grey", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Grey, Player(10), "-ally grey", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Grey, Player(11), "-ally grey", true )
call TriggerAddAction( gg_trg_Ally_Grey, function Trig_Ally_Grey_Actions )
endfunction
function Trig_Ally_Light_Blue_Actions takes nothing returns nothing
call SetPlayerAllianceStateBJ( GetTriggerPlayer(), Player(9), bj_ALLIANCE_ALLIED_VISION )
endfunction
//===========================================================================
function InitTrig_Ally_Light_Blue takes nothing returns nothing
set gg_trg_Ally_Light_Blue = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Light_Blue, Player(0), "-ally lightblue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Light_Blue, Player(1), "-ally lightblue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Light_Blue, Player(2), "-ally lightblue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Light_Blue, Player(3), "-ally lightblue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Light_Blue, Player(4), "-ally lightblue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Light_Blue, Player(5), "-ally lightblue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Light_Blue, Player(6), "-ally lightblue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Light_Blue, Player(7), "-ally lightblue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Light_Blue, Player(8), "-ally lightblue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Light_Blue, Player(9), "-ally lightblue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Light_Blue, Player(10), "-ally lightblue", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Light_Blue, Player(11), "-ally lightblue", true )
call TriggerAddAction( gg_trg_Ally_Light_Blue, function Trig_Ally_Light_Blue_Actions )
endfunction
function Trig_Ally_Dark_Green_Actions takes nothing returns nothing
call SetPlayerAllianceStateBJ( GetTriggerPlayer(), Player(10), bj_ALLIANCE_ALLIED_VISION )
endfunction
//===========================================================================
function InitTrig_Ally_Dark_Green takes nothing returns nothing
set gg_trg_Ally_Dark_Green = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Dark_Green, Player(0), "-ally darkgreen", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Dark_Green, Player(1), "-ally darkgreen", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Dark_Green, Player(2), "-ally darkgreen", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Dark_Green, Player(3), "-ally darkgreen", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Dark_Green, Player(4), "-ally darkgreen", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Dark_Green, Player(5), "-ally darkgreen", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Dark_Green, Player(6), "-ally darkgreen", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Dark_Green, Player(7), "-ally darkgreen", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Dark_Green, Player(8), "-ally darkgreen", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Dark_Green, Player(9), "-ally darkgreen", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Dark_Green, Player(10), "-ally darkgreen", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Dark_Green, Player(11), "-ally darkgreen", true )
call TriggerAddAction( gg_trg_Ally_Dark_Green, function Trig_Ally_Dark_Green_Actions )
endfunction
function Trig_Ally_Brown_Actions takes nothing returns nothing
call SetPlayerAllianceStateBJ( GetTriggerPlayer(), Player(11), bj_ALLIANCE_ALLIED_VISION )
endfunction
//===========================================================================
function InitTrig_Ally_Brown takes nothing returns nothing
set gg_trg_Ally_Brown = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Brown, Player(0), "-ally brown", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Brown, Player(1), "-ally brown", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Brown, Player(2), "-ally brown", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Brown, Player(3), "-ally brown", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Brown, Player(4), "-ally brown", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Brown, Player(5), "-ally brown", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Brown, Player(6), "-ally brown", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Brown, Player(7), "-ally brown", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Brown, Player(8), "-ally brown", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Brown, Player(9), "-ally brown", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Brown, Player(10), "-ally brown", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Ally_Brown, Player(11), "-ally brown", true )
call TriggerAddAction( gg_trg_Ally_Brown, function Trig_Ally_Brown_Actions )
endfunction
function Trig_Teleport_to_Deads_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_TP_Copy_2) )
endfunction
//===========================================================================
function InitTrig_Teleport_to_Deads takes nothing returns nothing
set gg_trg_Teleport_to_Deads = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Teleport_to_Deads, gg_rct_TP )
call TriggerAddAction( gg_trg_Teleport_to_Deads, function Trig_Teleport_to_Deads_Actions )
endfunction
function Trig_Teleport_to_Deads_Copy_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_TP_Copy_3) )
endfunction
//===========================================================================
function InitTrig_Teleport_to_Deads_Copy takes nothing returns nothing
set gg_trg_Teleport_to_Deads_Copy = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Teleport_to_Deads_Copy, gg_rct_TP_Copy )
call TriggerAddAction( gg_trg_Teleport_to_Deads_Copy, function Trig_Teleport_to_Deads_Copy_Actions )
endfunction
function Trig_Teleport_to_LowerMoria_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Enduphere_in_LowerMoria) )
endfunction
//===========================================================================
function InitTrig_Teleport_to_LowerMoria takes nothing returns nothing
set gg_trg_Teleport_to_LowerMoria = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Teleport_to_LowerMoria, gg_rct_LowerMoria_Entrance )
call TriggerAddAction( gg_trg_Teleport_to_LowerMoria, function Trig_Teleport_to_LowerMoria_Actions )
endfunction
function Trig_LEAVE_LOWERMORIA_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Enduphere_Afterexiting_Lmoria) )
endfunction
//===========================================================================
function InitTrig_LEAVE_LOWERMORIA takes nothing returns nothing
set gg_trg_LEAVE_LOWERMORIA = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_LEAVE_LOWERMORIA, gg_rct_Entrance_to_exit_LMoria )
call TriggerAddAction( gg_trg_LEAVE_LOWERMORIA, function Trig_LEAVE_LOWERMORIA_Actions )
endfunction
function Trig_Teleport_to_BrownHills_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_117) )
endfunction
//===========================================================================
function InitTrig_Teleport_to_BrownHills takes nothing returns nothing
set gg_trg_Teleport_to_BrownHills = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Teleport_to_BrownHills, gg_rct_Region_120 )
call TriggerAddAction( gg_trg_Teleport_to_BrownHills, function Trig_Teleport_to_BrownHills_Actions )
endfunction
function Trig_LEAVE_BROWNHILLS_Actions takes nothing returns nothing
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_118) )
endfunction
//===========================================================================
function InitTrig_LEAVE_BROWNHILLS takes nothing returns nothing
set gg_trg_LEAVE_BROWNHILLS = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_LEAVE_BROWNHILLS, gg_rct_Region_119 )
call TriggerAddAction( gg_trg_LEAVE_BROWNHILLS, function Trig_LEAVE_BROWNHILLS_Actions )
endfunction
function Trig_Turn_Timer_Actions takes nothing returns nothing
call CreateTimerDialogBJ( udg_Turn, "TRIGSTR_874" )
call StartTimerBJ( udg_Turn, true, 70.00 )
endfunction
//===========================================================================
function InitTrig_Turn_Timer takes nothing returns nothing
set gg_trg_Turn_Timer = CreateTrigger( )
call TriggerRegisterTimerEventSingle( gg_trg_Turn_Timer, 0.01 )
call TriggerAddAction( gg_trg_Turn_Timer, function Trig_Turn_Timer_Actions )
endfunction
function Trig_Beginning_Gold_Actions takes nothing returns nothing
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 12
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call AdjustPlayerStateBJ( 10, ConvertedPlayer(GetForLoopIndexA()), PLAYER_STATE_RESOURCE_GOLD )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 12
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call AdjustPlayerStateBJ( 3, ConvertedPlayer(GetForLoopIndexA()), PLAYER_STATE_RESOURCE_LUMBER )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
endfunction
//===========================================================================
function InitTrig_Beginning_Gold takes nothing returns nothing
set gg_trg_Beginning_Gold = CreateTrigger( )
call TriggerRegisterTimerEventSingle( gg_trg_Beginning_Gold, 0.01 )
call TriggerAddAction( gg_trg_Beginning_Gold, function Trig_Beginning_Gold_Actions )
endfunction
function Trig_give_gold_Actions takes nothing returns nothing
// set base gold
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 12
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
set udg_Gold_received[GetForLoopIndexA()] = 7
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 12
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call AdjustPlayerStateBJ( 2, ConvertedPlayer(GetForLoopIndexA()), PLAYER_STATE_RESOURCE_LUMBER )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
// check empires
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 12
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call ConditionalTriggerExecute( gg_trg_check_Mirkwood )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 12
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call ConditionalTriggerExecute( gg_trg_check_Haradwaith )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 12
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call ConditionalTriggerExecute( gg_trg_check_Umbar )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 12
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call ConditionalTriggerExecute( gg_trg_check_Angamar )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 12
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call ConditionalTriggerExecute( gg_trg_check_NorthRohan )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 12
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call ConditionalTriggerExecute( gg_trg_check_Isengard )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 12
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call ConditionalTriggerExecute( gg_trg_check_Eriador )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 12
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call ConditionalTriggerExecute( gg_trg_check_GondorWest )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 12
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call ConditionalTriggerExecute( gg_trg_check_GondorEast )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 12
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call ConditionalTriggerExecute( gg_trg_check_SouthRohan )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 12
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call ConditionalTriggerExecute( gg_trg_check_Mordor )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 12
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call ConditionalTriggerExecute( gg_trg_check_Near_Harad )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 12
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call ConditionalTriggerExecute( gg_trg_check_Far_Harad )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 12
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call ConditionalTriggerExecute( gg_trg_check_Lorien )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 12
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call ConditionalTriggerExecute( gg_trg_check_for_victory )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 12
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call ConditionalTriggerExecute( gg_trg_check_Moria )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 12
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call ConditionalTriggerExecute( gg_trg_check_Mithril_Mines )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 12
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call ConditionalTriggerExecute( gg_trg_check_Fangorn )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 12
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call ConditionalTriggerExecute( gg_trg_check_Shire )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 12
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call ConditionalTriggerExecute( gg_trg_check_Rhovanion )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 12
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call ConditionalTriggerExecute( gg_trg_check_Rhun )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 12
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call ConditionalTriggerExecute( gg_trg_check_Ithilien )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 12
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call ConditionalTriggerExecute( gg_trg_check_Arnor )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 12
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call ConditionalTriggerExecute( gg_trg_check_WestRhovanion )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 12
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call ConditionalTriggerExecute( gg_trg_check_Minas_Morgul )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 12
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call ConditionalTriggerExecute( gg_trg_check_Brown_Hills )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 12
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call ConditionalTriggerExecute( gg_trg_check_Deads )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 12
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call ConditionalTriggerExecute( gg_trg_check_WestH )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
// give gold
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 12
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call AdjustPlayerStateBJ( udg_Gold_received[GetForLoopIndexA()], ConvertedPlayer(GetForLoopIndexA()), PLAYER_STATE_RESOURCE_GOLD )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
// update leaderbord
call ConditionalTriggerExecute( gg_trg_refresh_leaderbord )
endfunction
//===========================================================================
function InitTrig_give_gold takes nothing returns nothing
set gg_trg_give_gold = CreateTrigger( )
call TriggerRegisterTimerExpireEventBJ( gg_trg_give_gold, udg_Turn )
call TriggerAddAction( gg_trg_give_gold, function Trig_give_gold_Actions )
endfunction
function Trig_check_GondorWest_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(gg_unit_h00Y_0073) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00X_0079) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00Z_0087) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00W_0074) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00Z_0341) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
return true
endfunction
function Trig_check_GondorWest_Actions takes nothing returns nothing
set udg_Gold_received[GetForLoopIndexA()] = ( udg_Gold_received[GetForLoopIndexA()] + 7 )
call CreateNUnitsAtLoc( 2, 'n00Q', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_Central_Europe), bj_UNIT_FACING )
call DisplayTextToForce( GetForceOfPlayer(ConvertedPlayer(GetForLoopIndexA())), "TRIGSTR_875" )
endfunction
//===========================================================================
function InitTrig_check_GondorWest takes nothing returns nothing
set gg_trg_check_GondorWest = CreateTrigger( )
call TriggerAddCondition( gg_trg_check_GondorWest, Condition( function Trig_check_GondorWest_Conditions ) )
call TriggerAddAction( gg_trg_check_GondorWest, function Trig_check_GondorWest_Actions )
endfunction
function Trig_check_Deads_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(gg_unit_h044_0344) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h043_0346) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h044_0347) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
return true
endfunction
function Trig_check_Deads_Actions takes nothing returns nothing
set udg_Gold_received[GetForLoopIndexA()] = ( udg_Gold_received[GetForLoopIndexA()] + 3 )
call CreateNUnitsAtLoc( 1, 'u003', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_DEADS), bj_UNIT_FACING )
call DisplayTextToForce( GetForceOfPlayer(ConvertedPlayer(GetForLoopIndexA())), "TRIGSTR_876" )
endfunction
//===========================================================================
function InitTrig_check_Deads takes nothing returns nothing
set gg_trg_check_Deads = CreateTrigger( )
call TriggerAddCondition( gg_trg_check_Deads, Condition( function Trig_check_Deads_Conditions ) )
call TriggerAddAction( gg_trg_check_Deads, function Trig_check_Deads_Actions )
endfunction
function Trig_check_WestH_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(gg_unit_h047_0364) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h047_0368) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h047_0369) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
return true
endfunction
function Trig_check_WestH_Actions takes nothing returns nothing
set udg_Gold_received[GetForLoopIndexA()] = ( udg_Gold_received[GetForLoopIndexA()] + 3 )
call CreateNUnitsAtLoc( 1, 'o008', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_Region_154), bj_UNIT_FACING )
call DisplayTextToForce( GetForceOfPlayer(ConvertedPlayer(GetForLoopIndexA())), "TRIGSTR_877" )
endfunction
//===========================================================================
function InitTrig_check_WestH takes nothing returns nothing
set gg_trg_check_WestH = CreateTrigger( )
call TriggerAddCondition( gg_trg_check_WestH, Condition( function Trig_check_WestH_Conditions ) )
call TriggerAddAction( gg_trg_check_WestH, function Trig_check_WestH_Actions )
endfunction
function Trig_check_GondorEast_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(gg_unit_h00T_0076) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h042_0177) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00R_0080) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00S_0077) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00U_0078) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h010_0075) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h03L_0203) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h03N_0204) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
return true
endfunction
function Trig_check_GondorEast_Actions takes nothing returns nothing
set udg_Gold_received[GetForLoopIndexA()] = ( udg_Gold_received[GetForLoopIndexA()] + 11 )
call CreateNUnitsAtLoc( 1, 'h02I', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_Central_EuropeC), bj_UNIT_FACING )
call DisplayTextToForce( GetForceOfPlayer(ConvertedPlayer(GetForLoopIndexA())), "TRIGSTR_878" )
endfunction
//===========================================================================
function InitTrig_check_GondorEast takes nothing returns nothing
set gg_trg_check_GondorEast = CreateTrigger( )
call TriggerAddCondition( gg_trg_check_GondorEast, Condition( function Trig_check_GondorEast_Conditions ) )
call TriggerAddAction( gg_trg_check_GondorEast, function Trig_check_GondorEast_Actions )
endfunction
function Trig_check_for_victory_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(gg_unit_h01F_0101) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h01A_0100) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h01E_0099) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h01C_0098) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h01G_0097) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h01D_0096) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h01B_0095) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h01N_0094) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h01S_0093) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h01M_0092) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h01K_0091) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h01P_0090) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h01O_0089) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h01Q_0088) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00Z_0087) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h01R_0086) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h009_0085) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00K_0084) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00I_0083) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00L_0082) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00J_0081) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00R_0080) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00X_0079) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00U_0078) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00S_0077) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00T_0076) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h010_0075) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00W_0074) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00Y_0073) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00C_0072) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00E_0071) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00B_0070) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00D_0069) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00G_0068) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00F_0067) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00H_0066) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h013_0065) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h014_0064) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h012_0063) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h011_0062) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h016_0061) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h017_0060) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h019_0059) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h018_0058) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h015_0057) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00P_0056) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00Q_0055) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00N_0054) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00M_0053) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00O_0052) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h023_0166) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h026_0220) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h024_0214) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h025_0217) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h01Z_0182) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h020_0186) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h021_0196) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h02O_0226) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h02M_0223) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h02K_0165) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h02X_0241) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h02P_0231) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h02T_0233) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h02U_0236) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h02V_0237) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h034_0257) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h033_0255) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h031_0250) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h032_0252) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h030_0245) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h02Y_0170) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h02Z_0239) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
return true
endfunction
function Trig_check_for_victory_Actions takes nothing returns nothing
call CustomVictoryBJ( ConvertedPlayer(GetForLoopIndexA()), true, true )
endfunction
//===========================================================================
function InitTrig_check_for_victory takes nothing returns nothing
set gg_trg_check_for_victory = CreateTrigger( )
call TriggerAddCondition( gg_trg_check_for_victory, Condition( function Trig_check_for_victory_Conditions ) )
call TriggerAddAction( gg_trg_check_for_victory, function Trig_check_for_victory_Actions )
endfunction
function Trig_check_Mordor_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(gg_unit_h01K_0091) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h01P_0090) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h01Q_0088) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h01S_0093) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h01R_0086) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
return true
endfunction
function Trig_check_Mordor_Actions takes nothing returns nothing
set udg_Gold_received[GetForLoopIndexA()] = ( udg_Gold_received[GetForLoopIndexA()] + 4 )
call DisplayTextToForce( GetForceOfPlayer(ConvertedPlayer(GetForLoopIndexA())), "TRIGSTR_879" )
call CreateNUnitsAtLoc( 1, 'n00V', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_Russia), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_check_Mordor takes nothing returns nothing
set gg_trg_check_Mordor = CreateTrigger( )
call TriggerAddCondition( gg_trg_check_Mordor, Condition( function Trig_check_Mordor_Conditions ) )
call TriggerAddAction( gg_trg_check_Mordor, function Trig_check_Mordor_Actions )
endfunction
function Trig_check_Lorien_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(gg_unit_h00L_0082) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00K_0084) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00I_0083) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00J_0081) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
return true
endfunction
function Trig_check_Lorien_Actions takes nothing returns nothing
set udg_Gold_received[GetForLoopIndexA()] = ( udg_Gold_received[GetForLoopIndexA()] + 5 )
call DisplayTextToForce( GetForceOfPlayer(ConvertedPlayer(GetForLoopIndexA())), "TRIGSTR_880" )
call CreateNUnitsAtLoc( 1, 'h02C', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_Middle_East), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_check_Lorien takes nothing returns nothing
set gg_trg_check_Lorien = CreateTrigger( )
call TriggerAddCondition( gg_trg_check_Lorien, Condition( function Trig_check_Lorien_Conditions ) )
call TriggerAddAction( gg_trg_check_Lorien, function Trig_check_Lorien_Actions )
endfunction
function Trig_check_SouthRohan_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(gg_unit_h01B_0095) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h01G_0097) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h01A_0100) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00H_0066) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h037_0267) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
return true
endfunction
function Trig_check_SouthRohan_Actions takes nothing returns nothing
set udg_Gold_received[GetForLoopIndexA()] = ( udg_Gold_received[GetForLoopIndexA()] + 5 )
call DisplayTextToForce( GetForceOfPlayer(ConvertedPlayer(GetForLoopIndexA())), "TRIGSTR_881" )
call CreateNUnitsAtLoc( 1, 'h01J', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_Scandinavia), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'n00P', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_Scandinavia), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_check_SouthRohan takes nothing returns nothing
set gg_trg_check_SouthRohan = CreateTrigger( )
call TriggerAddCondition( gg_trg_check_SouthRohan, Condition( function Trig_check_SouthRohan_Conditions ) )
call TriggerAddAction( gg_trg_check_SouthRohan, function Trig_check_SouthRohan_Actions )
endfunction
function Trig_check_Eriador_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(gg_unit_h00B_0070) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h03C_0279) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00E_0071) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
return true
endfunction
function Trig_check_Eriador_Actions takes nothing returns nothing
set udg_Gold_received[GetForLoopIndexA()] = ( udg_Gold_received[GetForLoopIndexA()] + 4 )
call DisplayTextToForce( GetForceOfPlayer(ConvertedPlayer(GetForLoopIndexA())), "TRIGSTR_882" )
call CreateNUnitsAtLoc( 1, 'h03D', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_Italy), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'n009', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_Italy), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_check_Eriador takes nothing returns nothing
set gg_trg_check_Eriador = CreateTrigger( )
call TriggerAddCondition( gg_trg_check_Eriador, Condition( function Trig_check_Eriador_Conditions ) )
call TriggerAddAction( gg_trg_check_Eriador, function Trig_check_Eriador_Actions )
endfunction
function Trig_check_NorthRohan_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(gg_unit_h00G_0068) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h038_0268) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h039_0269) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h03A_0270) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
return true
endfunction
function Trig_check_NorthRohan_Actions takes nothing returns nothing
set udg_Gold_received[GetForLoopIndexA()] = ( udg_Gold_received[GetForLoopIndexA()] + 4 )
call DisplayTextToForce( GetForceOfPlayer(ConvertedPlayer(GetForLoopIndexA())), "TRIGSTR_883" )
call CreateNUnitsAtLoc( 1, 'n00T', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_North_Africa), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'o000', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_North_Africa), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_check_NorthRohan takes nothing returns nothing
set gg_trg_check_NorthRohan = CreateTrigger( )
call TriggerAddCondition( gg_trg_check_NorthRohan, Condition( function Trig_check_NorthRohan_Conditions ) )
call TriggerAddAction( gg_trg_check_NorthRohan, function Trig_check_NorthRohan_Actions )
endfunction
function Trig_check_Isengard_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(gg_unit_h00F_0067) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00D_0069) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
return true
endfunction
function Trig_check_Isengard_Actions takes nothing returns nothing
set udg_Gold_received[GetForLoopIndexA()] = ( udg_Gold_received[GetForLoopIndexA()] + 1 )
call DisplayTextToForce( GetForceOfPlayer(ConvertedPlayer(GetForLoopIndexA())), "TRIGSTR_884" )
call CreateNUnitsAtLoc( 1, 'o000', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_Isengards), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_check_Isengard takes nothing returns nothing
set gg_trg_check_Isengard = CreateTrigger( )
call TriggerAddCondition( gg_trg_check_Isengard, Condition( function Trig_check_Isengard_Conditions ) )
call TriggerAddAction( gg_trg_check_Isengard, function Trig_check_Isengard_Actions )
endfunction
function Trig_check_Umbar_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(gg_unit_h012_0063) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h011_0062) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h013_0065) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h014_0064) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
return true
endfunction
function Trig_check_Umbar_Actions takes nothing returns nothing
set udg_Gold_received[GetForLoopIndexA()] = ( udg_Gold_received[GetForLoopIndexA()] + 5 )
call DisplayTextToForce( GetForceOfPlayer(ConvertedPlayer(GetForLoopIndexA())), "TRIGSTR_885" )
call CreateNUnitsAtLoc( 1, 'h02A', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_Iberia), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'n00S', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_Iberia), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_check_Umbar takes nothing returns nothing
set gg_trg_check_Umbar = CreateTrigger( )
call TriggerAddCondition( gg_trg_check_Umbar, Condition( function Trig_check_Umbar_Conditions ) )
call TriggerAddAction( gg_trg_check_Umbar, function Trig_check_Umbar_Actions )
endfunction
function Trig_check_Haradwaith_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(gg_unit_h019_0059) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h016_0061) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h03Y_0328) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h040_0331) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
return true
endfunction
function Trig_check_Haradwaith_Actions takes nothing returns nothing
set udg_Gold_received[GetForLoopIndexA()] = ( udg_Gold_received[GetForLoopIndexA()] + 3 )
call DisplayTextToForce( GetForceOfPlayer(ConvertedPlayer(GetForLoopIndexA())), "TRIGSTR_886" )
call CreateNUnitsAtLoc( 2, 'o008', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_France), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'n00U', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_France), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_check_Haradwaith takes nothing returns nothing
set gg_trg_check_Haradwaith = CreateTrigger( )
call TriggerAddCondition( gg_trg_check_Haradwaith, Condition( function Trig_check_Haradwaith_Conditions ) )
call TriggerAddAction( gg_trg_check_Haradwaith, function Trig_check_Haradwaith_Actions )
endfunction
function Trig_check_Near_Harad_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(gg_unit_h017_0060) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h03Z_0329) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
return true
endfunction
function Trig_check_Near_Harad_Actions takes nothing returns nothing
set udg_Gold_received[GetForLoopIndexA()] = ( udg_Gold_received[GetForLoopIndexA()] + 1 )
call DisplayTextToForce( GetForceOfPlayer(ConvertedPlayer(GetForLoopIndexA())), "TRIGSTR_887" )
call CreateNUnitsAtLoc( 1, 'n00U', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_Region_138), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_check_Near_Harad takes nothing returns nothing
set gg_trg_check_Near_Harad = CreateTrigger( )
call TriggerAddCondition( gg_trg_check_Near_Harad, Condition( function Trig_check_Near_Harad_Conditions ) )
call TriggerAddAction( gg_trg_check_Near_Harad, function Trig_check_Near_Harad_Actions )
endfunction
function Trig_check_Far_Harad_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(gg_unit_h018_0058) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h041_0333) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
return true
endfunction
function Trig_check_Far_Harad_Actions takes nothing returns nothing
set udg_Gold_received[GetForLoopIndexA()] = ( udg_Gold_received[GetForLoopIndexA()] + 1 )
call DisplayTextToForce( GetForceOfPlayer(ConvertedPlayer(GetForLoopIndexA())), "TRIGSTR_888" )
call CreateNUnitsAtLoc( 1, 'o008', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_Region_139), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_check_Far_Harad takes nothing returns nothing
set gg_trg_check_Far_Harad = CreateTrigger( )
call TriggerAddCondition( gg_trg_check_Far_Harad, Condition( function Trig_check_Far_Harad_Conditions ) )
call TriggerAddAction( gg_trg_check_Far_Harad, function Trig_check_Far_Harad_Actions )
endfunction
function Trig_check_Mirkwood_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(gg_unit_h00P_0056) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00Q_0055) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00O_0052) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00M_0053) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h00N_0054) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
return true
endfunction
function Trig_check_Mirkwood_Actions takes nothing returns nothing
set udg_Gold_received[GetForLoopIndexA()] = ( udg_Gold_received[GetForLoopIndexA()] + 6 )
call CreateNUnitsAtLoc( 1, 'h01W', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_Great_Britain), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'n003', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_Great_Britain), bj_UNIT_FACING )
call DisplayTextToForce( GetForceOfPlayer(ConvertedPlayer(GetForLoopIndexA())), "TRIGSTR_889" )
endfunction
//===========================================================================
function InitTrig_check_Mirkwood takes nothing returns nothing
set gg_trg_check_Mirkwood = CreateTrigger( )
call TriggerAddCondition( gg_trg_check_Mirkwood, Condition( function Trig_check_Mirkwood_Conditions ) )
call TriggerAddAction( gg_trg_check_Mirkwood, function Trig_check_Mirkwood_Actions )
endfunction
function Trig_check_Moria_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(gg_unit_h021_0196) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h020_0186) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h01Z_0182) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
return true
endfunction
function Trig_check_Moria_Actions takes nothing returns nothing
set udg_Gold_received[GetForLoopIndexA()] = ( udg_Gold_received[GetForLoopIndexA()] + 4 )
call CreateNUnitsAtLoc( 1, 'h022', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_Moria), bj_UNIT_FACING )
call DisplayTextToForce( GetForceOfPlayer(ConvertedPlayer(GetForLoopIndexA())), "TRIGSTR_890" )
endfunction
//===========================================================================
function InitTrig_check_Moria takes nothing returns nothing
set gg_trg_check_Moria = CreateTrigger( )
call TriggerAddCondition( gg_trg_check_Moria, Condition( function Trig_check_Moria_Conditions ) )
call TriggerAddAction( gg_trg_check_Moria, function Trig_check_Moria_Actions )
endfunction
function Trig_check_Mithril_Mines_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(gg_unit_h024_0214) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h023_0166) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h026_0220) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h025_0217) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
return true
endfunction
function Trig_check_Mithril_Mines_Actions takes nothing returns nothing
set udg_Gold_received[GetForLoopIndexA()] = ( udg_Gold_received[GetForLoopIndexA()] + 6 )
call DisplayTextToForce( GetForceOfPlayer(ConvertedPlayer(GetForLoopIndexA())), "TRIGSTR_891" )
call CreateNUnitsAtLoc( 1, 'u000', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_Mithril_Mines_middle), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'e007', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_Mithril_Mines_middle), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_check_Mithril_Mines takes nothing returns nothing
set gg_trg_check_Mithril_Mines = CreateTrigger( )
call TriggerAddCondition( gg_trg_check_Mithril_Mines, Condition( function Trig_check_Mithril_Mines_Conditions ) )
call TriggerAddAction( gg_trg_check_Mithril_Mines, function Trig_check_Mithril_Mines_Actions )
endfunction
function Trig_check_Fangorn_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(gg_unit_h01C_0098) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h01D_0096) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h035_0262) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h036_0261) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
return true
endfunction
function Trig_check_Fangorn_Actions takes nothing returns nothing
set udg_Gold_received[GetForLoopIndexA()] = ( udg_Gold_received[GetForLoopIndexA()] + 2 )
call AdjustPlayerStateBJ( 3, ConvertedPlayer(GetForLoopIndexA()), PLAYER_STATE_RESOURCE_LUMBER )
call DisplayTextToForce( GetForceOfPlayer(ConvertedPlayer(GetForLoopIndexA())), "TRIGSTR_892" )
call CreateNUnitsAtLoc( 1, 'e008', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_Fangorn_Spawn), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'e009', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_Fangorn_Spawn), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_check_Fangorn takes nothing returns nothing
set gg_trg_check_Fangorn = CreateTrigger( )
call TriggerAddCondition( gg_trg_check_Fangorn, Condition( function Trig_check_Fangorn_Conditions ) )
call TriggerAddAction( gg_trg_check_Fangorn, function Trig_check_Fangorn_Actions )
endfunction
function Trig_check_Shire_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(gg_unit_h00C_0072) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h02O_0226) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h02K_0165) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h02M_0223) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
return true
endfunction
function Trig_check_Shire_Actions takes nothing returns nothing
set udg_Gold_received[GetForLoopIndexA()] = ( udg_Gold_received[GetForLoopIndexA()] + 4 )
call DisplayTextToForce( GetForceOfPlayer(ConvertedPlayer(GetForLoopIndexA())), "TRIGSTR_893" )
call CreateNUnitsAtLoc( 1, 'h007', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_USA), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'h01H', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_USA), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_check_Shire takes nothing returns nothing
set gg_trg_check_Shire = CreateTrigger( )
call TriggerAddCondition( gg_trg_check_Shire, Condition( function Trig_check_Shire_Conditions ) )
call TriggerAddAction( gg_trg_check_Shire, function Trig_check_Shire_Actions )
endfunction
function Trig_check_Rhovanion_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(gg_unit_h02V_0237) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h02U_0236) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h02T_0233) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h02P_0231) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h02X_0241) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
return true
endfunction
function Trig_check_Rhovanion_Actions takes nothing returns nothing
set udg_Gold_received[GetForLoopIndexA()] = ( udg_Gold_received[GetForLoopIndexA()] + 5 )
call DisplayTextToForce( GetForceOfPlayer(ConvertedPlayer(GetForLoopIndexA())), "TRIGSTR_894" )
call CreateNUnitsAtLoc( 1, 'n00W', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_Rhovanion_Spawn), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'h004', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_Rhovanion_Spawn), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_check_Rhovanion takes nothing returns nothing
set gg_trg_check_Rhovanion = CreateTrigger( )
call TriggerAddCondition( gg_trg_check_Rhovanion, Condition( function Trig_check_Rhovanion_Conditions ) )
call TriggerAddAction( gg_trg_check_Rhovanion, function Trig_check_Rhovanion_Actions )
endfunction
function Trig_check_Rhun_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(gg_unit_h032_0252) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h031_0250) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h030_0245) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h02Z_0239) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h02Y_0170) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
return true
endfunction
function Trig_check_Rhun_Actions takes nothing returns nothing
set udg_Gold_received[GetForLoopIndexA()] = ( udg_Gold_received[GetForLoopIndexA()] + 6 )
call DisplayTextToForce( GetForceOfPlayer(ConvertedPlayer(GetForLoopIndexA())), "TRIGSTR_895" )
call CreateNUnitsAtLoc( 1, 'n00X', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_Rhun_Spawn), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'h02S', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_Rhun_Spawn), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_check_Rhun takes nothing returns nothing
set gg_trg_check_Rhun = CreateTrigger( )
call TriggerAddCondition( gg_trg_check_Rhun, Condition( function Trig_check_Rhun_Conditions ) )
call TriggerAddAction( gg_trg_check_Rhun, function Trig_check_Rhun_Actions )
endfunction
function Trig_check_Ithilien_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(gg_unit_h015_0057) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h034_0257) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h033_0255) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
return true
endfunction
function Trig_check_Ithilien_Actions takes nothing returns nothing
set udg_Gold_received[GetForLoopIndexA()] = ( udg_Gold_received[GetForLoopIndexA()] + 2 )
call DisplayTextToForce( GetForceOfPlayer(ConvertedPlayer(GetForLoopIndexA())), "TRIGSTR_896" )
call CreateNUnitsAtLoc( 1, 'h02H', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_Region_095), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'n00C', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_Region_095), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_check_Ithilien takes nothing returns nothing
set gg_trg_check_Ithilien = CreateTrigger( )
call TriggerAddCondition( gg_trg_check_Ithilien, Condition( function Trig_check_Ithilien_Conditions ) )
call TriggerAddAction( gg_trg_check_Ithilien, function Trig_check_Ithilien_Actions )
endfunction
function Trig_check_WestRhovanion_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(gg_unit_h01F_0101) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h03E_0282) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h01E_0099) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h03F_0284) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
return true
endfunction
function Trig_check_WestRhovanion_Actions takes nothing returns nothing
set udg_Gold_received[GetForLoopIndexA()] = ( udg_Gold_received[GetForLoopIndexA()] + 4 )
call DisplayTextToForce( GetForceOfPlayer(ConvertedPlayer(GetForLoopIndexA())), "TRIGSTR_897" )
call CreateNUnitsAtLoc( 1, 'h02Q', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_Region_106), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'n00W', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_Region_106), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_check_WestRhovanion takes nothing returns nothing
set gg_trg_check_WestRhovanion = CreateTrigger( )
call TriggerAddCondition( gg_trg_check_WestRhovanion, Condition( function Trig_check_WestRhovanion_Conditions ) )
call TriggerAddAction( gg_trg_check_WestRhovanion, function Trig_check_WestRhovanion_Actions )
endfunction
function Trig_check_Arnor_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(gg_unit_h03G_0288) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h03K_0294) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
return true
endfunction
function Trig_check_Arnor_Actions takes nothing returns nothing
set udg_Gold_received[GetForLoopIndexA()] = ( udg_Gold_received[GetForLoopIndexA()] + 3 )
call DisplayTextToForce( GetForceOfPlayer(ConvertedPlayer(GetForLoopIndexA())), "TRIGSTR_898" )
call CreateNUnitsAtLoc( 1, 'n00Z', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_Arnor), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_check_Arnor takes nothing returns nothing
set gg_trg_check_Arnor = CreateTrigger( )
call TriggerAddCondition( gg_trg_check_Arnor, Condition( function Trig_check_Arnor_Conditions ) )
call TriggerAddAction( gg_trg_check_Arnor, function Trig_check_Arnor_Actions )
endfunction
function Trig_check_Angamar_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(gg_unit_h03I_0290) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h03J_0292) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
return true
endfunction
function Trig_check_Angamar_Actions takes nothing returns nothing
set udg_Gold_received[GetForLoopIndexA()] = ( udg_Gold_received[GetForLoopIndexA()] + 2 )
call DisplayTextToForce( GetForceOfPlayer(ConvertedPlayer(GetForLoopIndexA())), "TRIGSTR_899" )
call CreateNUnitsAtLoc( 1, 'u003', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_Region_111), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_check_Angamar takes nothing returns nothing
set gg_trg_check_Angamar = CreateTrigger( )
call TriggerAddCondition( gg_trg_check_Angamar, Condition( function Trig_check_Angamar_Conditions ) )
call TriggerAddAction( gg_trg_check_Angamar, function Trig_check_Angamar_Actions )
endfunction
function Trig_check_Minas_Morgul_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(gg_unit_n00J_0171) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h009_0085) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h01O_0089) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h01M_0092) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h01N_0094) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
return true
endfunction
function Trig_check_Minas_Morgul_Actions takes nothing returns nothing
set udg_Gold_received[GetForLoopIndexA()] = ( udg_Gold_received[GetForLoopIndexA()] + 6 )
call DisplayTextToForce( GetForceOfPlayer(ConvertedPlayer(GetForLoopIndexA())), "TRIGSTR_900" )
call CreateNUnitsAtLoc( 1, 'u003', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_morgul_spawn), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_check_Minas_Morgul takes nothing returns nothing
set gg_trg_check_Minas_Morgul = CreateTrigger( )
call TriggerAddCondition( gg_trg_check_Minas_Morgul, Condition( function Trig_check_Minas_Morgul_Conditions ) )
call TriggerAddAction( gg_trg_check_Minas_Morgul, function Trig_check_Minas_Morgul_Actions )
endfunction
function Trig_check_Brown_Hills_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(gg_unit_h03X_0325) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h03U_0310) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h03S_0318) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h03R_0306) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h03V_0323) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h03T_0320) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
if ( not ( GetOwningPlayer(gg_unit_h03W_0313) == ConvertedPlayer(GetForLoopIndexA()) ) ) then
return false
endif
return true
endfunction
function Trig_check_Brown_Hills_Actions takes nothing returns nothing
set udg_Gold_received[GetForLoopIndexA()] = ( udg_Gold_received[GetForLoopIndexA()] + 8 )
call DisplayTextToForce( GetForceOfPlayer(ConvertedPlayer(GetForLoopIndexA())), "TRIGSTR_901" )
call CreateNUnitsAtLoc( 1, 'h03P', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_Brown_Hills_Spawn), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'h01Y', ConvertedPlayer(GetForLoopIndexA()), GetRectCenter(gg_rct_Brown_Hills_Spawn), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_check_Brown_Hills takes nothing returns nothing
set gg_trg_check_Brown_Hills = CreateTrigger( )
call TriggerAddCondition( gg_trg_check_Brown_Hills, Condition( function Trig_check_Brown_Hills_Conditions ) )
call TriggerAddAction( gg_trg_check_Brown_Hills, function Trig_check_Brown_Hills_Actions )
endfunction