// Map deprotected by X-deprotect (version 2006-10-02) by zibada
// http://dimon.xgm.ru/xdep/
// Visit our modmaking community at http://xgm.ru/
Name | Type | is_array | initial_value |
effect01 | effect | No | |
force01 | force | No | |
GreenSpawnControl1 | group | No | |
GreenSpawnControl2 | group | No | |
GreenSpawnControl3 | group | No | |
GreenSpawnControlDead | group | No | |
integer01 | integer | No | |
integer02 | integer | No | |
integer03 | integer | No | |
integer04 | integer | No | |
integer05 | integer | No | |
integer06 | integer | No | |
item01 | item | No | |
item02 | item | No | |
rect01 | rect | No | |
rect02 | rect | No | |
rect03 | rect | No | |
rect04 | rect | No | |
rect05 | rect | No | |
rect06 | rect | No | |
rect07 | rect | No | |
rect08 | rect | No | |
rect09 | rect | No | |
rect10 | rect | No | |
rect11 | rect | No | |
rect12 | rect | No | |
rect13 | rect | No | |
rect14 | rect | No | |
rect15 | rect | No | |
rect16 | rect | No | |
rect17 | rect | No | |
rect18 | rect | No | |
rect19 | rect | No | |
rect20 | rect | No | |
rect21 | rect | No | |
rect22 | rect | No | |
rect23 | rect | No | |
rect24 | rect | No | |
rect25 | rect | No | |
rect26 | rect | No | |
rect27 | rect | No | |
rect28 | rect | No | |
rect29 | rect | No | |
rect30 | rect | No | |
rect31 | rect | No | |
sound01 | sound | No | |
sound02 | sound | No | |
sound03 | sound | No | |
string01 | string | No | |
trigger01 | trigger | No | |
trigger02 | trigger | No | |
trigger03 | trigger | No | |
trigger04 | trigger | No | |
trigger05 | trigger | No | |
trigger06 | trigger | No | |
trigger07 | trigger | No | |
trigger08 | trigger | No | |
trigger09 | trigger | No | |
trigger10 | trigger | No | |
trigger100 | trigger | No | |
trigger101 | trigger | No | |
trigger102 | trigger | No | |
trigger103 | trigger | No | |
trigger104 | trigger | No | |
trigger105 | trigger | No | |
trigger106 | trigger | No | |
trigger107 | trigger | No | |
trigger108 | trigger | No | |
trigger109 | trigger | No | |
trigger11 | trigger | No | |
trigger110 | trigger | No | |
trigger111 | trigger | No | |
trigger112 | trigger | No | |
trigger113 | trigger | No | |
trigger114 | trigger | No | |
trigger115 | trigger | No | |
trigger116 | trigger | No | |
trigger117 | trigger | No | |
trigger118 | trigger | No | |
trigger119 | trigger | No | |
trigger12 | trigger | No | |
trigger120 | trigger | No | |
trigger121 | trigger | No | |
trigger122 | trigger | No | |
trigger123 | trigger | No | |
trigger124 | trigger | No | |
trigger125 | trigger | No | |
trigger126 | trigger | No | |
trigger127 | trigger | No | |
trigger128 | trigger | No | |
trigger129 | trigger | No | |
trigger13 | trigger | No | |
trigger130 | trigger | No | |
trigger131 | trigger | No | |
trigger132 | trigger | No | |
trigger133 | trigger | No | |
trigger134 | trigger | No | |
trigger135 | trigger | No | |
trigger136 | trigger | No | |
trigger137 | trigger | No | |
trigger138 | trigger | No | |
trigger139 | trigger | No | |
trigger14 | trigger | No | |
trigger140 | trigger | No | |
trigger141 | trigger | No | |
trigger142 | trigger | No | |
trigger143 | trigger | No | |
trigger144 | trigger | No | |
trigger145 | trigger | No | |
trigger146 | trigger | No | |
trigger147 | trigger | No | |
trigger148 | trigger | No | |
trigger149 | trigger | No | |
trigger15 | trigger | No | |
trigger150 | trigger | No | |
trigger151 | trigger | No | |
trigger152 | trigger | No | |
trigger153 | trigger | No | |
trigger154 | trigger | No | |
trigger155 | trigger | No | |
trigger156 | trigger | No | |
trigger157 | trigger | No | |
trigger158 | trigger | No | |
trigger159 | trigger | No | |
trigger16 | trigger | No | |
trigger160 | trigger | No | |
trigger161 | trigger | No | |
trigger162 | trigger | No | |
trigger163 | trigger | No | |
trigger164 | trigger | No | |
trigger165 | trigger | No | |
trigger166 | trigger | No | |
trigger167 | trigger | No | |
trigger168 | trigger | No | |
trigger169 | trigger | No | |
trigger17 | trigger | No | |
trigger170 | trigger | No | |
trigger171 | trigger | No | |
trigger172 | trigger | No | |
trigger173 | trigger | No | |
trigger174 | trigger | No | |
trigger175 | trigger | No | |
trigger176 | trigger | No | |
trigger177 | trigger | No | |
trigger178 | trigger | No | |
trigger179 | trigger | No | |
trigger18 | trigger | No | |
trigger180 | trigger | No | |
trigger181 | trigger | No | |
trigger182 | trigger | No | |
trigger183 | trigger | No | |
trigger184 | trigger | No | |
trigger185 | trigger | No | |
trigger186 | trigger | No | |
trigger187 | trigger | No | |
trigger188 | trigger | No | |
trigger189 | trigger | No | |
trigger19 | trigger | No | |
trigger190 | trigger | No | |
trigger191 | trigger | No | |
trigger192 | trigger | No | |
trigger193 | trigger | No | |
trigger194 | trigger | No | |
trigger195 | trigger | No | |
trigger196 | trigger | No | |
trigger197 | trigger | No | |
trigger198 | trigger | No | |
trigger199 | trigger | No | |
trigger20 | trigger | No | |
trigger200 | trigger | No | |
trigger21 | trigger | No | |
trigger22 | trigger | No | |
trigger23 | trigger | No | |
trigger24 | trigger | No | |
trigger25 | trigger | No | |
trigger26 | trigger | No | |
trigger27 | trigger | No | |
trigger28 | trigger | No | |
trigger29 | trigger | No | |
trigger30 | trigger | No | |
trigger31 | trigger | No | |
trigger32 | trigger | No | |
trigger33 | trigger | No | |
trigger34 | trigger | No | |
trigger35 | trigger | No | |
trigger36 | trigger | No | |
trigger37 | trigger | No | |
trigger38 | trigger | No | |
trigger39 | trigger | No | |
trigger40 | trigger | No | |
trigger41 | trigger | No | |
trigger42 | trigger | No | |
trigger43 | trigger | No | |
trigger44 | trigger | No | |
trigger45 | trigger | No | |
trigger46 | trigger | No | |
trigger47 | trigger | No | |
trigger48 | trigger | No | |
trigger49 | trigger | No | |
trigger50 | trigger | No | |
trigger51 | trigger | No | |
trigger52 | trigger | No | |
trigger53 | trigger | No | |
trigger54 | trigger | No | |
trigger55 | trigger | No | |
trigger56 | trigger | No | |
trigger57 | trigger | No | |
trigger58 | trigger | No | |
trigger59 | trigger | No | |
trigger60 | trigger | No | |
trigger61 | trigger | No | |
trigger62 | trigger | No | |
trigger63 | trigger | No | |
trigger64 | trigger | No | |
trigger65 | trigger | No | |
trigger66 | trigger | No | |
trigger67 | trigger | No | |
trigger68 | trigger | No | |
trigger69 | trigger | No | |
trigger70 | trigger | No | |
trigger71 | trigger | No | |
trigger72 | trigger | No | |
trigger73 | trigger | No | |
trigger74 | trigger | No | |
trigger75 | trigger | No | |
trigger76 | trigger | No | |
trigger77 | trigger | No | |
trigger78 | trigger | No | |
trigger79 | trigger | No | |
trigger80 | trigger | No | |
trigger81 | trigger | No | |
trigger82 | trigger | No | |
trigger83 | trigger | No | |
trigger84 | trigger | No | |
trigger85 | trigger | No | |
trigger86 | trigger | No | |
trigger87 | trigger | No | |
trigger88 | trigger | No | |
trigger89 | trigger | No | |
trigger90 | trigger | No | |
trigger91 | trigger | No | |
trigger92 | trigger | No | |
trigger93 | trigger | No | |
trigger94 | trigger | No | |
trigger95 | trigger | No | |
trigger96 | trigger | No | |
trigger97 | trigger | No | |
trigger98 | trigger | No | |
trigger99 | trigger | No | |
unit01 | unit | No | |
unit02 | unit | No | |
unit03 | unit | No | |
unit04 | unit | No | |
unit05 | unit | No | |
unit06 | unit | No | |
unit07 | unit | No | |
unit08 | unit | No | |
unit09 | unit | No | |
unit10 | unit | No | |
unit11 | unit | No | |
unit12 | unit | No | |
unit13 | unit | No | |
unit14 | unit | No | |
unit15 | unit | No | |
unit16 | unit | No | |
unit17 | unit | No | |
unit18 | unit | No | |
unit19 | unit | No | |
unit20 | unit | No |
// Made by killernoob2004
function CreateBuildingsForPlayer0 takes nothing returns nothing
local player p=Player(0)
local unit u
local integer unitID
local trigger t
local real life
set udg_unit09=CreateUnit(p,'h000',6976.0,2816.0,270.000)
set u=CreateUnit(p,'h01C',6656.0,1920.0,270.000)
endfunction
function CreateUnitsForPlayer0 takes nothing returns nothing
local player p=Player(0)
local unit u
local integer unitID
local trigger t
local real life
set u=CreateUnit(p,'h001',6634.4,2844.0,243.805)
endfunction
function CreateBuildingsForPlayer1 takes nothing returns nothing
local player p=Player(1)
local unit u
local integer unitID
local trigger t
local real life
set udg_unit10=CreateUnit(p,'h000',6976.0,448.0,270.000)
set u=CreateUnit(p,'h01C',6016.0,512.0,270.000)
endfunction
function CreateUnitsForPlayer1 takes nothing returns nothing
local player p=Player(1)
local unit u
local integer unitID
local trigger t
local real life
set u=CreateUnit(p,'h001',6648.1,447.5,107.472)
endfunction
function CreateBuildingsForPlayer2 takes nothing returns nothing
local player p=Player(2)
local unit u
local integer unitID
local trigger t
local real life
set udg_unit11=CreateUnit(p,'h000',6912.0,-2112.0,270.000)
set u=CreateUnit(p,'h01C',6528.0,-1536.0,270.000)
endfunction
function CreateUnitsForPlayer2 takes nothing returns nothing
local player p=Player(2)
local unit u
local integer unitID
local trigger t
local real life
set u=CreateUnit(p,'h001',6560.0,-2048.7,326.007)
endfunction
function CreateBuildingsForPlayer3 takes nothing returns nothing
local player p=Player(3)
local unit u
local integer unitID
local trigger t
local real life
set udg_unit12=CreateUnit(p,'h000',-6976.0,2368.0,270.000)
set u=CreateUnit(p,'h01C',-6464.0,1792.0,270.000)
endfunction
function CreateUnitsForPlayer3 takes nothing returns nothing
local player p=Player(3)
local unit u
local integer unitID
local trigger t
local real life
set u=CreateUnit(p,'h001',-6642.5,2331.4,102.396)
endfunction
function CreateBuildingsForPlayer4 takes nothing returns nothing
local player p=Player(4)
local unit u
local integer unitID
local trigger t
local real life
set udg_unit13=CreateUnit(p,'h000',-6976.0,64.0,270.000)
set u=CreateUnit(p,'h01C',-5760.0,-128.0,270.000)
endfunction
function CreateUnitsForPlayer4 takes nothing returns nothing
local player p=Player(4)
local unit u
local integer unitID
local trigger t
local real life
set u=CreateUnit(p,'h001',-6652.4,12.0,236.785)
endfunction
function CreateBuildingsForPlayer5 takes nothing returns nothing
local player p=Player(5)
local unit u
local integer unitID
local trigger t
local real life
set udg_unit14=CreateUnit(p,'h000',-6976.0,-2432.0,270.000)
set u=CreateUnit(p,'h01C',-6400.0,-1536.0,270.000)
endfunction
function CreateUnitsForPlayer5 takes nothing returns nothing
local player p=Player(5)
local unit u
local integer unitID
local trigger t
local real life
set u=CreateUnit(p,'h001',-6680.8,-2447.6,318.086)
endfunction
function CreateBuildingsForPlayer6 takes nothing returns nothing
local player p=Player(6)
local unit u
local integer unitID
local trigger t
local real life
set u=CreateUnit(p,'o000',7296.0,2752.0,270.000)
set u=CreateUnit(p,'o000',5568.0,896.0,270.000)
set u=CreateUnit(p,'o000',5568.0,768.0,270.000)
set u=CreateUnit(p,'o000',5568.0,256.0,270.000)
set u=CreateUnit(p,'o000',5568.0,128.0,270.000)
set u=CreateUnit(p,'o000',5760.0,4032.0,270.000)
set u=CreateUnit(p,'o000',6272.0,4032.0,270.000)
set u=CreateUnit(p,'o000',3904.0,-5568.0,270.000)
set u=CreateUnit(p,'o000',5440.0,5568.0,270.000)
set u=CreateUnit(p,'o000',5440.0,6272.0,270.000)
set u=CreateUnit(p,'o000',3904.0,-5696.0,270.000)
set u=CreateUnit(p,'o000',4032.0,-5696.0,270.000)
set u=CreateUnit(p,'o000',5760.0,512.0,270.000)
set u=CreateUnit(p,'o000',6016.0,-3264.0,270.000)
set u=CreateUnit(p,'o000',6528.0,-3264.0,270.000)
set u=CreateUnit(p,'o000',7296.0,448.0,270.000)
set u=CreateUnit(p,'o000',7296.0,-2112.0,270.000)
set u=CreateUnit(p,'o000',6528.0,-1152.0,270.000)
set u=CreateUnit(p,'o000',6528.0,-1408.0,270.000)
set u=CreateUnit(p,'o000',6656.0,1536.0,270.000)
set u=CreateUnit(p,'o000',6656.0,1792.0,270.000)
endfunction
function CreateBuildingsForPlayer7 takes nothing returns nothing
local player p=Player(7)
local unit u
local integer unitID
local trigger t
local real life
set u=CreateUnit(p,'o000',-5376.0,320.0,270.000)
set u=CreateUnit(p,'o000',-5376.0,192.0,270.000)
set u=CreateUnit(p,'o000',-5376.0,-384.0,270.000)
set u=CreateUnit(p,'o000',-5376.0,-512.0,270.000)
set u=CreateUnit(p,'o000',-4672.0,6144.0,270.000)
set u=CreateUnit(p,'o000',-4672.0,5568.0,270.000)
set u=CreateUnit(p,'o000',-2880.0,-5952.0,270.000)
set u=CreateUnit(p,'o000',-3008.0,-5952.0,270.000)
set u=CreateUnit(p,'o000',-2880.0,-5824.0,270.000)
set u=CreateUnit(p,'o000',-5504.0,-128.0,270.000)
set u=CreateUnit(p,'o000',-5952.0,3392.0,270.000)
set u=CreateUnit(p,'o000',-6400.0,3392.0,270.000)
set u=CreateUnit(p,'o000',-6592.0,-3200.0,270.000)
set u=CreateUnit(p,'o000',-6080.0,-3200.0,270.000)
set u=CreateUnit(p,'o000',-7296.0,2368.0,270.000)
set u=CreateUnit(p,'o000',-7296.0,64.0,270.000)
set u=CreateUnit(p,'o000',-7296.0,-2432.0,270.000)
set u=CreateUnit(p,'o000',-6464.0,1664.0,270.000)
set u=CreateUnit(p,'o000',-6464.0,1408.0,270.000)
set u=CreateUnit(p,'o000',-6400.0,-1152.0,270.000)
set u=CreateUnit(p,'o000',-6400.0,-1408.0,270.000)
endfunction
function CreateNeutralPassiveBuildings2 takes nothing returns nothing
local player p=Player(PLAYER_NEUTRAL_PASSIVE)
local unit u
local integer unitID
local trigger t
local real life
set udg_unit03=CreateUnit(p,'ncop',-256.0,5312.0,270.000)
set udg_unit04=CreateUnit(p,'ncop',-256.0,6272.0,270.000)
set udg_unit05=CreateUnit(p,'ncop',0.0,640.0,270.000)
set udg_unit06=CreateUnit(p,'ncop',0.0,-896.0,270.000)
set udg_unit07=CreateUnit(p,'ncop',192.0,-6656.0,270.000)
set udg_unit08=CreateUnit(p,'ncop',192.0,-5120.0,270.000)
set udg_unit18=CreateUnit(p,'n006',-128.0,-2496.0,270.000)
set udg_unit19=CreateUnit(p,'n006',-128.0,-2688.0,270.000)
set udg_unit17=CreateUnit(p,'n004',896.0,-2560.0,270.000)
set udg_unit15=CreateUnit(p,'n004',896.0,-3072.0,270.000)
set udg_unit16=CreateUnit(p,'n004',640.0,-2816.0,270.000)
set udg_unit20=CreateUnit(p,'n006',64.0,-2688.0,270.000)
endfunction
function CreateRegions2 takes nothing returns nothing
local weathereffect we
set udg_rect01=Rect(6848.0,352.0,7040.0,544.0)
set udg_rect02=Rect(-7456.0,-7168.0,-2752.0,-4000.0)
set udg_rect03=Rect(-7456.0,-4064.0,-5568.0,-1216.0)
set udg_rect04=Rect(-2784.0,-7232.0,3808.0,-4480.0)
set udg_rect05=Rect(3776.0,-7232.0,7392.0,-4128.0)
set udg_rect06=Rect(5568.0,-4160.0,7456.0,-1248.0)
set udg_rect07=Rect(-7456.0,-1280.0,-5536.0,1568.0)
set udg_rect08=Rect(-2080.0,-1184.0,2080.0,992.0)
set udg_rect09=Rect(-5600.0,-1088.0,-2080.0,928.0)
set udg_rect10=Rect(2080.0,-1056.0,5632.0,1760.0)
set udg_rect11=Rect(-7104.0,-2528.0,-6912.0,-2336.0)
set udg_rect12=Rect(-7072.0,2272.0,-6912.0,2432.0)
set udg_rect13=Rect(6848.0,2720.0,7072.0,2944.0)
set udg_rect14=Rect(5568.0,-1280.0,7424.0,1664.0)
set udg_rect15=Rect(-544.0,-6496.0,-384.0,-5280.0)
set udg_rect16=Rect(-608.0,-256.0,-480.0,32.0)
set udg_rect17=Rect(3904.0,5216.0,4416.0,5344.0)
set udg_rect18=Rect(-736.0,5536.0,-576.0,5920.0)
set udg_rect19=Rect(768.0,-6496.0,928.0,-5312.0)
set udg_rect20=Rect(480.0,-288.0,608.0,32.0)
set udg_rect21=Rect(-3904.0,6784.0,-3552.0,6944.0)
set udg_rect22=Rect(96.0,5536.0,224.0,5920.0)
set udg_rect23=Rect(6816.0,-2208.0,6976.0,-2016.0)
set udg_rect24=Rect(5632.0,-4160.0,7424.0,4032.0)
set udg_rect25=Rect(-7424.0,-4672.0,-5024.0,4480.0)
set udg_rect26=Rect(-7264.0,4416.0,-4064.0,7072.0)
set udg_rect27=Rect(-7456.0,1536.0,-5568.0,4448.0)
set udg_rect28=Rect(-4064.0,5248.0,4640.0,6656.0)
set udg_rect29=Rect(4640.0,4000.0,6944.0,7136.0)
set udg_rect30=Rect(5600.0,1632.0,7424.0,4096.0)
set udg_rect31=Rect(-7104.0,-32.0,-6944.0,128.0)
endfunction
function Trig_Start_Trigger_Actions takes nothing returns nothing
call CreateFogModifierRectBJ(true,Player(0),FOG_OF_WAR_VISIBLE,udg_rect24)
call CreateFogModifierRectBJ(true,Player(1),FOG_OF_WAR_VISIBLE,udg_rect24)
call CreateFogModifierRectBJ(true,Player(2),FOG_OF_WAR_VISIBLE,udg_rect24)
call CreateFogModifierRectBJ(true,Player(3),FOG_OF_WAR_VISIBLE,udg_rect25)
call CreateFogModifierRectBJ(true,Player(4),FOG_OF_WAR_VISIBLE,udg_rect25)
call CreateFogModifierRectBJ(true,Player(5),FOG_OF_WAR_VISIBLE,udg_rect25)
call SetPlayerStateBJ(Player(0),PLAYER_STATE_RESOURCE_GOLD,500)
call SetPlayerStateBJ(Player(1),PLAYER_STATE_RESOURCE_GOLD,500)
call SetPlayerStateBJ(Player(2),PLAYER_STATE_RESOURCE_GOLD,500)
call SetPlayerStateBJ(Player(3),PLAYER_STATE_RESOURCE_GOLD,500)
call SetPlayerStateBJ(Player(4),PLAYER_STATE_RESOURCE_GOLD,500)
call SetPlayerStateBJ(Player(5),PLAYER_STATE_RESOURCE_GOLD,500)
call SetPlayerStateBJ(Player(0),PLAYER_STATE_RESOURCE_LUMBER,1000000)
call SetPlayerStateBJ(Player(1),PLAYER_STATE_RESOURCE_LUMBER,1000000)
call SetPlayerStateBJ(Player(2),PLAYER_STATE_RESOURCE_LUMBER,1000000)
call SetPlayerStateBJ(Player(3),PLAYER_STATE_RESOURCE_LUMBER,1000000)
call SetPlayerStateBJ(Player(4),PLAYER_STATE_RESOURCE_LUMBER,1000000)
call SetPlayerStateBJ(Player(5),PLAYER_STATE_RESOURCE_LUMBER,1000000)
call SetTimeOfDay(6.00)
call SetTimeOfDayScalePercentBJ(95.00)
endfunction
function Trig_Start_Text_Actions takes nothing returns nothing
call DisplayTextToForce(GetPlayersAll(),"Welcome to KN's Tech Wars! Player Red will now type in the commands for modes in the next 30 seconds. For more information, please refer to the Quest(F9) Menu. Good luck and have fun!")
endfunction
function Trig_Quest_Menu_Actions takes nothing returns nothing
call CreateQuestBJ(bj_QUESTTYPE_REQ_DISCOVERED,"Credits","TRIGSTR_253","ReplaceableTextures\\CommandButtons\\BTNMedivh.tga")
call CreateQuestBJ(bj_QUESTTYPE_OPT_DISCOVERED,"How To Play","TRIGSTR_257","ReplaceableTextures\\CommandButtons\\BTNShockWave.blp")
call CreateQuestBJ(bj_QUESTTYPE_REQ_DISCOVERED,"Bugs","Find any bugs? Email me at [email protected] and I will fix them. Have any suggestions? I accept them too!","ReplaceableTextures\\CommandButtons\\BTNSelectHeroOn.blp")
call CreateQuestBJ(bj_QUESTTYPE_OPT_DISCOVERED,"Modes","TRIGSTR_274","ReplaceableTextures\\CommandButtons\\BTNSpellShieldAmulet.blp")
call CreateQuestBJ(bj_QUESTTYPE_OPT_DISCOVERED,"Ingame Commands","TRIGSTR_335","ReplaceableTextures\\CommandButtons\\BTNStaffOfPreservation.blp")
call CreateQuestBJ(bj_QUESTTYPE_OPT_DISCOVERED,"Item Combinations","Item combinations will have the combos listed in the item description. Some item combos are secret, and you will have to find out yourself.","ReplaceableTextures\\CommandButtons\\BTNQuillSprayOff.blp")
call CreateQuestBJ(bj_QUESTTYPE_REQ_DISCOVERED,"Music Tracks","TRIGSTR_1148","ReplaceableTextures\\CommandButtons\\BTNTranquility.blp")
call CreateQuestBJ(bj_QUESTTYPE_REQ_DISCOVERED,"Music Tracks (Continued)","TRIGSTR_1151","ReplaceableTextures\\CommandButtons\\BTNTranquility.blp")
endfunction
function Trig_Income1_Actions takes nothing returns nothing
call ForceAddPlayerSimple(GetTriggerPlayer(),udg_force01)
set udg_integer01=CountLivingPlayerUnitsOfTypeId('n008',GetTriggerPlayer())
set udg_integer02=CountLivingPlayerUnitsOfTypeId('n00J',GetTriggerPlayer())
call DisplayTextToForce(udg_force01,("You currently have "+((I2S(udg_integer01)+" Markets and ")+(I2S(udg_integer02)+(" Stock Markets with "+(I2S((((udg_integer05+(udg_integer01*10))+150)+((udg_integer02*25)+udg_integer03)))+" income (excluding wonder effects)."))))))
call ForceRemovePlayerSimple(GetTriggerPlayer(),udg_force01)
endfunction
function Trig_Income2_Actions takes nothing returns nothing
call ForceAddPlayerSimple(GetTriggerPlayer(),udg_force01)
set udg_integer01=CountLivingPlayerUnitsOfTypeId('n008',GetTriggerPlayer())
set udg_integer02=CountLivingPlayerUnitsOfTypeId('n00J',GetTriggerPlayer())
call DisplayTextToForce(udg_force01,("You currently have "+((I2S(udg_integer01)+" Markets and ")+(I2S(udg_integer02)+(" Stock Markets with "+(I2S((((udg_integer05+(udg_integer01*10))+150)+((udg_integer02*25)+udg_integer04)))+" income (excluding wonder effects)."))))))
call ForceRemovePlayerSimple(GetTriggerPlayer(),udg_force01)
endfunction
function Trig_Red_Income_Actions takes nothing returns nothing
call AdjustPlayerStateBJ(200,Player(0),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function Trig_Blue_Income_Actions takes nothing returns nothing
call AdjustPlayerStateBJ(200,Player(1),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function Trig_Teal_Income_Actions takes nothing returns nothing
call AdjustPlayerStateBJ(200,Player(2),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function Trig_Purple_Income_Actions takes nothing returns nothing
call AdjustPlayerStateBJ(200,Player(3),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function Trig_Yellow_Income_Actions takes nothing returns nothing
call AdjustPlayerStateBJ(200,Player(4),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function Trig_Orange_Income_Actions takes nothing returns nothing
call AdjustPlayerStateBJ(200,Player(5),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function Trig_Spawn_Func002001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn_Func002001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h002')
endfunction
function Trig_Spawn_Func002001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func002001002001(),Trig_Spawn_Func002001002002())
endfunction
function Trig_Spawn_Func002002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h003',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func003001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn_Func003001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h002')
endfunction
function Trig_Spawn_Func003001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func003001002001(),Trig_Spawn_Func003001002002())
endfunction
function Trig_Spawn_Func003002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h003',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func004001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn_Func004001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='e000')
endfunction
function Trig_Spawn_Func004001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func004001002001(),Trig_Spawn_Func004001002002())
endfunction
function Trig_Spawn_Func004002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'n001',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func005001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn_Func005001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='e000')
endfunction
function Trig_Spawn_Func005001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func005001002001(),Trig_Spawn_Func005001002002())
endfunction
function Trig_Spawn_Func005002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'n001',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func006001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn_Func006001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h008')
endfunction
function Trig_Spawn_Func006001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func006001002001(),Trig_Spawn_Func006001002002())
endfunction
function Trig_Spawn_Func006002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h007',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func007001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn_Func007001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h008')
endfunction
function Trig_Spawn_Func007001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func007001002001(),Trig_Spawn_Func007001002002())
endfunction
function Trig_Spawn_Func007002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h007',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func008001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn_Func008001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='n003')
endfunction
function Trig_Spawn_Func008001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func008001002001(),Trig_Spawn_Func008001002002())
endfunction
function Trig_Spawn_Func008002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h009',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func009001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn_Func009001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='n003')
endfunction
function Trig_Spawn_Func009001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func009001002001(),Trig_Spawn_Func009001002002())
endfunction
function Trig_Spawn_Func009002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h009',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func010001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn_Func010001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00B')
endfunction
function Trig_Spawn_Func010001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func010001002001(),Trig_Spawn_Func010001002002())
endfunction
function Trig_Spawn_Func010002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h00A',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func011001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn_Func011001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00B')
endfunction
function Trig_Spawn_Func011001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func011001002001(),Trig_Spawn_Func011001002002())
endfunction
function Trig_Spawn_Func011002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h00A',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func012001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn_Func012001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00F')
endfunction
function Trig_Spawn_Func012001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func012001002001(),Trig_Spawn_Func012001002002())
endfunction
function Trig_Spawn_Func012002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h00E',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func013001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn_Func013001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00F')
endfunction
function Trig_Spawn_Func013001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func013001002001(),Trig_Spawn_Func013001002002())
endfunction
function Trig_Spawn_Func013002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h00E',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func014001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn_Func014001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='o001')
endfunction
function Trig_Spawn_Func014001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func014001002001(),Trig_Spawn_Func014001002002())
endfunction
function Trig_Spawn_Func014002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'e001',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func015001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn_Func015001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='o001')
endfunction
function Trig_Spawn_Func015001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func015001002001(),Trig_Spawn_Func015001002002())
endfunction
function Trig_Spawn_Func015002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'e001',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func016001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn_Func016001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00K')
endfunction
function Trig_Spawn_Func016001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func016001002001(),Trig_Spawn_Func016001002002())
endfunction
function Trig_Spawn_Func016002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'n000',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func017001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn_Func017001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00K')
endfunction
function Trig_Spawn_Func017001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func017001002001(),Trig_Spawn_Func017001002002())
endfunction
function Trig_Spawn_Func017002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'n000',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func018001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn_Func018001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='n007')
endfunction
function Trig_Spawn_Func018001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func018001002001(),Trig_Spawn_Func018001002002())
endfunction
function Trig_Spawn_Func018002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'n000',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func019001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn_Func019001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='n007')
endfunction
function Trig_Spawn_Func019001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func019001002001(),Trig_Spawn_Func019001002002())
endfunction
function Trig_Spawn_Func019002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'n000',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func020001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn_Func020001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00O')
endfunction
function Trig_Spawn_Func020001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func020001002001(),Trig_Spawn_Func020001002002())
endfunction
function Trig_Spawn_Func020002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h00Q',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func021001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn_Func021001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00O')
endfunction
function Trig_Spawn_Func021001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func021001002001(),Trig_Spawn_Func021001002002())
endfunction
function Trig_Spawn_Func021002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h00Q',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func022001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn_Func022001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='o002')
endfunction
function Trig_Spawn_Func022001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func022001002001(),Trig_Spawn_Func022001002002())
endfunction
function Trig_Spawn_Func022002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'o003',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func023001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn_Func023001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='o002')
endfunction
function Trig_Spawn_Func023001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func023001002001(),Trig_Spawn_Func023001002002())
endfunction
function Trig_Spawn_Func023002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'o003',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func024001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn_Func024001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='n00A')
endfunction
function Trig_Spawn_Func024001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func024001002001(),Trig_Spawn_Func024001002002())
endfunction
function Trig_Spawn_Func024002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h00T',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func025001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn_Func025001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='n00A')
endfunction
function Trig_Spawn_Func025001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func025001002001(),Trig_Spawn_Func025001002002())
endfunction
function Trig_Spawn_Func025002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h00T',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func026001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn_Func026001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00U')
endfunction
function Trig_Spawn_Func026001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func026001002001(),Trig_Spawn_Func026001002002())
endfunction
function Trig_Spawn_Func026002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h00T',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func027001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn_Func027001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00U')
endfunction
function Trig_Spawn_Func027001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func027001002001(),Trig_Spawn_Func027001002002())
endfunction
function Trig_Spawn_Func027002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h00T',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func028001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn_Func028001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00U')
endfunction
function Trig_Spawn_Func028001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func028001002001(),Trig_Spawn_Func028001002002())
endfunction
function Trig_Spawn_Func028002 takes nothing returns nothing
call CreateNUnitsAtLoc(2,'h009',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func029001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn_Func029001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00U')
endfunction
function Trig_Spawn_Func029001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func029001002001(),Trig_Spawn_Func029001002002())
endfunction
function Trig_Spawn_Func029002 takes nothing returns nothing
call CreateNUnitsAtLoc(2,'h009',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func030001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn_Func030001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00V')
endfunction
function Trig_Spawn_Func030001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func030001002001(),Trig_Spawn_Func030001002002())
endfunction
function Trig_Spawn_Func030002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'n009',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func031001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn_Func031001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00V')
endfunction
function Trig_Spawn_Func031001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func031001002001(),Trig_Spawn_Func031001002002())
endfunction
function Trig_Spawn_Func031002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'n009',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func032001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn_Func032001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00W')
endfunction
function Trig_Spawn_Func032001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func032001002001(),Trig_Spawn_Func032001002002())
endfunction
function Trig_Spawn_Func032002 takes nothing returns nothing
call CreateNUnitsAtLoc(2,'h00X',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func033001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn_Func033001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00W')
endfunction
function Trig_Spawn_Func033001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func033001002001(),Trig_Spawn_Func033001002002())
endfunction
function Trig_Spawn_Func033002 takes nothing returns nothing
call CreateNUnitsAtLoc(2,'h00X',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func034001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn_Func034001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='o004')
endfunction
function Trig_Spawn_Func034001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func034001002001(),Trig_Spawn_Func034001002002())
endfunction
function Trig_Spawn_Func034002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h00Z',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func035001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn_Func035001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='o004')
endfunction
function Trig_Spawn_Func035001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func035001002001(),Trig_Spawn_Func035001002002())
endfunction
function Trig_Spawn_Func035002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h00Z',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func036001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn_Func036001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='n00D')
endfunction
function Trig_Spawn_Func036001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func036001002001(),Trig_Spawn_Func036001002002())
endfunction
function Trig_Spawn_Func036002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h012',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func037001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn_Func037001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='n00D')
endfunction
function Trig_Spawn_Func037001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func037001002001(),Trig_Spawn_Func037001002002())
endfunction
function Trig_Spawn_Func037002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h012',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func038001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn_Func038001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h015')
endfunction
function Trig_Spawn_Func038001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func038001002001(),Trig_Spawn_Func038001002002())
endfunction
function Trig_Spawn_Func038002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h014',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func039001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn_Func039001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h015')
endfunction
function Trig_Spawn_Func039001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func039001002001(),Trig_Spawn_Func039001002002())
endfunction
function Trig_Spawn_Func039002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h014',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func040001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn_Func040001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h01A')
endfunction
function Trig_Spawn_Func040001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func040001002001(),Trig_Spawn_Func040001002002())
endfunction
function Trig_Spawn_Func040002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'z000',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func041001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn_Func041001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h01A')
endfunction
function Trig_Spawn_Func041001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func041001002001(),Trig_Spawn_Func041001002002())
endfunction
function Trig_Spawn_Func041002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'z000',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func042001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn_Func042001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='n00F')
endfunction
function Trig_Spawn_Func042001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func042001002001(),Trig_Spawn_Func042001002002())
endfunction
function Trig_Spawn_Func042002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h01D',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func043001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn_Func043001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='n00F')
endfunction
function Trig_Spawn_Func043001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func043001002001(),Trig_Spawn_Func043001002002())
endfunction
function Trig_Spawn_Func043002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h01D',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func044001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn_Func044001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h01I')
endfunction
function Trig_Spawn_Func044001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func044001002001(),Trig_Spawn_Func044001002002())
endfunction
function Trig_Spawn_Func044002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h01G',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func045001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn_Func045001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h01I')
endfunction
function Trig_Spawn_Func045001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func045001002001(),Trig_Spawn_Func045001002002())
endfunction
function Trig_Spawn_Func045002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h01G',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func046001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn_Func046001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='u000')
endfunction
function Trig_Spawn_Func046001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func046001002001(),Trig_Spawn_Func046001002002())
endfunction
function Trig_Spawn_Func046002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h01F',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func047001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn_Func047001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='u000')
endfunction
function Trig_Spawn_Func047001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func047001002001(),Trig_Spawn_Func047001002002())
endfunction
function Trig_Spawn_Func047002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h01F',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func048001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn_Func048001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='o009')
endfunction
function Trig_Spawn_Func048001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func048001002001(),Trig_Spawn_Func048001002002())
endfunction
function Trig_Spawn_Func048002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h01H',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func049001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn_Func049001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='o009')
endfunction
function Trig_Spawn_Func049001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func049001002001(),Trig_Spawn_Func049001002002())
endfunction
function Trig_Spawn_Func049002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h01H',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func050001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn_Func050001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='u001')
endfunction
function Trig_Spawn_Func050001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func050001002001(),Trig_Spawn_Func050001002002())
endfunction
function Trig_Spawn_Func050002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h01P',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func051001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn_Func051001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='u001')
endfunction
function Trig_Spawn_Func051001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func051001002001(),Trig_Spawn_Func051001002002())
endfunction
function Trig_Spawn_Func051002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h01P',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func052001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn_Func052001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h01R')
endfunction
function Trig_Spawn_Func052001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func052001002001(),Trig_Spawn_Func052001002002())
endfunction
function Trig_Spawn_Func052002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h01Q',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func053001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn_Func053001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h01R')
endfunction
function Trig_Spawn_Func053001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func053001002001(),Trig_Spawn_Func053001002002())
endfunction
function Trig_Spawn_Func053002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h01Q',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func054001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn_Func054001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h01S')
endfunction
function Trig_Spawn_Func054001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func054001002001(),Trig_Spawn_Func054001002002())
endfunction
function Trig_Spawn_Func054002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h01N',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func055001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn_Func055001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h01S')
endfunction
function Trig_Spawn_Func055001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func055001002001(),Trig_Spawn_Func055001002002())
endfunction
function Trig_Spawn_Func055002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h01N',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func056001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn_Func056001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h01T')
endfunction
function Trig_Spawn_Func056001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func056001002001(),Trig_Spawn_Func056001002002())
endfunction
function Trig_Spawn_Func056002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h01U',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func057001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn_Func057001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h01T')
endfunction
function Trig_Spawn_Func057001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func057001002001(),Trig_Spawn_Func057001002002())
endfunction
function Trig_Spawn_Func057002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h01U',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func058001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn_Func058001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h01W')
endfunction
function Trig_Spawn_Func058001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func058001002001(),Trig_Spawn_Func058001002002())
endfunction
function Trig_Spawn_Func058002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h01V',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func059001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn_Func059001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h01W')
endfunction
function Trig_Spawn_Func059001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func059001002001(),Trig_Spawn_Func059001002002())
endfunction
function Trig_Spawn_Func059002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h01V',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func060001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn_Func060001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='n00L')
endfunction
function Trig_Spawn_Func060001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func060001002001(),Trig_Spawn_Func060001002002())
endfunction
function Trig_Spawn_Func060002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h01Z',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Func061001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn_Func061001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='n00L')
endfunction
function Trig_Spawn_Func061001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn_Func061001002001(),Trig_Spawn_Func061001002002())
endfunction
function Trig_Spawn_Func061002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h01Z',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func002001002)),function Trig_Spawn_Func002002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func003001002)),function Trig_Spawn_Func003002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func004001002)),function Trig_Spawn_Func004002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func005001002)),function Trig_Spawn_Func005002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func006001002)),function Trig_Spawn_Func006002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func007001002)),function Trig_Spawn_Func007002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func008001002)),function Trig_Spawn_Func008002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func009001002)),function Trig_Spawn_Func009002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func010001002)),function Trig_Spawn_Func010002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func011001002)),function Trig_Spawn_Func011002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func012001002)),function Trig_Spawn_Func012002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func013001002)),function Trig_Spawn_Func013002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func014001002)),function Trig_Spawn_Func014002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func015001002)),function Trig_Spawn_Func015002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func016001002)),function Trig_Spawn_Func016002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func017001002)),function Trig_Spawn_Func017002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func018001002)),function Trig_Spawn_Func018002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func019001002)),function Trig_Spawn_Func019002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func020001002)),function Trig_Spawn_Func020002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func021001002)),function Trig_Spawn_Func021002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func022001002)),function Trig_Spawn_Func022002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func023001002)),function Trig_Spawn_Func023002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func024001002)),function Trig_Spawn_Func024002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func025001002)),function Trig_Spawn_Func025002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func026001002)),function Trig_Spawn_Func026002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func027001002)),function Trig_Spawn_Func027002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func028001002)),function Trig_Spawn_Func028002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func029001002)),function Trig_Spawn_Func029002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func030001002)),function Trig_Spawn_Func030002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func031001002)),function Trig_Spawn_Func031002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func032001002)),function Trig_Spawn_Func032002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func033001002)),function Trig_Spawn_Func033002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func034001002)),function Trig_Spawn_Func034002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func035001002)),function Trig_Spawn_Func035002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func036001002)),function Trig_Spawn_Func036002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func037001002)),function Trig_Spawn_Func037002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func038001002)),function Trig_Spawn_Func038002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func039001002)),function Trig_Spawn_Func039002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func040001002)),function Trig_Spawn_Func040002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func041001002)),function Trig_Spawn_Func041002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func042001002)),function Trig_Spawn_Func042002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func043001002)),function Trig_Spawn_Func043002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func044001002)),function Trig_Spawn_Func044002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func045001002)),function Trig_Spawn_Func045002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func046001002)),function Trig_Spawn_Func046002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func047001002)),function Trig_Spawn_Func047002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func048001002)),function Trig_Spawn_Func048002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func049001002)),function Trig_Spawn_Func049002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func050001002)),function Trig_Spawn_Func050002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func051001002)),function Trig_Spawn_Func051002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func052001002)),function Trig_Spawn_Func052002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func053001002)),function Trig_Spawn_Func053002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func054001002)),function Trig_Spawn_Func054002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func055001002)),function Trig_Spawn_Func055002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func056001002)),function Trig_Spawn_Func056002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func057001002)),function Trig_Spawn_Func057002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func058001002)),function Trig_Spawn_Func058002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func059001002)),function Trig_Spawn_Func059002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func060001002)),function Trig_Spawn_Func060002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn_Func061001002)),function Trig_Spawn_Func061002)
endfunction
function Trig_Shard_Spawn_Actions takes nothing returns nothing
call CreateItemLoc('I005',GetRectCenter(udg_rect17))
set udg_item01=GetLastCreatedItem()
call CreateItemLoc('I005',GetRectCenter(udg_rect21))
set udg_item02=GetLastCreatedItem()
endfunction
function Trig_Shard_UnSpawn_Actions takes nothing returns nothing
call RemoveItem(udg_item01)
call RemoveItem(udg_item02)
endfunction
function Trig_Grenades_Conditions takes nothing returns boolean
if(not(GetUnitTypeId(GetAttacker())=='h01D'))then
return false
endif
return true
endfunction
function Trig_Grenades_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(1,'n00H',GetOwningPlayer(GetAttacker()),GetUnitLoc(GetAttackedUnitBJ()),bj_UNIT_FACING)
endfunction
function Trig_Name_Conditions takes nothing returns boolean
if(not(SubStringBJ(GetEventPlayerChatString(),1,6)=="-name "))then
return false
endif
return true
endfunction
function Trig_Name_Actions takes nothing returns nothing
call SetPlayerName(GetTriggerPlayer(),SubStringBJ(GetEventPlayerChatString(),7,50))
endfunction
function Trig_Grenade_Explode_Func001001002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='n00H')
endfunction
function Trig_Grenade_Explode_Func001002 takes nothing returns nothing
call ReplaceUnitBJ(GetEnumUnit(),'n00G',bj_UNIT_STATE_METHOD_RELATIVE)
endfunction
function Trig_Grenade_Explode_Func002001002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='n00G')
endfunction
function Trig_Grenade_Explode_Func002002 takes nothing returns nothing
call IssuePointOrderLocBJ(GetEnumUnit(),"selfdestruct",GetUnitLoc(GetEnumUnit()))
endfunction
function Trig_Grenade_Explode_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Grenade_Explode_Func001001002)),function Trig_Grenade_Explode_Func001002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Grenade_Explode_Func002001002)),function Trig_Grenade_Explode_Func002002)
endfunction
function Trig_Orb_of_Fire_On_Fire_effect_Conditions takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I00E'))then
return false
endif
return true
endfunction
function Trig_Orb_of_Fire_On_Fire_effect_Actions takes nothing returns nothing
call TriggerSleepAction(1.00)
call AddSpecialEffectTargetUnitBJ("chest",GetTriggerUnit(),"Doodads\\Cinematic\\TownBurningFireEmitter\\TownBurningFireEmitter.mdl")
endfunction
function Trig_Orb_of_Frost_On_Ice_effect_Conditions takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I00D'))then
return false
endif
return true
endfunction
function Trig_Orb_of_Frost_On_Ice_effect_Actions takes nothing returns nothing
call TriggerSleepAction(1.00)
call AddSpecialEffectTargetUnitBJ("chest",GetTriggerUnit(),"Abilities\\Weapons\\FrostWyrmMissile\\FrostWyrmMissile.mdl")
endfunction
function Trig_Orb_of_Earth_On_Earth_effect_Conditions takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I00F'))then
return false
endif
return true
endfunction
function Trig_Orb_of_Earth_On_Earth_effect_Actions takes nothing returns nothing
call TriggerSleepAction(1.00)
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\NightElf\\EntanglingRoots\\EntanglingRootsTarget.mdl")
endfunction
function Trig_Orb_of_Water_On_Water_effect_Conditions takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I00G'))then
return false
endif
return true
endfunction
function Trig_Orb_of_Water_On_Water_effect_Actions takes nothing returns nothing
call TriggerSleepAction(1.00)
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\Human\\Blizzard\\BlizzardTarget.mdl")
endfunction
function Trig_Orb_of_Shock_On_Shock_effect_Conditions takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I00H'))then
return false
endif
return true
endfunction
function Trig_Orb_of_Shock_On_Shock_effect_Actions takes nothing returns nothing
call TriggerSleepAction(1.00)
call AddSpecialEffectTargetUnitBJ("chest",GetTriggerUnit(),"Abilities\\Weapons\\Bolt\\BoltImpact.mdl")
endfunction
function Trig_Humvee_Death_Conditions takes nothing returns boolean
if(not(GetUnitTypeId(GetDyingUnit())=='h01H'))then
return false
endif
return true
endfunction
function Trig_Humvee_Death_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(1,'z000',GetOwningPlayer(GetDyingUnit()),GetUnitLoc(GetDyingUnit()),bj_UNIT_FACING)
endfunction
function Trig_Vulcan_Sound_Conditions takes nothing returns boolean
if(not(GetUnitTypeId(GetAttacker())=='h01X'))then
return false
endif
return true
endfunction
function Trig_Vulcan_Sound_Actions takes nothing returns nothing
call PlaySoundOnUnitBJ(udg_sound02,100,GetAttacker())
endfunction
function Trig_APC_Death_Conditions takes nothing returns boolean
if(not(GetUnitTypeId(GetDyingUnit())=='h01V'))then
return false
endif
return true
endfunction
function Trig_APC_Death_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(2,'z000',GetOwningPlayer(GetDyingUnit()),GetUnitLoc(GetDyingUnit()),bj_UNIT_FACING)
endfunction
function Trig_Fast_Effect_Actions takes nothing returns nothing
call AdjustPlayerStateBJ(50,Player(0),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(50,Player(1),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(50,Player(2),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(50,Player(3),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(50,Player(4),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(50,Player(5),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function Trig_Fast_Mode_Actions takes nothing returns nothing
call DisplayTextToForce(GetPlayersAll(),"Fast mode has been enabled. +50 gold to all players per income.")
set udg_integer05=50
call EnableTrigger(udg_trigger26)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Modes_Off_Actions takes nothing returns nothing
call DisableTrigger(udg_trigger29)
call DisableTrigger(udg_trigger27)
call DisableTrigger(udg_trigger30)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Spawn30_Mode_Actions takes nothing returns nothing
call DisableTrigger(udg_trigger12)
call DisplayTextToForce(GetPlayersAll(),"Spawn30 mode is turned on. Spawn rates have been changed to 30 seconds.")
call EnableTrigger(udg_trigger31)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_NoHero_Mode_Func001001002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h01C')
endfunction
function Trig_NoHero_Mode_Func001002 takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Trig_NoHero_Mode_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_NoHero_Mode_Func001001002)),function Trig_NoHero_Mode_Func001002)
call DisplayTextToForce(GetPlayersAll(),"NoHero mode is turned on. Heroes have been disabled.")
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Spawn30_Effect_Func002001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn30_Effect_Func002001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h002')
endfunction
function Trig_Spawn30_Effect_Func002001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func002001002001(),Trig_Spawn30_Effect_Func002001002002())
endfunction
function Trig_Spawn30_Effect_Func002002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h003',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func003001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn30_Effect_Func003001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h002')
endfunction
function Trig_Spawn30_Effect_Func003001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func003001002001(),Trig_Spawn30_Effect_Func003001002002())
endfunction
function Trig_Spawn30_Effect_Func003002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h003',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func004001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn30_Effect_Func004001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='e000')
endfunction
function Trig_Spawn30_Effect_Func004001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func004001002001(),Trig_Spawn30_Effect_Func004001002002())
endfunction
function Trig_Spawn30_Effect_Func004002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'n001',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func005001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn30_Effect_Func005001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='e000')
endfunction
function Trig_Spawn30_Effect_Func005001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func005001002001(),Trig_Spawn30_Effect_Func005001002002())
endfunction
function Trig_Spawn30_Effect_Func005002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'n001',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func006001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn30_Effect_Func006001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h008')
endfunction
function Trig_Spawn30_Effect_Func006001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func006001002001(),Trig_Spawn30_Effect_Func006001002002())
endfunction
function Trig_Spawn30_Effect_Func006002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h007',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func007001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn30_Effect_Func007001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h008')
endfunction
function Trig_Spawn30_Effect_Func007001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func007001002001(),Trig_Spawn30_Effect_Func007001002002())
endfunction
function Trig_Spawn30_Effect_Func007002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h007',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func008001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn30_Effect_Func008001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='n003')
endfunction
function Trig_Spawn30_Effect_Func008001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func008001002001(),Trig_Spawn30_Effect_Func008001002002())
endfunction
function Trig_Spawn30_Effect_Func008002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h009',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func009001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn30_Effect_Func009001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='n003')
endfunction
function Trig_Spawn30_Effect_Func009001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func009001002001(),Trig_Spawn30_Effect_Func009001002002())
endfunction
function Trig_Spawn30_Effect_Func009002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h009',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func010001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn30_Effect_Func010001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00B')
endfunction
function Trig_Spawn30_Effect_Func010001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func010001002001(),Trig_Spawn30_Effect_Func010001002002())
endfunction
function Trig_Spawn30_Effect_Func010002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h00A',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func011001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn30_Effect_Func011001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00B')
endfunction
function Trig_Spawn30_Effect_Func011001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func011001002001(),Trig_Spawn30_Effect_Func011001002002())
endfunction
function Trig_Spawn30_Effect_Func011002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h00A',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func012001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn30_Effect_Func012001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00F')
endfunction
function Trig_Spawn30_Effect_Func012001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func012001002001(),Trig_Spawn30_Effect_Func012001002002())
endfunction
function Trig_Spawn30_Effect_Func012002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h00E',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func013001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn30_Effect_Func013001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00F')
endfunction
function Trig_Spawn30_Effect_Func013001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func013001002001(),Trig_Spawn30_Effect_Func013001002002())
endfunction
function Trig_Spawn30_Effect_Func013002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h00E',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func014001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn30_Effect_Func014001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='o001')
endfunction
function Trig_Spawn30_Effect_Func014001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func014001002001(),Trig_Spawn30_Effect_Func014001002002())
endfunction
function Trig_Spawn30_Effect_Func014002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'e001',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func015001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn30_Effect_Func015001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='o001')
endfunction
function Trig_Spawn30_Effect_Func015001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func015001002001(),Trig_Spawn30_Effect_Func015001002002())
endfunction
function Trig_Spawn30_Effect_Func015002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'e001',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func016001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn30_Effect_Func016001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00K')
endfunction
function Trig_Spawn30_Effect_Func016001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func016001002001(),Trig_Spawn30_Effect_Func016001002002())
endfunction
function Trig_Spawn30_Effect_Func016002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'n000',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func017001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn30_Effect_Func017001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00K')
endfunction
function Trig_Spawn30_Effect_Func017001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func017001002001(),Trig_Spawn30_Effect_Func017001002002())
endfunction
function Trig_Spawn30_Effect_Func017002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'n000',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func018001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn30_Effect_Func018001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='n007')
endfunction
function Trig_Spawn30_Effect_Func018001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func018001002001(),Trig_Spawn30_Effect_Func018001002002())
endfunction
function Trig_Spawn30_Effect_Func018002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'n000',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func019001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn30_Effect_Func019001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='n007')
endfunction
function Trig_Spawn30_Effect_Func019001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func019001002001(),Trig_Spawn30_Effect_Func019001002002())
endfunction
function Trig_Spawn30_Effect_Func019002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'n000',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func020001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn30_Effect_Func020001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00O')
endfunction
function Trig_Spawn30_Effect_Func020001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func020001002001(),Trig_Spawn30_Effect_Func020001002002())
endfunction
function Trig_Spawn30_Effect_Func020002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h00Q',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func021001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn30_Effect_Func021001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00O')
endfunction
function Trig_Spawn30_Effect_Func021001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func021001002001(),Trig_Spawn30_Effect_Func021001002002())
endfunction
function Trig_Spawn30_Effect_Func021002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h00Q',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func022001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn30_Effect_Func022001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='o002')
endfunction
function Trig_Spawn30_Effect_Func022001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func022001002001(),Trig_Spawn30_Effect_Func022001002002())
endfunction
function Trig_Spawn30_Effect_Func022002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'o003',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func023001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn30_Effect_Func023001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='o002')
endfunction
function Trig_Spawn30_Effect_Func023001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func023001002001(),Trig_Spawn30_Effect_Func023001002002())
endfunction
function Trig_Spawn30_Effect_Func023002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'o003',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func024001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn30_Effect_Func024001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='n00A')
endfunction
function Trig_Spawn30_Effect_Func024001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func024001002001(),Trig_Spawn30_Effect_Func024001002002())
endfunction
function Trig_Spawn30_Effect_Func024002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h00T',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func025001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn30_Effect_Func025001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='n00A')
endfunction
function Trig_Spawn30_Effect_Func025001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func025001002001(),Trig_Spawn30_Effect_Func025001002002())
endfunction
function Trig_Spawn30_Effect_Func025002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h00T',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func026001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn30_Effect_Func026001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00U')
endfunction
function Trig_Spawn30_Effect_Func026001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func026001002001(),Trig_Spawn30_Effect_Func026001002002())
endfunction
function Trig_Spawn30_Effect_Func026002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h00T',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func027001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn30_Effect_Func027001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00U')
endfunction
function Trig_Spawn30_Effect_Func027001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func027001002001(),Trig_Spawn30_Effect_Func027001002002())
endfunction
function Trig_Spawn30_Effect_Func027002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h00T',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func028001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn30_Effect_Func028001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00U')
endfunction
function Trig_Spawn30_Effect_Func028001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func028001002001(),Trig_Spawn30_Effect_Func028001002002())
endfunction
function Trig_Spawn30_Effect_Func028002 takes nothing returns nothing
call CreateNUnitsAtLoc(2,'h009',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func029001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn30_Effect_Func029001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00U')
endfunction
function Trig_Spawn30_Effect_Func029001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func029001002001(),Trig_Spawn30_Effect_Func029001002002())
endfunction
function Trig_Spawn30_Effect_Func029002 takes nothing returns nothing
call CreateNUnitsAtLoc(2,'h009',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func030001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn30_Effect_Func030001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00V')
endfunction
function Trig_Spawn30_Effect_Func030001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func030001002001(),Trig_Spawn30_Effect_Func030001002002())
endfunction
function Trig_Spawn30_Effect_Func030002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'n009',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func031001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn30_Effect_Func031001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00V')
endfunction
function Trig_Spawn30_Effect_Func031001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func031001002001(),Trig_Spawn30_Effect_Func031001002002())
endfunction
function Trig_Spawn30_Effect_Func031002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'n009',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func032001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn30_Effect_Func032001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00W')
endfunction
function Trig_Spawn30_Effect_Func032001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func032001002001(),Trig_Spawn30_Effect_Func032001002002())
endfunction
function Trig_Spawn30_Effect_Func032002 takes nothing returns nothing
call CreateNUnitsAtLoc(2,'h00X',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func033001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn30_Effect_Func033001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00W')
endfunction
function Trig_Spawn30_Effect_Func033001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func033001002001(),Trig_Spawn30_Effect_Func033001002002())
endfunction
function Trig_Spawn30_Effect_Func033002 takes nothing returns nothing
call CreateNUnitsAtLoc(2,'h00X',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func034001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn30_Effect_Func034001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='o004')
endfunction
function Trig_Spawn30_Effect_Func034001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func034001002001(),Trig_Spawn30_Effect_Func034001002002())
endfunction
function Trig_Spawn30_Effect_Func034002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h00Z',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func035001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn30_Effect_Func035001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='o004')
endfunction
function Trig_Spawn30_Effect_Func035001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func035001002001(),Trig_Spawn30_Effect_Func035001002002())
endfunction
function Trig_Spawn30_Effect_Func035002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h00Z',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func036001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn30_Effect_Func036001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='n00D')
endfunction
function Trig_Spawn30_Effect_Func036001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func036001002001(),Trig_Spawn30_Effect_Func036001002002())
endfunction
function Trig_Spawn30_Effect_Func036002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h012',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func037001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn30_Effect_Func037001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='n00D')
endfunction
function Trig_Spawn30_Effect_Func037001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func037001002001(),Trig_Spawn30_Effect_Func037001002002())
endfunction
function Trig_Spawn30_Effect_Func037002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h012',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func038001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn30_Effect_Func038001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h015')
endfunction
function Trig_Spawn30_Effect_Func038001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func038001002001(),Trig_Spawn30_Effect_Func038001002002())
endfunction
function Trig_Spawn30_Effect_Func038002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h014',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func039001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn30_Effect_Func039001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h015')
endfunction
function Trig_Spawn30_Effect_Func039001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func039001002001(),Trig_Spawn30_Effect_Func039001002002())
endfunction
function Trig_Spawn30_Effect_Func039002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h014',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func040001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn30_Effect_Func040001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h01A')
endfunction
function Trig_Spawn30_Effect_Func040001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func040001002001(),Trig_Spawn30_Effect_Func040001002002())
endfunction
function Trig_Spawn30_Effect_Func040002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'z000',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func041001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn30_Effect_Func041001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h01A')
endfunction
function Trig_Spawn30_Effect_Func041001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func041001002001(),Trig_Spawn30_Effect_Func041001002002())
endfunction
function Trig_Spawn30_Effect_Func041002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'z000',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func042001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn30_Effect_Func042001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='n00F')
endfunction
function Trig_Spawn30_Effect_Func042001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func042001002001(),Trig_Spawn30_Effect_Func042001002002())
endfunction
function Trig_Spawn30_Effect_Func042002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h01D',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func043001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn30_Effect_Func043001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='n00F')
endfunction
function Trig_Spawn30_Effect_Func043001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func043001002001(),Trig_Spawn30_Effect_Func043001002002())
endfunction
function Trig_Spawn30_Effect_Func043002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h01D',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func044001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn30_Effect_Func044001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h01I')
endfunction
function Trig_Spawn30_Effect_Func044001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func044001002001(),Trig_Spawn30_Effect_Func044001002002())
endfunction
function Trig_Spawn30_Effect_Func044002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h01G',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func045001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn30_Effect_Func045001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h01I')
endfunction
function Trig_Spawn30_Effect_Func045001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func045001002001(),Trig_Spawn30_Effect_Func045001002002())
endfunction
function Trig_Spawn30_Effect_Func045002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h01G',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func046001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn30_Effect_Func046001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='u001')
endfunction
function Trig_Spawn30_Effect_Func046001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func046001002001(),Trig_Spawn30_Effect_Func046001002002())
endfunction
function Trig_Spawn30_Effect_Func046002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h01F',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func047001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn30_Effect_Func047001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='u001')
endfunction
function Trig_Spawn30_Effect_Func047001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func047001002001(),Trig_Spawn30_Effect_Func047001002002())
endfunction
function Trig_Spawn30_Effect_Func047002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h01F',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func048001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn30_Effect_Func048001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='o009')
endfunction
function Trig_Spawn30_Effect_Func048001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func048001002001(),Trig_Spawn30_Effect_Func048001002002())
endfunction
function Trig_Spawn30_Effect_Func048002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h01H',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func049001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn30_Effect_Func049001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='o009')
endfunction
function Trig_Spawn30_Effect_Func049001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func049001002001(),Trig_Spawn30_Effect_Func049001002002())
endfunction
function Trig_Spawn30_Effect_Func049002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h01H',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func050001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn30_Effect_Func050001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='u001')
endfunction
function Trig_Spawn30_Effect_Func050001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func050001002001(),Trig_Spawn30_Effect_Func050001002002())
endfunction
function Trig_Spawn30_Effect_Func050002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h01P',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func051001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn30_Effect_Func051001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='u001')
endfunction
function Trig_Spawn30_Effect_Func051001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func051001002001(),Trig_Spawn30_Effect_Func051001002002())
endfunction
function Trig_Spawn30_Effect_Func051002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h01P',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func052001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Spawn30_Effect_Func052001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h01R')
endfunction
function Trig_Spawn30_Effect_Func052001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func052001002001(),Trig_Spawn30_Effect_Func052001002002())
endfunction
function Trig_Spawn30_Effect_Func052002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h01Q',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Func053001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Spawn30_Effect_Func053001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h01R')
endfunction
function Trig_Spawn30_Effect_Func053001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Spawn30_Effect_Func053001002001(),Trig_Spawn30_Effect_Func053001002002())
endfunction
function Trig_Spawn30_Effect_Func053002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h01Q',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Spawn30_Effect_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func002001002)),function Trig_Spawn30_Effect_Func002002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func003001002)),function Trig_Spawn30_Effect_Func003002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func004001002)),function Trig_Spawn30_Effect_Func004002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func005001002)),function Trig_Spawn30_Effect_Func005002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func006001002)),function Trig_Spawn30_Effect_Func006002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func007001002)),function Trig_Spawn30_Effect_Func007002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func008001002)),function Trig_Spawn30_Effect_Func008002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func009001002)),function Trig_Spawn30_Effect_Func009002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func010001002)),function Trig_Spawn30_Effect_Func010002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func011001002)),function Trig_Spawn30_Effect_Func011002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func012001002)),function Trig_Spawn30_Effect_Func012002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func013001002)),function Trig_Spawn30_Effect_Func013002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func014001002)),function Trig_Spawn30_Effect_Func014002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func015001002)),function Trig_Spawn30_Effect_Func015002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func016001002)),function Trig_Spawn30_Effect_Func016002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func017001002)),function Trig_Spawn30_Effect_Func017002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func018001002)),function Trig_Spawn30_Effect_Func018002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func019001002)),function Trig_Spawn30_Effect_Func019002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func020001002)),function Trig_Spawn30_Effect_Func020002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func021001002)),function Trig_Spawn30_Effect_Func021002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func022001002)),function Trig_Spawn30_Effect_Func022002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func023001002)),function Trig_Spawn30_Effect_Func023002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func024001002)),function Trig_Spawn30_Effect_Func024002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func025001002)),function Trig_Spawn30_Effect_Func025002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func026001002)),function Trig_Spawn30_Effect_Func026002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func027001002)),function Trig_Spawn30_Effect_Func027002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func028001002)),function Trig_Spawn30_Effect_Func028002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func029001002)),function Trig_Spawn30_Effect_Func029002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func030001002)),function Trig_Spawn30_Effect_Func030002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func031001002)),function Trig_Spawn30_Effect_Func031002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func032001002)),function Trig_Spawn30_Effect_Func032002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func033001002)),function Trig_Spawn30_Effect_Func033002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func034001002)),function Trig_Spawn30_Effect_Func034002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func035001002)),function Trig_Spawn30_Effect_Func035002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func036001002)),function Trig_Spawn30_Effect_Func036002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func037001002)),function Trig_Spawn30_Effect_Func037002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func038001002)),function Trig_Spawn30_Effect_Func038002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func039001002)),function Trig_Spawn30_Effect_Func039002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func040001002)),function Trig_Spawn30_Effect_Func040002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func041001002)),function Trig_Spawn30_Effect_Func041002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func042001002)),function Trig_Spawn30_Effect_Func042002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func043001002)),function Trig_Spawn30_Effect_Func043002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func044001002)),function Trig_Spawn30_Effect_Func044002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func045001002)),function Trig_Spawn30_Effect_Func045002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func046001002)),function Trig_Spawn30_Effect_Func046002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func047001002)),function Trig_Spawn30_Effect_Func047002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func048001002)),function Trig_Spawn30_Effect_Func048002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func049001002)),function Trig_Spawn30_Effect_Func049002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func050001002)),function Trig_Spawn30_Effect_Func050002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func051001002)),function Trig_Spawn30_Effect_Func051002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func052001002)),function Trig_Spawn30_Effect_Func052002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Spawn30_Effect_Func053001002)),function Trig_Spawn30_Effect_Func053002)
endfunction
function Trig_Red_to_Top_Right_Conditions takes nothing returns boolean
if(not(GetOwningPlayer(GetTriggerUnit())==Player(6)))then
return false
endif
return true
endfunction
function Trig_Red_to_Top_Right_Actions takes nothing returns nothing
call IssuePointOrderLocBJ(GetTriggerUnit(),"attack",GetRectCenter(udg_rect29))
endfunction
function Trig_Top_Right_to_Top_Middle_Conditions takes nothing returns boolean
if(not(GetOwningPlayer(GetTriggerUnit())==Player(6)))then
return false
endif
return true
endfunction
function Trig_Top_Right_to_Top_Middle_Actions takes nothing returns nothing
call IssuePointOrderLocBJ(GetTriggerUnit(),"attack",GetRectCenter(udg_rect28))
endfunction
function Trig_Top_Middle_to_Top_Left_Conditions takes nothing returns boolean
if(not(GetOwningPlayer(GetTriggerUnit())==Player(6)))then
return false
endif
return true
endfunction
function Trig_Top_Middle_to_Top_Left_Actions takes nothing returns nothing
call IssuePointOrderLocBJ(GetTriggerUnit(),"attack",GetRectCenter(udg_rect26))
endfunction
function Trig_Top_Left_to_Purple_Conditions takes nothing returns boolean
if(not(GetOwningPlayer(GetTriggerUnit())==Player(6)))then
return false
endif
return true
endfunction
function Trig_Top_Left_to_Purple_Actions takes nothing returns nothing
call IssuePointOrderLocBJ(GetTriggerUnit(),"attack",GetRectCenter(udg_rect12))
endfunction
function Trig_Purple_to_Orange_Conditions takes nothing returns boolean
if(not(GetOwningPlayer(GetTriggerUnit())==Player(6)))then
return false
endif
return true
endfunction
function Trig_Purple_to_Orange_Actions takes nothing returns nothing
call IssuePointOrderLocBJ(GetTriggerUnit(),"attack",GetRectCenter(udg_rect11))
endfunction
function Trig_Blue_to_Middle_Right_Conditions takes nothing returns boolean
if(not(GetOwningPlayer(GetTriggerUnit())==Player(6)))then
return false
endif
return true
endfunction
function Trig_Blue_to_Middle_Right_Actions takes nothing returns nothing
call IssuePointOrderLocBJ(GetTriggerUnit(),"attack",GetRectCenter(udg_rect10))
endfunction
function Trig_Middle_Right_to_Middle_Conditions takes nothing returns boolean
if(not(GetOwningPlayer(GetTriggerUnit())==Player(6)))then
return false
endif
return true
endfunction
function Trig_Middle_Right_to_Middle_Actions takes nothing returns nothing
call IssuePointOrderLocBJ(GetTriggerUnit(),"attack",GetRectCenter(udg_rect08))
endfunction
function Trig_Middle_to_Middle_Left_Conditions takes nothing returns boolean
if(not(GetOwningPlayer(GetTriggerUnit())==Player(6)))then
return false
endif
return true
endfunction
function Trig_Middle_to_Middle_Left_Actions takes nothing returns nothing
call IssuePointOrderLocBJ(GetTriggerUnit(),"attack",GetRectCenter(udg_rect09))
endfunction
function Trig_Middle_Left_to_Yellow_Conditions takes nothing returns boolean
if(not(GetOwningPlayer(GetTriggerUnit())==Player(6)))then
return false
endif
return true
endfunction
function Trig_Middle_Left_to_Yellow_Actions takes nothing returns nothing
call IssuePointOrderLocBJ(GetTriggerUnit(),"attack",GetRectCenter(udg_rect31))
endfunction
function Trig_Yellow_to_Purple_Conditions takes nothing returns boolean
if(not(GetOwningPlayer(GetTriggerUnit())==Player(6)))then
return false
endif
return true
endfunction
function Trig_Yellow_to_Purple_Actions takes nothing returns nothing
call IssuePointOrderLocBJ(GetTriggerUnit(),"attack",GetRectCenter(udg_rect12))
endfunction
function Trig_Teal_to_Bottom_Right_Conditions takes nothing returns boolean
if(not(GetOwningPlayer(GetTriggerUnit())==Player(6)))then
return false
endif
return true
endfunction
function Trig_Teal_to_Bottom_Right_Actions takes nothing returns nothing
call IssuePointOrderLocBJ(GetTriggerUnit(),"attack",GetRectCenter(udg_rect05))
endfunction
function Trig_Bottom_Right_to_Bottom_Middle_Conditions takes nothing returns boolean
if(not(GetOwningPlayer(GetTriggerUnit())==Player(6)))then
return false
endif
return true
endfunction
function Trig_Bottom_Right_to_Bottom_Middle_Actions takes nothing returns nothing
call IssuePointOrderLocBJ(GetTriggerUnit(),"attack",GetRectCenter(udg_rect04))
endfunction
function Trig_Bottom_Middle_to_Bottom_Left_Conditions takes nothing returns boolean
if(not(GetOwningPlayer(GetTriggerUnit())==Player(6)))then
return false
endif
return true
endfunction
function Trig_Bottom_Middle_to_Bottom_Left_Actions takes nothing returns nothing
call IssuePointOrderLocBJ(GetTriggerUnit(),"attack",GetRectCenter(udg_rect02))
endfunction
function Trig_Bottom_Left_to_Orange_Conditions takes nothing returns boolean
if(not(GetOwningPlayer(GetTriggerUnit())==Player(6)))then
return false
endif
return true
endfunction
function Trig_Bottom_Left_to_Orange_Actions takes nothing returns nothing
call IssuePointOrderLocBJ(GetTriggerUnit(),"attack",GetRectCenter(udg_rect11))
endfunction
function Trig_Orange_to_Purple_Conditions takes nothing returns boolean
if(not(GetOwningPlayer(GetTriggerUnit())==Player(6)))then
return false
endif
return true
endfunction
function Trig_Orange_to_Purple_Actions takes nothing returns nothing
call IssuePointOrderLocBJ(GetTriggerUnit(),"attack",GetRectCenter(udg_rect12))
endfunction
function Trig_Purple_Death_Actions takes nothing returns nothing
call MoveRectToLoc(udg_rect12,GetRectCenter(udg_rect11))
endfunction
function Trig_Purple_to_Top_Left_Conditions takes nothing returns boolean
if(not(GetOwningPlayer(GetTriggerUnit())==Player(7)))then
return false
endif
return true
endfunction
function Trig_Purple_to_Top_Left_Actions takes nothing returns nothing
call IssuePointOrderLocBJ(GetTriggerUnit(),"attack",GetRectCenter(udg_rect26))
endfunction
function Trig_Top_Left_to_Top_Middle_Conditions takes nothing returns boolean
if(not(GetOwningPlayer(GetTriggerUnit())==Player(7)))then
return false
endif
return true
endfunction
function Trig_Top_Left_to_Top_Middle_Actions takes nothing returns nothing
call IssuePointOrderLocBJ(GetTriggerUnit(),"attack",GetRectCenter(udg_rect28))
endfunction
function Trig_Top_Middle_to_Top_Right_Conditions takes nothing returns boolean
if(not(GetOwningPlayer(GetTriggerUnit())==Player(7)))then
return false
endif
return true
endfunction
function Trig_Top_Middle_to_Top_Right_Actions takes nothing returns nothing
call IssuePointOrderLocBJ(GetTriggerUnit(),"attack",GetRectCenter(udg_rect29))
endfunction
function Trig_Top_Right_to_Red_Conditions takes nothing returns boolean
if(not(GetOwningPlayer(GetTriggerUnit())==Player(7)))then
return false
endif
return true
endfunction
function Trig_Top_Right_to_Red_Actions takes nothing returns nothing
call IssuePointOrderLocBJ(GetTriggerUnit(),"attack",GetRectCenter(udg_rect13))
endfunction
function Trig_Red_to_Teal_Conditions takes nothing returns boolean
if(not(GetOwningPlayer(GetTriggerUnit())==Player(7)))then
return false
endif
return true
endfunction
function Trig_Red_to_Teal_Actions takes nothing returns nothing
call IssuePointOrderLocBJ(GetTriggerUnit(),"attack",GetRectCenter(udg_rect23))
endfunction
function Trig_Yellow_to_Middle_Left_Conditions takes nothing returns boolean
if(not(GetOwningPlayer(GetTriggerUnit())==Player(7)))then
return false
endif
return true
endfunction
function Trig_Yellow_to_Middle_Left_Actions takes nothing returns nothing
call IssuePointOrderLocBJ(GetTriggerUnit(),"attack",GetRectCenter(udg_rect09))
endfunction
function Trig_Middle_Left_to_Middle_Conditions takes nothing returns boolean
if(not(GetOwningPlayer(GetTriggerUnit())==Player(7)))then
return false
endif
return true
endfunction
function Trig_Middle_Left_to_Middle_Actions takes nothing returns nothing
call IssuePointOrderLocBJ(GetTriggerUnit(),"attack",GetRectCenter(udg_rect08))
endfunction
function Trig_Middle_to_Middle_Right_Conditions takes nothing returns boolean
if(not(GetOwningPlayer(GetTriggerUnit())==Player(7)))then
return false
endif
return true
endfunction
function Trig_Middle_to_Middle_Right_Actions takes nothing returns nothing
call IssuePointOrderLocBJ(GetTriggerUnit(),"attack",GetRectCenter(udg_rect10))
endfunction
function Trig_Middle_Right_to_Blue_Conditions takes nothing returns boolean
if(not(GetOwningPlayer(GetTriggerUnit())==Player(7)))then
return false
endif
return true
endfunction
function Trig_Middle_Right_to_Blue_Actions takes nothing returns nothing
call IssuePointOrderLocBJ(GetTriggerUnit(),"attack",GetRectCenter(udg_rect01))
endfunction
function Trig_Blue_to_Red_Conditions takes nothing returns boolean
if(not(GetOwningPlayer(GetTriggerUnit())==Player(7)))then
return false
endif
return true
endfunction
function Trig_Blue_to_Red_Actions takes nothing returns nothing
call IssuePointOrderLocBJ(GetTriggerUnit(),"attack",GetRectCenter(udg_rect13))
endfunction
function Trig_Orange_to_Bottom_Left_Conditions takes nothing returns boolean
if(not(GetOwningPlayer(GetTriggerUnit())==Player(7)))then
return false
endif
return true
endfunction
function Trig_Orange_to_Bottom_Left_Actions takes nothing returns nothing
call IssuePointOrderLocBJ(GetTriggerUnit(),"attack",GetRectCenter(udg_rect02))
endfunction
function Trig_Bottom_Left_to_Bottom_Middle_Conditions takes nothing returns boolean
if(not(GetOwningPlayer(GetTriggerUnit())==Player(7)))then
return false
endif
return true
endfunction
function Trig_Bottom_Left_to_Bottom_Middle_Actions takes nothing returns nothing
call IssuePointOrderLocBJ(GetTriggerUnit(),"attack",GetRectCenter(udg_rect04))
endfunction
function Trig_Bottom_Middle_to_Bottom_Right_Conditions takes nothing returns boolean
if(not(GetOwningPlayer(GetTriggerUnit())==Player(7)))then
return false
endif
return true
endfunction
function Trig_Bottom_Middle_to_Bottom_Right_Actions takes nothing returns nothing
call IssuePointOrderLocBJ(GetTriggerUnit(),"attack",GetRectCenter(udg_rect05))
endfunction
function Trig_Bottom_Right_to_Teal_Conditions takes nothing returns boolean
if(not(GetOwningPlayer(GetTriggerUnit())==Player(7)))then
return false
endif
return true
endfunction
function Trig_Bottom_Right_to_Teal_Actions takes nothing returns nothing
call IssuePointOrderLocBJ(GetTriggerUnit(),"attack",GetRectCenter(udg_rect23))
endfunction
function Trig_Teal_to_Red_Conditions takes nothing returns boolean
if(not(GetOwningPlayer(GetTriggerUnit())==Player(7)))then
return false
endif
return true
endfunction
function Trig_Teal_to_Red_Actions takes nothing returns nothing
call IssuePointOrderLocBJ(GetTriggerUnit(),"attack",GetRectCenter(udg_rect13))
endfunction
function Trig_Red_Death_Actions takes nothing returns nothing
call MoveRectToLoc(udg_rect13,GetRectCenter(udg_rect23))
endfunction
function Trig_Fishery_Pond_T1_Func011001001 takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==Player(0))
endfunction
function Trig_Fishery_Pond_T1_Func011001002 takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==Player(1))
endfunction
function Trig_Fishery_Pond_T1_Func011001 takes nothing returns boolean
return GetBooleanOr(Trig_Fishery_Pond_T1_Func011001001(),Trig_Fishery_Pond_T1_Func011001002())
endfunction
function Trig_Fishery_Pond_T1_Func011002001 takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==Player(2))
endfunction
function Trig_Fishery_Pond_T1_Func011002002 takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==Player(6))
endfunction
function Trig_Fishery_Pond_T1_Func011002 takes nothing returns boolean
return GetBooleanOr(Trig_Fishery_Pond_T1_Func011002001(),Trig_Fishery_Pond_T1_Func011002002())
endfunction
function Trig_Fishery_Pond_T1_Conditions takes nothing returns boolean
if(not GetBooleanOr(Trig_Fishery_Pond_T1_Func011001(),Trig_Fishery_Pond_T1_Func011002()))then
return false
endif
return true
endfunction
function Trig_Fishery_Pond_T1_Actions takes nothing returns nothing
call PlaySoundBJ(udg_sound01)
call DisplayTextToForce(GetPlayersAll(),"Team 1 now owns the Fishery Pond. +10 gold every 30 sec.")
call SetUnitOwner(udg_unit03,Player(6),true)
call SetUnitOwner(udg_unit04,Player(6),true)
set udg_integer03=10
set udg_integer04=0
call EnableTrigger(udg_trigger65)
call EnableTrigger(udg_trigger66)
call DisableTrigger(udg_trigger67)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Fishery_Pond_T2_Func011001001 takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==Player(3))
endfunction
function Trig_Fishery_Pond_T2_Func011001002 takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==Player(4))
endfunction
function Trig_Fishery_Pond_T2_Func011001 takes nothing returns boolean
return GetBooleanOr(Trig_Fishery_Pond_T2_Func011001001(),Trig_Fishery_Pond_T2_Func011001002())
endfunction
function Trig_Fishery_Pond_T2_Func011002001 takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==Player(5))
endfunction
function Trig_Fishery_Pond_T2_Func011002002 takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==Player(7))
endfunction
function Trig_Fishery_Pond_T2_Func011002 takes nothing returns boolean
return GetBooleanOr(Trig_Fishery_Pond_T2_Func011002001(),Trig_Fishery_Pond_T2_Func011002002())
endfunction
function Trig_Fishery_Pond_T2_Conditions takes nothing returns boolean
if(not GetBooleanOr(Trig_Fishery_Pond_T2_Func011001(),Trig_Fishery_Pond_T2_Func011002()))then
return false
endif
return true
endfunction
function Trig_Fishery_Pond_T2_Actions takes nothing returns nothing
call PlaySoundBJ(udg_sound01)
call DisplayTextToForce(GetPlayersAll(),"Team 2 now owns the Fishery Pond. +10 gold every 30 sec.")
call SetUnitOwner(udg_unit03,Player(7),true)
call SetUnitOwner(udg_unit04,Player(7),true)
set udg_integer04=10
set udg_integer03=0
call EnableTrigger(udg_trigger64)
call EnableTrigger(udg_trigger67)
call DisableTrigger(udg_trigger66)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Owner_of_Fishery_T1_Actions takes nothing returns nothing
call AdjustPlayerStateBJ(10,Player(0),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(10,Player(1),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(10,Player(2),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function Trig_Owner_of_Fishery_T2_Actions takes nothing returns nothing
call AdjustPlayerStateBJ(10,Player(3),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(10,Player(4),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(10,Player(5),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function Trig_Waterfall_Springs_T1_Func010001001 takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==Player(0))
endfunction
function Trig_Waterfall_Springs_T1_Func010001002 takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==Player(1))
endfunction
function Trig_Waterfall_Springs_T1_Func010001 takes nothing returns boolean
return GetBooleanOr(Trig_Waterfall_Springs_T1_Func010001001(),Trig_Waterfall_Springs_T1_Func010001002())
endfunction
function Trig_Waterfall_Springs_T1_Func010002001 takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==Player(2))
endfunction
function Trig_Waterfall_Springs_T1_Func010002002 takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==Player(6))
endfunction
function Trig_Waterfall_Springs_T1_Func010002 takes nothing returns boolean
return GetBooleanOr(Trig_Waterfall_Springs_T1_Func010002001(),Trig_Waterfall_Springs_T1_Func010002002())
endfunction
function Trig_Waterfall_Springs_T1_Conditions takes nothing returns boolean
if(not GetBooleanOr(Trig_Waterfall_Springs_T1_Func010001(),Trig_Waterfall_Springs_T1_Func010002()))then
return false
endif
return true
endfunction
function Trig_Waterfall_Springs_T1_Actions takes nothing returns nothing
call PlaySoundBJ(udg_sound01)
call DisplayTextToForce(GetPlayersAll(),"Team 1 now owns the Waterfall Springs, +4 max food.")
call SetUnitOwner(udg_unit05,Player(6),true)
call SetUnitOwner(udg_unit06,Player(6),true)
call SetUnitOwner(udg_unit17,Player(0),true)
call SetUnitOwner(udg_unit16,Player(1),true)
call SetUnitOwner(udg_unit15,Player(2),true)
call EnableTrigger(udg_trigger69)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Waterfall_Springs_T2_Func010001001 takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==Player(3))
endfunction
function Trig_Waterfall_Springs_T2_Func010001002 takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==Player(4))
endfunction
function Trig_Waterfall_Springs_T2_Func010001 takes nothing returns boolean
return GetBooleanOr(Trig_Waterfall_Springs_T2_Func010001001(),Trig_Waterfall_Springs_T2_Func010001002())
endfunction
function Trig_Waterfall_Springs_T2_Func010002001 takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==Player(5))
endfunction
function Trig_Waterfall_Springs_T2_Func010002002 takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==Player(7))
endfunction
function Trig_Waterfall_Springs_T2_Func010002 takes nothing returns boolean
return GetBooleanOr(Trig_Waterfall_Springs_T2_Func010002001(),Trig_Waterfall_Springs_T2_Func010002002())
endfunction
function Trig_Waterfall_Springs_T2_Conditions takes nothing returns boolean
if(not GetBooleanOr(Trig_Waterfall_Springs_T2_Func010001(),Trig_Waterfall_Springs_T2_Func010002()))then
return false
endif
return true
endfunction
function Trig_Waterfall_Springs_T2_Actions takes nothing returns nothing
call PlaySoundBJ(udg_sound01)
call DisplayTextToForce(GetPlayersAll(),"Team 2 now owns the Waterfall Springs, +4 max food.")
call SetUnitOwner(udg_unit05,Player(7),true)
call SetUnitOwner(udg_unit06,Player(7),true)
call SetUnitOwner(udg_unit17,Player(3),true)
call SetUnitOwner(udg_unit16,Player(4),true)
call SetUnitOwner(udg_unit15,Player(5),true)
call EnableTrigger(udg_trigger68)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Flood_Plains_T1_Func010001001 takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==Player(0))
endfunction
function Trig_Flood_Plains_T1_Func010001002 takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==Player(1))
endfunction
function Trig_Flood_Plains_T1_Func010001 takes nothing returns boolean
return GetBooleanOr(Trig_Flood_Plains_T1_Func010001001(),Trig_Flood_Plains_T1_Func010001002())
endfunction
function Trig_Flood_Plains_T1_Func010002001 takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==Player(2))
endfunction
function Trig_Flood_Plains_T1_Func010002002 takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==Player(6))
endfunction
function Trig_Flood_Plains_T1_Func010002 takes nothing returns boolean
return GetBooleanOr(Trig_Flood_Plains_T1_Func010002001(),Trig_Flood_Plains_T1_Func010002002())
endfunction
function Trig_Flood_Plains_T1_Conditions takes nothing returns boolean
if(not GetBooleanOr(Trig_Flood_Plains_T1_Func010001(),Trig_Flood_Plains_T1_Func010002()))then
return false
endif
return true
endfunction
function Trig_Flood_Plains_T1_Actions takes nothing returns nothing
call PlaySoundBJ(udg_sound01)
call DisplayTextToForce(GetPlayersAll(),"Team 1 now owns the Flood Plains, special units under the Team's Control.")
call SetUnitOwner(udg_unit08,Player(6),true)
call SetUnitOwner(udg_unit07,Player(6),true)
call SetUnitOwner(udg_unit18,Player(0),true)
call SetUnitOwner(udg_unit19,Player(1),true)
call SetUnitOwner(udg_unit20,Player(2),true)
call EnableTrigger(udg_trigger71)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Flood_Plains_T2_Func011001001 takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==Player(3))
endfunction
function Trig_Flood_Plains_T2_Func011001002 takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==Player(4))
endfunction
function Trig_Flood_Plains_T2_Func011001 takes nothing returns boolean
return GetBooleanOr(Trig_Flood_Plains_T2_Func011001001(),Trig_Flood_Plains_T2_Func011001002())
endfunction
function Trig_Flood_Plains_T2_Func011002001 takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==Player(5))
endfunction
function Trig_Flood_Plains_T2_Func011002002 takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==Player(7))
endfunction
function Trig_Flood_Plains_T2_Func011002 takes nothing returns boolean
return GetBooleanOr(Trig_Flood_Plains_T2_Func011002001(),Trig_Flood_Plains_T2_Func011002002())
endfunction
function Trig_Flood_Plains_T2_Conditions takes nothing returns boolean
if(not GetBooleanOr(Trig_Flood_Plains_T2_Func011001(),Trig_Flood_Plains_T2_Func011002()))then
return false
endif
return true
endfunction
function Trig_Flood_Plains_T2_Actions takes nothing returns nothing
call PlaySoundBJ(udg_sound01)
call DisplayTextToForce(GetPlayersAll(),"Team 2 now owns the Flood Plains, special units under the Team's Control.")
call SetUnitOwner(udg_unit08,Player(7),true)
call SetUnitOwner(udg_unit07,Player(7),true)
call SetUnitOwner(udg_unit18,Player(3),true)
call SetUnitOwner(udg_unit19,Player(4),true)
call SetUnitOwner(udg_unit20,Player(5),true)
call EnableTrigger(udg_trigger70)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Win_T1_Func004001 takes nothing returns boolean
return(GetPlayerSlotState(Player(3))==PLAYER_SLOT_STATE_LEFT)
endfunction
function Trig_Win_T1_Func004002 takes nothing returns boolean
return(GetPlayerSlotState(Player(3))==PLAYER_SLOT_STATE_EMPTY)
endfunction
function Trig_Win_T1_Func005001 takes nothing returns boolean
return(GetPlayerSlotState(Player(4))==PLAYER_SLOT_STATE_LEFT)
endfunction
function Trig_Win_T1_Func005002 takes nothing returns boolean
return(GetPlayerSlotState(Player(4))==PLAYER_SLOT_STATE_EMPTY)
endfunction
function Trig_Win_T1_Func006001 takes nothing returns boolean
return(GetPlayerSlotState(Player(5))==PLAYER_SLOT_STATE_LEFT)
endfunction
function Trig_Win_T1_Func006002 takes nothing returns boolean
return(GetPlayerSlotState(Player(5))==PLAYER_SLOT_STATE_EMPTY)
endfunction
function Trig_Win_T1_Conditions takes nothing returns boolean
if(not GetBooleanOr(Trig_Win_T1_Func004001(),Trig_Win_T1_Func004002()))then
return false
endif
if(not GetBooleanOr(Trig_Win_T1_Func005001(),Trig_Win_T1_Func005002()))then
return false
endif
if(not GetBooleanOr(Trig_Win_T1_Func006001(),Trig_Win_T1_Func006002()))then
return false
endif
return true
endfunction
function Trig_Win_T1_Actions takes nothing returns nothing
call CustomVictoryBJ(Player(0),true,true)
call CustomVictoryBJ(Player(1),true,true)
call CustomVictoryBJ(Player(2),true,true)
endfunction
function Trig_Win_T2_Func005001 takes nothing returns boolean
return(GetPlayerSlotState(Player(0))==PLAYER_SLOT_STATE_LEFT)
endfunction
function Trig_Win_T2_Func005002 takes nothing returns boolean
return(GetPlayerSlotState(Player(0))==PLAYER_SLOT_STATE_EMPTY)
endfunction
function Trig_Win_T2_Func006001 takes nothing returns boolean
return(GetPlayerSlotState(Player(1))==PLAYER_SLOT_STATE_LEFT)
endfunction
function Trig_Win_T2_Func006002 takes nothing returns boolean
return(GetPlayerSlotState(Player(1))==PLAYER_SLOT_STATE_EMPTY)
endfunction
function Trig_Win_T2_Func007001 takes nothing returns boolean
return(GetPlayerSlotState(Player(2))==PLAYER_SLOT_STATE_LEFT)
endfunction
function Trig_Win_T2_Func007002 takes nothing returns boolean
return(GetPlayerSlotState(Player(2))==PLAYER_SLOT_STATE_EMPTY)
endfunction
function Trig_Win_T2_Conditions takes nothing returns boolean
if(not GetBooleanOr(Trig_Win_T2_Func005001(),Trig_Win_T2_Func005002()))then
return false
endif
if(not GetBooleanOr(Trig_Win_T2_Func006001(),Trig_Win_T2_Func006002()))then
return false
endif
if(not GetBooleanOr(Trig_Win_T2_Func007001(),Trig_Win_T2_Func007002()))then
return false
endif
return true
endfunction
function Trig_Win_T2_Actions takes nothing returns nothing
call CustomVictoryBJ(Player(3),true,true)
call CustomVictoryBJ(Player(4),true,true)
call CustomVictoryBJ(Player(5),true,true)
endfunction
function Trig_Lose_Red_Func002002 takes nothing returns nothing
call ExplodeUnitBJ(GetEnumUnit())
endfunction
function Trig_Lose_Red_Actions takes nothing returns nothing
call CustomDefeatBJ(Player(0),"You Lose!")
call ForGroupBJ(GetUnitsInRectOfPlayer(GetEntireMapRect(),Player(0)),function Trig_Lose_Red_Func002002)
endfunction
function Trig_Lose_Blue_Func003002 takes nothing returns nothing
call ExplodeUnitBJ(GetEnumUnit())
endfunction
function Trig_Lose_Blue_Actions takes nothing returns nothing
call CustomDefeatBJ(Player(1),"You Lose!")
call ForGroupBJ(GetUnitsInRectOfPlayer(GetEntireMapRect(),Player(1)),function Trig_Lose_Blue_Func003002)
endfunction
function Trig_Lose_Teal_Func003002 takes nothing returns nothing
call ExplodeUnitBJ(GetEnumUnit())
endfunction
function Trig_Lose_Teal_Actions takes nothing returns nothing
call CustomDefeatBJ(Player(2),"You Lose!")
call ForGroupBJ(GetUnitsInRectOfPlayer(GetEntireMapRect(),Player(2)),function Trig_Lose_Teal_Func003002)
endfunction
function Trig_Lose_Purple_Func003002 takes nothing returns nothing
call ExplodeUnitBJ(GetEnumUnit())
endfunction
function Trig_Lose_Purple_Actions takes nothing returns nothing
call CustomDefeatBJ(Player(3),"You Lose!")
call ForGroupBJ(GetUnitsInRectOfPlayer(GetEntireMapRect(),Player(3)),function Trig_Lose_Purple_Func003002)
endfunction
function Trig_Lose_Yellow_Func003002 takes nothing returns nothing
call ExplodeUnitBJ(GetEnumUnit())
endfunction
function Trig_Lose_Yellow_Actions takes nothing returns nothing
call CustomDefeatBJ(Player(4),"You Lose!")
call ForGroupBJ(GetUnitsInRectOfPlayer(GetEntireMapRect(),Player(4)),function Trig_Lose_Yellow_Func003002)
endfunction
function Trig_Lose_Orange_Func003002 takes nothing returns nothing
call ExplodeUnitBJ(GetEnumUnit())
endfunction
function Trig_Lose_Orange_Actions takes nothing returns nothing
call CustomDefeatBJ(Player(5),"You Lose!")
call ForGroupBJ(GetUnitsInRectOfPlayer(GetEntireMapRect(),Player(5)),function Trig_Lose_Orange_Func003002)
endfunction
function Trig_Red_Leaves_Game_Conditions takes nothing returns boolean
if(not(GetPlayerSlotState(Player(0))==PLAYER_SLOT_STATE_LEFT))then
return false
endif
return true
endfunction
function Trig_Red_Leaves_Game_Func001002 takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(1),true)
endfunction
function Trig_Red_Leaves_Game_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRectOfPlayer(GetEntireMapRect(),Player(0)),function Trig_Red_Leaves_Game_Func001002)
call AdjustPlayerStateBJ(GetPlayerState(Player(0),PLAYER_STATE_RESOURCE_GOLD),Player(1),PLAYER_STATE_RESOURCE_GOLD)
call SetPlayerStateBJ(Player(0),PLAYER_STATE_RESOURCE_GOLD,0)
call DisplayTextToForce(GetPlayersAll(),(GetPlayerName(Player(0))+(" has left the game. All gold and property will be transferred to "+GetPlayerName(Player(1)))))
call EnableTrigger(udg_trigger86)
call DisableTrigger(udg_trigger06)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Blue_Leaves_Game_Conditions takes nothing returns boolean
if(not(GetPlayerSlotState(Player(1))==PLAYER_SLOT_STATE_LEFT))then
return false
endif
return true
endfunction
function Trig_Blue_Leaves_Game_Func001002 takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(2),true)
endfunction
function Trig_Blue_Leaves_Game_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRectOfPlayer(GetEntireMapRect(),Player(1)),function Trig_Blue_Leaves_Game_Func001002)
call AdjustPlayerStateBJ(GetPlayerState(Player(1),PLAYER_STATE_RESOURCE_GOLD),Player(2),PLAYER_STATE_RESOURCE_GOLD)
call SetPlayerStateBJ(Player(1),PLAYER_STATE_RESOURCE_GOLD,0)
call DisplayTextToForce(GetPlayersAll(),(GetPlayerName(Player(1))+(" has left the game. All gold and property will be transferred to "+GetPlayerName(Player(2)))))
call EnableTrigger(udg_trigger87)
call DisableTrigger(udg_trigger07)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Teal_Leaves_Game_Conditions takes nothing returns boolean
if(not(GetPlayerSlotState(Player(2))==PLAYER_SLOT_STATE_LEFT))then
return false
endif
return true
endfunction
function Trig_Teal_Leaves_Game_Func001002 takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(0),true)
endfunction
function Trig_Teal_Leaves_Game_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRectOfPlayer(GetEntireMapRect(),Player(2)),function Trig_Teal_Leaves_Game_Func001002)
call AdjustPlayerStateBJ(GetPlayerState(Player(2),PLAYER_STATE_RESOURCE_GOLD),Player(0),PLAYER_STATE_RESOURCE_GOLD)
call SetPlayerStateBJ(Player(2),PLAYER_STATE_RESOURCE_GOLD,0)
call DisplayTextToForce(GetPlayersAll(),(GetPlayerName(Player(2))+(" has left the game. All gold and property will be transferred to "+GetPlayerName(Player(0)))))
call EnableTrigger(udg_trigger88)
call DisableTrigger(udg_trigger08)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Purple_Leaves_Game_Conditions takes nothing returns boolean
if(not(GetPlayerSlotState(Player(3))==PLAYER_SLOT_STATE_LEFT))then
return false
endif
return true
endfunction
function Trig_Purple_Leaves_Game_Func001002 takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(4),true)
endfunction
function Trig_Purple_Leaves_Game_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRectOfPlayer(GetEntireMapRect(),Player(3)),function Trig_Purple_Leaves_Game_Func001002)
call AdjustPlayerStateBJ(GetPlayerState(Player(3),PLAYER_STATE_RESOURCE_GOLD),Player(4),PLAYER_STATE_RESOURCE_GOLD)
call SetPlayerStateBJ(Player(3),PLAYER_STATE_RESOURCE_GOLD,0)
call DisplayTextToForce(GetPlayersAll(),(GetPlayerName(Player(3))+(" has left the game. All gold and property will be transferred to "+GetPlayerName(Player(4)))))
call EnableTrigger(udg_trigger89)
call DisableTrigger(udg_trigger09)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Yellow_Leaves_Game_Conditions takes nothing returns boolean
if(not(GetPlayerSlotState(Player(4))==PLAYER_SLOT_STATE_LEFT))then
return false
endif
return true
endfunction
function Trig_Yellow_Leaves_Game_Func001002 takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(5),true)
endfunction
function Trig_Yellow_Leaves_Game_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRectOfPlayer(GetEntireMapRect(),Player(4)),function Trig_Yellow_Leaves_Game_Func001002)
call AdjustPlayerStateBJ(GetPlayerState(Player(4),PLAYER_STATE_RESOURCE_GOLD),Player(5),PLAYER_STATE_RESOURCE_GOLD)
call SetPlayerStateBJ(Player(4),PLAYER_STATE_RESOURCE_GOLD,0)
call DisplayTextToForce(GetPlayersAll(),(GetPlayerName(Player(4))+(" has left the game. All gold and property will be transferred to "+GetPlayerName(Player(5)))))
call EnableTrigger(udg_trigger90)
call DisableTrigger(udg_trigger10)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Orange_Leaves_Game_Conditions takes nothing returns boolean
if(not(GetPlayerSlotState(Player(5))==PLAYER_SLOT_STATE_LEFT))then
return false
endif
return true
endfunction
function Trig_Orange_Leaves_Game_Func001002 takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(3),true)
endfunction
function Trig_Orange_Leaves_Game_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRectOfPlayer(GetEntireMapRect(),Player(5)),function Trig_Orange_Leaves_Game_Func001002)
call AdjustPlayerStateBJ(GetPlayerState(Player(5),PLAYER_STATE_RESOURCE_GOLD),Player(3),PLAYER_STATE_RESOURCE_GOLD)
call SetPlayerStateBJ(Player(5),PLAYER_STATE_RESOURCE_GOLD,0)
call DisplayTextToForce(GetPlayersAll(),(GetPlayerName(Player(5))+(" has left the game. All gold and property will be transferred to "+GetPlayerName(Player(3)))))
call EnableTrigger(udg_trigger91)
call DisableTrigger(udg_trigger11)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Red_Leaving_Income_Func001002 takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(1),true)
endfunction
function Trig_Red_Leaving_Income_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRectOfPlayer(GetEntireMapRect(),Player(0)),function Trig_Red_Leaving_Income_Func001002)
call AdjustPlayerStateBJ(100,Player(1),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(GetPlayerState(Player(0),PLAYER_STATE_RESOURCE_GOLD),Player(1),PLAYER_STATE_RESOURCE_GOLD)
call SetPlayerStateBJ(Player(0),PLAYER_STATE_RESOURCE_GOLD,0)
endfunction
function Trig_Blue_Leaving_Income_Func001002 takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(2),true)
endfunction
function Trig_Blue_Leaving_Income_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRectOfPlayer(GetEntireMapRect(),Player(1)),function Trig_Blue_Leaving_Income_Func001002)
call AdjustPlayerStateBJ(100,Player(2),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(GetPlayerState(Player(1),PLAYER_STATE_RESOURCE_GOLD),Player(2),PLAYER_STATE_RESOURCE_GOLD)
call SetPlayerStateBJ(Player(1),PLAYER_STATE_RESOURCE_GOLD,0)
endfunction
function Trig_Teal_Leaving_Income_Func001002 takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(0),true)
endfunction
function Trig_Teal_Leaving_Income_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRectOfPlayer(GetEntireMapRect(),Player(2)),function Trig_Teal_Leaving_Income_Func001002)
call AdjustPlayerStateBJ(100,Player(0),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(GetPlayerState(Player(2),PLAYER_STATE_RESOURCE_GOLD),Player(0),PLAYER_STATE_RESOURCE_GOLD)
call SetPlayerStateBJ(Player(2),PLAYER_STATE_RESOURCE_GOLD,0)
endfunction
function Trig_Purple_Leaving_Income_Func001002 takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(4),true)
endfunction
function Trig_Purple_Leaving_Income_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRectOfPlayer(GetEntireMapRect(),Player(3)),function Trig_Purple_Leaving_Income_Func001002)
call AdjustPlayerStateBJ(100,Player(4),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(GetPlayerState(Player(3),PLAYER_STATE_RESOURCE_GOLD),Player(4),PLAYER_STATE_RESOURCE_GOLD)
call SetPlayerStateBJ(Player(3),PLAYER_STATE_RESOURCE_GOLD,0)
endfunction
function Trig_Yellow_Leaving_Income_Func001002 takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(5),true)
endfunction
function Trig_Yellow_Leaving_Income_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRectOfPlayer(GetEntireMapRect(),Player(4)),function Trig_Yellow_Leaving_Income_Func001002)
call AdjustPlayerStateBJ(100,Player(5),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(GetPlayerState(Player(4),PLAYER_STATE_RESOURCE_GOLD),Player(5),PLAYER_STATE_RESOURCE_GOLD)
call SetPlayerStateBJ(Player(4),PLAYER_STATE_RESOURCE_GOLD,0)
endfunction
function Trig_Orange_Leaving_Income_Func001002 takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(3),true)
endfunction
function Trig_Orange_Leaving_Income_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRectOfPlayer(GetEntireMapRect(),Player(5)),function Trig_Orange_Leaving_Income_Func001002)
call AdjustPlayerStateBJ(100,Player(3),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(GetPlayerState(Player(5),PLAYER_STATE_RESOURCE_GOLD),Player(3),PLAYER_STATE_RESOURCE_GOLD)
call SetPlayerStateBJ(Player(5),PLAYER_STATE_RESOURCE_GOLD,0)
endfunction
function Trig_Fortified_Watch_Tower_T1_Conditions takes nothing returns boolean
if(not(GetUnitTypeId(GetConstructedStructure())=='n005'))then
return false
endif
return true
endfunction
function Trig_Fortified_Watch_Tower_T1_Func001002 takes nothing returns nothing
call ReplaceUnitBJ(GetEnumUnit(),'h00G',bj_UNIT_STATE_METHOD_MAXIMUM)
endfunction
function Trig_Fortified_Watch_Tower_T1_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(Player(6),'o000'),function Trig_Fortified_Watch_Tower_T1_Func001002)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Fortified_Watch_Tower_T2_Conditions takes nothing returns boolean
if(not(GetUnitTypeId(GetConstructedStructure())=='n005'))then
return false
endif
return true
endfunction
function Trig_Fortified_Watch_Tower_T2_Func001002 takes nothing returns nothing
call ReplaceUnitBJ(GetEnumUnit(),'h00G',bj_UNIT_STATE_METHOD_MAXIMUM)
endfunction
function Trig_Fortified_Watch_Tower_T2_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(Player(7),'o000'),function Trig_Fortified_Watch_Tower_T2_Func001002)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Guard_Tower_T1_Conditions takes nothing returns boolean
if(not(GetUnitTypeId(GetConstructedStructure())=='h00S'))then
return false
endif
return true
endfunction
function Trig_Guard_Tower_T1_Func001002 takes nothing returns nothing
call ReplaceUnitBJ(GetEnumUnit(),'h00N',bj_UNIT_STATE_METHOD_MAXIMUM)
endfunction
function Trig_Guard_Tower_T1_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(Player(6),'h00G'),function Trig_Guard_Tower_T1_Func001002)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Guard_Tower_T2_Conditions takes nothing returns boolean
if(not(GetUnitTypeId(GetConstructedStructure())=='h00S'))then
return false
endif
return true
endfunction
function Trig_Guard_Tower_T2_Func001002 takes nothing returns nothing
call ReplaceUnitBJ(GetEnumUnit(),'h00N',bj_UNIT_STATE_METHOD_MAXIMUM)
endfunction
function Trig_Guard_Tower_T2_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(Player(7),'h00G'),function Trig_Guard_Tower_T2_Func001002)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Cannon_Tower_T1_Conditions takes nothing returns boolean
if(not(GetUnitTypeId(GetConstructedStructure())=='h00Y'))then
return false
endif
return true
endfunction
function Trig_Cannon_Tower_T1_Func001002 takes nothing returns nothing
call ReplaceUnitBJ(GetEnumUnit(),'h010',bj_UNIT_STATE_METHOD_MAXIMUM)
endfunction
function Trig_Cannon_Tower_T1_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(Player(6),'h00N'),function Trig_Cannon_Tower_T1_Func001002)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Cannon_Tower_T2_Conditions takes nothing returns boolean
if(not(GetUnitTypeId(GetConstructedStructure())=='h00Y'))then
return false
endif
return true
endfunction
function Trig_Cannon_Tower_T2_Func001002 takes nothing returns nothing
call ReplaceUnitBJ(GetEnumUnit(),'h010',bj_UNIT_STATE_METHOD_MAXIMUM)
endfunction
function Trig_Cannon_Tower_T2_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(Player(7),'h00N'),function Trig_Cannon_Tower_T2_Func001002)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Military_Defense_T1_Conditions takes nothing returns boolean
if(not(GetUnitTypeId(GetConstructedStructure())=='o006'))then
return false
endif
return true
endfunction
function Trig_Military_Defense_T1_Func001002 takes nothing returns nothing
call ReplaceUnitBJ(GetEnumUnit(),'h019',bj_UNIT_STATE_METHOD_MAXIMUM)
endfunction
function Trig_Military_Defense_T1_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(Player(6),'h010'),function Trig_Military_Defense_T1_Func001002)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Military_Defense_T2_Conditions takes nothing returns boolean
if(not(GetUnitTypeId(GetConstructedStructure())=='o006'))then
return false
endif
return true
endfunction
function Trig_Military_Defense_T2_Func001002 takes nothing returns nothing
call ReplaceUnitBJ(GetEnumUnit(),'h019',bj_UNIT_STATE_METHOD_MAXIMUM)
endfunction
function Trig_Military_Defense_T2_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(Player(7),'h010'),function Trig_Military_Defense_T2_Func001002)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Artillery_Turret_T1_Conditions takes nothing returns boolean
if(not(GetUnitTypeId(GetConstructedStructure())=='h01M'))then
return false
endif
return true
endfunction
function Trig_Artillery_Turret_T1_Func001002 takes nothing returns nothing
call ReplaceUnitBJ(GetEnumUnit(),'h01K',bj_UNIT_STATE_METHOD_MAXIMUM)
endfunction
function Trig_Artillery_Turret_T1_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(Player(6),'h019'),function Trig_Artillery_Turret_T1_Func001002)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Artillery_Turret_T2_Conditions takes nothing returns boolean
if(not(GetUnitTypeId(GetConstructedStructure())=='h01M'))then
return false
endif
return true
endfunction
function Trig_Artillery_Turret_T2_Func001002 takes nothing returns nothing
call ReplaceUnitBJ(GetEnumUnit(),'h01K',bj_UNIT_STATE_METHOD_MAXIMUM)
endfunction
function Trig_Artillery_Turret_T2_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(Player(7),'h019'),function Trig_Artillery_Turret_T2_Func001002)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Obelisk_Conditions takes nothing returns boolean
if(not(GetUnitTypeId(GetConstructedStructure())=='h00K'))then
return false
endif
return true
endfunction
function Trig_Obelisk_Func001001002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00K')
endfunction
function Trig_Obelisk_Func001002 takes nothing returns nothing
call AdjustPlayerStateBJ(700,GetOwningPlayer(GetEnumUnit()),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function Trig_Obelisk_Func003001002001 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00K')
endfunction
function Trig_Obelisk_Func003001002002 takes nothing returns boolean
return(GetUnitStateSwap(UNIT_STATE_LIFE,GetFilterUnit())<950.00)
endfunction
function Trig_Obelisk_Func003001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Obelisk_Func003001002001(),Trig_Obelisk_Func003001002002())
endfunction
function Trig_Obelisk_Func003002 takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Trig_Obelisk_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Obelisk_Func001001002)),function Trig_Obelisk_Func001002)
call AdjustPlayerStateBJ(-700,GetOwningPlayer(GetConstructedStructure()),PLAYER_STATE_RESOURCE_GOLD)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Obelisk_Func003001002)),function Trig_Obelisk_Func003002)
call DisplayTextToForce(GetPlayersAll(),"Ancient Obelisk has been created by a player in the game. The structure can no longer be built.")
call EnableTrigger(udg_trigger103)
call EnableTrigger(udg_trigger104)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Obelisk_Effect_Func001002001 takes nothing returns boolean
return(GetUnitTypeId(GetEnumUnit())=='h00K')
endfunction
function Trig_Obelisk_Effect_Func001002 takes nothing returns nothing
if(Trig_Obelisk_Effect_Func001002001())then
call AdjustPlayerStateBJ(10,GetOwningPlayer(GetEnumUnit()),PLAYER_STATE_RESOURCE_GOLD)
else
call DoNothing()
endif
endfunction
function Trig_Obelisk_Effect_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRectAll(GetEntireMapRect()),function Trig_Obelisk_Effect_Func001002)
endfunction
function Trig_Single_Obelisk_Conditions takes nothing returns boolean
if(not(GetUnitTypeId(GetConstructingStructure())=='h00K'))then
return false
endif
return true
endfunction
function Trig_Single_Obelisk_Func004001001 takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==GetFilterPlayer())
endfunction
function Trig_Single_Obelisk_Actions takes nothing returns nothing
call AdjustPlayerStateBJ(700,GetOwningPlayer(GetConstructingStructure()),PLAYER_STATE_RESOURCE_GOLD)
call RemoveUnit(GetConstructingStructure())
call DisplayTextToForce(GetPlayersMatching(Condition(function Trig_Single_Obelisk_Func004001001)),"Only one of every type of wonder may be built on a map at a time.")
endfunction
function Trig_Great_Wall_Conditions takes nothing returns boolean
if(not(GetUnitTypeId(GetConstructedStructure())=='h00M'))then
return false
endif
return true
endfunction
function Trig_Great_Wall_Func001001002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00M')
endfunction
function Trig_Great_Wall_Func001002 takes nothing returns nothing
call AdjustPlayerStateBJ(700,GetOwningPlayer(GetEnumUnit()),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function Trig_Great_Wall_Func003001002001 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00M')
endfunction
function Trig_Great_Wall_Func003001002002 takes nothing returns boolean
return(GetUnitStateSwap(UNIT_STATE_LIFE,GetFilterUnit())<1950.00)
endfunction
function Trig_Great_Wall_Func003001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Great_Wall_Func003001002001(),Trig_Great_Wall_Func003001002002())
endfunction
function Trig_Great_Wall_Func003002 takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Trig_Great_Wall_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Great_Wall_Func001001002)),function Trig_Great_Wall_Func001002)
call AdjustPlayerStateBJ(-700,GetOwningPlayer(GetConstructedStructure()),PLAYER_STATE_RESOURCE_GOLD)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Great_Wall_Func003001002)),function Trig_Great_Wall_Func003002)
call DisplayTextToForce(GetPlayersAll(),"Great Wall has been created by a player in the game. The structure can no longer be built.")
call EnableTrigger(udg_trigger106)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Single_Great_Wall_Conditions takes nothing returns boolean
if(not(GetUnitTypeId(GetConstructingStructure())=='h00M'))then
return false
endif
return true
endfunction
function Trig_Single_Great_Wall_Func010001001 takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==GetFilterPlayer())
endfunction
function Trig_Single_Great_Wall_Actions takes nothing returns nothing
call AdjustPlayerStateBJ(700,GetOwningPlayer(GetConstructingStructure()),PLAYER_STATE_RESOURCE_GOLD)
call RemoveUnit(GetConstructingStructure())
call DisplayTextToForce(GetPlayersMatching(Condition(function Trig_Single_Great_Wall_Func010001001)),"Only one of every type of wonder may be built on a map at a time.")
endfunction
function Trig_Guarded_Waygate_Conditions takes nothing returns boolean
if(not(GetUnitTypeId(GetConstructedStructure())=='h00U'))then
return false
endif
return true
endfunction
function Trig_Guarded_Waygate_Func001001002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00U')
endfunction
function Trig_Guarded_Waygate_Func001002 takes nothing returns nothing
call AdjustPlayerStateBJ(1500,GetOwningPlayer(GetEnumUnit()),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function Trig_Guarded_Waygate_Func003001002001 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00U')
endfunction
function Trig_Guarded_Waygate_Func003001002002 takes nothing returns boolean
return(GetUnitStateSwap(UNIT_STATE_LIFE,GetFilterUnit())<1450.00)
endfunction
function Trig_Guarded_Waygate_Func003001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Guarded_Waygate_Func003001002001(),Trig_Guarded_Waygate_Func003001002002())
endfunction
function Trig_Guarded_Waygate_Func003002 takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Trig_Guarded_Waygate_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Guarded_Waygate_Func001001002)),function Trig_Guarded_Waygate_Func001002)
call AdjustPlayerStateBJ(-1500,GetOwningPlayer(GetConstructedStructure()),PLAYER_STATE_RESOURCE_GOLD)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Guarded_Waygate_Func003001002)),function Trig_Guarded_Waygate_Func003002)
call DisplayTextToForce(GetPlayersAll(),"Guarded Waygate has been created by a player in the game. The structure can no longer be built.")
call EnableTrigger(udg_trigger108)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Single_Guarded_Waygate_Conditions takes nothing returns boolean
if(not(GetUnitTypeId(GetConstructingStructure())=='h00U'))then
return false
endif
return true
endfunction
function Trig_Single_Guarded_Waygate_Func010001001 takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==GetFilterPlayer())
endfunction
function Trig_Single_Guarded_Waygate_Actions takes nothing returns nothing
call AdjustPlayerStateBJ(1500,GetOwningPlayer(GetConstructingStructure()),PLAYER_STATE_RESOURCE_GOLD)
call RemoveUnit(GetConstructingStructure())
call DisplayTextToForce(GetPlayersMatching(Condition(function Trig_Single_Guarded_Waygate_Func010001001)),"Only one of every type of wonder may be built on a map at a time.")
endfunction
function Trig_The_Hub_Conditions takes nothing returns boolean
if(not(GetUnitTypeId(GetConstructedStructure())=='h011'))then
return false
endif
return true
endfunction
function Trig_The_Hub_Func001001002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h011')
endfunction
function Trig_The_Hub_Func001002 takes nothing returns nothing
call AdjustPlayerStateBJ(2000,GetOwningPlayer(GetEnumUnit()),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function Trig_The_Hub_Func003001002001 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h011')
endfunction
function Trig_The_Hub_Func003001002002 takes nothing returns boolean
return(GetUnitStateSwap(UNIT_STATE_LIFE,GetFilterUnit())<1450.00)
endfunction
function Trig_The_Hub_Func003001002 takes nothing returns boolean
return GetBooleanAnd(Trig_The_Hub_Func003001002001(),Trig_The_Hub_Func003001002002())
endfunction
function Trig_The_Hub_Func003002 takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Trig_The_Hub_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_The_Hub_Func001001002)),function Trig_The_Hub_Func001002)
call AdjustPlayerStateBJ(-2000,GetOwningPlayer(GetConstructedStructure()),PLAYER_STATE_RESOURCE_GOLD)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_The_Hub_Func003001002)),function Trig_The_Hub_Func003002)
call DisplayTextToForce(GetPlayersAll(),"The Hub has been created by a player in the game. The structure can no longer be built.")
call EnableTrigger(udg_trigger111)
call EnableTrigger(udg_trigger110)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_The_Hub_Effect_Func001002001 takes nothing returns boolean
return(GetUnitTypeId(GetEnumUnit())=='h011')
endfunction
function Trig_The_Hub_Effect_Func001002 takes nothing returns nothing
if(Trig_The_Hub_Effect_Func001002001())then
call AdjustPlayerStateBJ(100,GetOwningPlayer(GetEnumUnit()),PLAYER_STATE_RESOURCE_GOLD)
else
call DoNothing()
endif
endfunction
function Trig_The_Hub_Effect_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRectAll(GetEntireMapRect()),function Trig_The_Hub_Effect_Func001002)
endfunction
function Trig_Single_The_Hub_Conditions takes nothing returns boolean
if(not(GetUnitTypeId(GetConstructingStructure())=='h011'))then
return false
endif
return true
endfunction
function Trig_Single_The_Hub_Func010001001 takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==GetFilterPlayer())
endfunction
function Trig_Single_The_Hub_Actions takes nothing returns nothing
call AdjustPlayerStateBJ(2000,GetOwningPlayer(GetConstructingStructure()),PLAYER_STATE_RESOURCE_GOLD)
call RemoveUnit(GetConstructingStructure())
call DisplayTextToForce(GetPlayersMatching(Condition(function Trig_Single_The_Hub_Func010001001)),"Only one of every type of wonder may be built on a map at a time.")
endfunction
function Trig_Hero_Dueling_Grounds_Conditions takes nothing returns boolean
if(not(GetUnitTypeId(GetConstructedStructure())=='o005'))then
return false
endif
return true
endfunction
function Trig_Hero_Dueling_Grounds_Func001001002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='o005')
endfunction
function Trig_Hero_Dueling_Grounds_Func001002 takes nothing returns nothing
call AdjustPlayerStateBJ(2000,GetOwningPlayer(GetEnumUnit()),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function Trig_Hero_Dueling_Grounds_Func003001002001 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='o005')
endfunction
function Trig_Hero_Dueling_Grounds_Func003001002002 takes nothing returns boolean
return(GetUnitStateSwap(UNIT_STATE_LIFE,GetFilterUnit())<2450.00)
endfunction
function Trig_Hero_Dueling_Grounds_Func003001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Hero_Dueling_Grounds_Func003001002001(),Trig_Hero_Dueling_Grounds_Func003001002002())
endfunction
function Trig_Hero_Dueling_Grounds_Func003002 takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Trig_Hero_Dueling_Grounds_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Hero_Dueling_Grounds_Func001001002)),function Trig_Hero_Dueling_Grounds_Func001002)
call AdjustPlayerStateBJ(-2000,GetOwningPlayer(GetConstructedStructure()),PLAYER_STATE_RESOURCE_GOLD)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Hero_Dueling_Grounds_Func003001002)),function Trig_Hero_Dueling_Grounds_Func003002)
call DisplayTextToForce(GetPlayersAll(),"The Hero Dueling Grounds has been created by a player in the game. The structure can no longer be built.")
call EnableTrigger(udg_trigger113)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Single_Hero_Dueling_Grounds_Conditions takes nothing returns boolean
if(not(GetUnitTypeId(GetConstructingStructure())=='o005'))then
return false
endif
return true
endfunction
function Trig_Single_Hero_Dueling_Grounds_Func010001001 takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==GetFilterPlayer())
endfunction
function Trig_Single_Hero_Dueling_Grounds_Actions takes nothing returns nothing
call AdjustPlayerStateBJ(2000,GetOwningPlayer(GetConstructingStructure()),PLAYER_STATE_RESOURCE_GOLD)
call RemoveUnit(GetConstructingStructure())
call DisplayTextToForce(GetPlayersMatching(Condition(function Trig_Single_Hero_Dueling_Grounds_Func010001001)),"Only one of every type of wonder may be built on a map at a time.")
endfunction
function Trig_Hero_Dueling_Grounds_Effect_Conditions takes nothing returns boolean
if(not(GetUnitTypeId(GetConstructedStructure())=='o005'))then
return false
endif
if(not(CountUnitsInGroup(GetUnitsOfPlayerAndTypeId(GetOwningPlayer(GetConstructedStructure()),'h00I'))==1))then
return false
endif
return true
endfunction
function Trig_Hero_Dueling_Grounds_Effect_Func005001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Hero_Dueling_Grounds_Effect_Func005001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='o005')
endfunction
function Trig_Hero_Dueling_Grounds_Effect_Func005001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Hero_Dueling_Grounds_Effect_Func005001002001(),Trig_Hero_Dueling_Grounds_Effect_Func005001002002())
endfunction
function Trig_Hero_Dueling_Grounds_Effect_Func005002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'O007',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Hero_Dueling_Grounds_Effect_Func006001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Hero_Dueling_Grounds_Effect_Func006001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='o005')
endfunction
function Trig_Hero_Dueling_Grounds_Effect_Func006001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Hero_Dueling_Grounds_Effect_Func006001002001(),Trig_Hero_Dueling_Grounds_Effect_Func006001002002())
endfunction
function Trig_Hero_Dueling_Grounds_Effect_Func006002 takes nothing returns nothing
call CreateNUnitsAtLoc(1,'O007',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Hero_Dueling_Grounds_Effect_Actions takes nothing returns nothing
call TriggerSleepAction(1.00)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Hero_Dueling_Grounds_Effect_Func005001002)),function Trig_Hero_Dueling_Grounds_Effect_Func005002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Hero_Dueling_Grounds_Effect_Func006001002)),function Trig_Hero_Dueling_Grounds_Effect_Func006002)
set udg_unit01=GetLastCreatedUnit()
call EnableTrigger(udg_trigger115)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Hero_Dueling_Grounds_Revive_Conditions takes nothing returns boolean
if(not(GetDyingUnit()==udg_unit01))then
return false
endif
return true
endfunction
function Trig_Hero_Dueling_Grounds_Revive_Func002001002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='o005')
endfunction
function Trig_Hero_Dueling_Grounds_Revive_Func002002 takes nothing returns nothing
call ReviveHeroLoc(GetDyingUnit(),GetUnitLoc(GetEnumUnit()),true)
endfunction
function Trig_Hero_Dueling_Grounds_Revive_Actions takes nothing returns nothing
call TriggerSleepAction(60.00)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Hero_Dueling_Grounds_Revive_Func002001002)),function Trig_Hero_Dueling_Grounds_Revive_Func002002)
endfunction
function Trig_Weapon_Arsenal_Conditions takes nothing returns boolean
if(not(GetUnitTypeId(GetConstructedStructure())=='h01O'))then
return false
endif
return true
endfunction
function Trig_Weapon_Arsenal_Func001001002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h01O')
endfunction
function Trig_Weapon_Arsenal_Func001002 takes nothing returns nothing
call AdjustPlayerStateBJ(3000,GetOwningPlayer(GetEnumUnit()),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function Trig_Weapon_Arsenal_Func003001002001 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h01O')
endfunction
function Trig_Weapon_Arsenal_Func003001002002 takes nothing returns boolean
return(GetUnitStateSwap(UNIT_STATE_LIFE,GetFilterUnit())<2950.00)
endfunction
function Trig_Weapon_Arsenal_Func003001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Weapon_Arsenal_Func003001002001(),Trig_Weapon_Arsenal_Func003001002002())
endfunction
function Trig_Weapon_Arsenal_Func003002 takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Trig_Weapon_Arsenal_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Weapon_Arsenal_Func001001002)),function Trig_Weapon_Arsenal_Func001002)
call AdjustPlayerStateBJ(-3000,GetOwningPlayer(GetConstructedStructure()),PLAYER_STATE_RESOURCE_GOLD)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Weapon_Arsenal_Func003001002)),function Trig_Weapon_Arsenal_Func003002)
call DisplayTextToForce(GetPlayersAll(),"Weapon Arsenal has been created by a player in the game. The structure can no longer be built.")
call EnableTrigger(udg_trigger118)
call EnableTrigger(udg_trigger117)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Weapon_Arsenal_Effect_Func001001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(6))==true)
endfunction
function Trig_Weapon_Arsenal_Effect_Func001001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h01O')
endfunction
function Trig_Weapon_Arsenal_Effect_Func001001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Weapon_Arsenal_Effect_Func001001002001(),Trig_Weapon_Arsenal_Effect_Func001001002002())
endfunction
function Trig_Weapon_Arsenal_Effect_Func001002 takes nothing returns nothing
call CreateNUnitsAtLoc(2,'z000',Player(6),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Weapon_Arsenal_Effect_Func002001002001 takes nothing returns boolean
return(IsPlayerAlly(GetOwningPlayer(GetFilterUnit()),Player(7))==true)
endfunction
function Trig_Weapon_Arsenal_Effect_Func002001002002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h01O')
endfunction
function Trig_Weapon_Arsenal_Effect_Func002001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Weapon_Arsenal_Effect_Func002001002001(),Trig_Weapon_Arsenal_Effect_Func002001002002())
endfunction
function Trig_Weapon_Arsenal_Effect_Func002002 takes nothing returns nothing
call CreateNUnitsAtLoc(2,'z000',Player(7),GetUnitLoc(GetEnumUnit()),bj_UNIT_FACING)
endfunction
function Trig_Weapon_Arsenal_Effect_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Weapon_Arsenal_Effect_Func001001002)),function Trig_Weapon_Arsenal_Effect_Func001002)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Weapon_Arsenal_Effect_Func002001002)),function Trig_Weapon_Arsenal_Effect_Func002002)
endfunction
function Trig_Single_Weapon_Arsenal_Conditions takes nothing returns boolean
if(not(GetUnitTypeId(GetConstructingStructure())=='h01O'))then
return false
endif
return true
endfunction
function Trig_Single_Weapon_Arsenal_Func010001001 takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==GetFilterPlayer())
endfunction
function Trig_Single_Weapon_Arsenal_Actions takes nothing returns nothing
call AdjustPlayerStateBJ(3000,GetOwningPlayer(GetConstructingStructure()),PLAYER_STATE_RESOURCE_GOLD)
call RemoveUnit(GetConstructingStructure())
call DisplayTextToForce(GetPlayersMatching(Condition(function Trig_Single_Weapon_Arsenal_Func010001001)),"Only one of every type of wonder may be built on a map at a time.")
endfunction
function Trig_Vulcan_M61_Conditions takes nothing returns boolean
if(not(GetUnitTypeId(GetConstructedStructure())=='h01X'))then
return false
endif
return true
endfunction
function Trig_Vulcan_M61_Func003001002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h01X')
endfunction
function Trig_Vulcan_M61_Func003002 takes nothing returns nothing
call AdjustPlayerStateBJ(4000,GetOwningPlayer(GetEnumUnit()),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function Trig_Vulcan_M61_Func005001002001 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='h00K')
endfunction
function Trig_Vulcan_M61_Func005001002002 takes nothing returns boolean
return(GetUnitStateSwap(UNIT_STATE_LIFE,GetFilterUnit())<3450.00)
endfunction
function Trig_Vulcan_M61_Func005001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Vulcan_M61_Func005001002001(),Trig_Vulcan_M61_Func005001002002())
endfunction
function Trig_Vulcan_M61_Func005002 takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Trig_Vulcan_M61_Actions takes nothing returns nothing
set udg_unit02=GetConstructedStructure()
set udg_integer06=5000
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Vulcan_M61_Func003001002)),function Trig_Vulcan_M61_Func003002)
call AdjustPlayerStateBJ(-4000,GetOwningPlayer(GetConstructedStructure()),PLAYER_STATE_RESOURCE_GOLD)
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Vulcan_M61_Func005001002)),function Trig_Vulcan_M61_Func005002)
call DisplayTextToForce(GetPlayersAll(),"Vulcan M61 has been created by a player in the game. The structure can no longer be built.")
call EnableTrigger(udg_trigger124)
call EnableTrigger(udg_trigger120)
call EnableTrigger(udg_trigger121)
call EnableTrigger(udg_trigger122)
call EnableTrigger(udg_trigger123)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Vulcan_M61_Effect_Conditions takes nothing returns boolean
if(not(GetUnitTypeId(GetAttacker())=='h01X'))then
return false
endif
return true
endfunction
function Trig_Vulcan_M61_Effect_Actions takes nothing returns nothing
call SetUnitManaBJ(GetAttacker(),(I2R(R2I(GetUnitStateSwap(UNIT_STATE_MANA,GetAttacker())))-10.00))
set udg_integer06=R2I(GetUnitStateSwap(UNIT_STATE_MANA,GetAttacker()))
call ConditionalTriggerExecute(udg_trigger121)
endfunction
function Trig_Vulcan_M61_Effect2_Conditions takes nothing returns boolean
if(not(udg_integer06<=50))then
return false
endif
return true
endfunction
function Trig_Vulcan_M61_Effect2_Func002002 takes nothing returns nothing
set udg_unit02=GetEnumUnit()
endfunction
function Trig_Vulcan_M61_Effect2_Actions takes nothing returns nothing
call ReplaceUnitBJ(udg_unit02,'h01Y',bj_UNIT_STATE_METHOD_RELATIVE)
call ForGroupBJ(GetUnitsOfTypeIdAll('h01Y'),function Trig_Vulcan_M61_Effect2_Func002002)
call ConditionalTriggerExecute(udg_trigger122)
endfunction
function Trig_Vulcan_M61_Effect3_Func001Func005002 takes nothing returns nothing
set udg_unit02=GetEnumUnit()
endfunction
function Trig_Vulcan_M61_Effect3_Func001C takes nothing returns boolean
if(not(R2I(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit02))>=3000))then
return false
endif
return true
endfunction
function Trig_Vulcan_M61_Effect3_Actions takes nothing returns nothing
if(Trig_Vulcan_M61_Effect3_Func001C())then
call ReplaceUnitBJ(udg_unit02,'h01X',bj_UNIT_STATE_METHOD_RELATIVE)
call ForGroupBJ(GetUnitsOfTypeIdAll('h01X'),function Trig_Vulcan_M61_Effect3_Func001Func005002)
else
call SetUnitManaBJ(udg_unit02,(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit02)+15.00))
call TriggerSleepAction(2)
call ConditionalTriggerExecute(GetTriggeringTrigger())
endif
endfunction
function Trig_Vulcan_M61_Effect4_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A001'))then
return false
endif
return true
endfunction
function Trig_Vulcan_M61_Effect4_Actions takes nothing returns nothing
call SetUnitManaBJ(GetSpellAbilityUnit(),(I2R(R2I(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit02)))+100.00))
endfunction
function Trig_Single_Vulcan_M61_Conditions takes nothing returns boolean
if(not(GetUnitTypeId(GetConstructingStructure())=='h01X'))then
return false
endif
return true
endfunction
function Trig_Single_Vulcan_M61_Func010001001 takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==GetFilterPlayer())
endfunction
function Trig_Single_Vulcan_M61_Actions takes nothing returns nothing
call AdjustPlayerStateBJ(4000,GetOwningPlayer(GetConstructingStructure()),PLAYER_STATE_RESOURCE_GOLD)
call RemoveUnit(GetConstructingStructure())
call DisplayTextToForce(GetPlayersMatching(Condition(function Trig_Single_Vulcan_M61_Func010001001)),"Only one of every type of wonder may be built on a map at a time.")
endfunction
function Trig_Extra_Income_Func002002001 takes nothing returns boolean
return(GetUnitTypeId(GetEnumUnit())=='n008')
endfunction
function Trig_Extra_Income_Func002002 takes nothing returns nothing
if(Trig_Extra_Income_Func002002001())then
call AdjustPlayerStateBJ(10,GetOwningPlayer(GetEnumUnit()),PLAYER_STATE_RESOURCE_GOLD)
else
call DoNothing()
endif
endfunction
function Trig_Extra_Income_Func003002001 takes nothing returns boolean
return(GetUnitTypeId(GetEnumUnit())=='n00J')
endfunction
function Trig_Extra_Income_Func003002 takes nothing returns nothing
if(Trig_Extra_Income_Func003002001())then
call AdjustPlayerStateBJ(25,GetOwningPlayer(GetEnumUnit()),PLAYER_STATE_RESOURCE_GOLD)
else
call DoNothing()
endif
endfunction
function Trig_Extra_Income_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRectAll(GetEntireMapRect()),function Trig_Extra_Income_Func002002)
call ForGroupBJ(GetUnitsInRectAll(GetEntireMapRect()),function Trig_Extra_Income_Func003002)
endfunction
function Trig_Max_Markets_Conditions takes nothing returns boolean
if(not(CountLivingPlayerUnitsOfTypeId('n008',GetOwningPlayer(GetTriggerUnit()))>20))then
return false
endif
if(not(GetUnitTypeId(GetConstructingStructure())=='n008'))then
return false
endif
return true
endfunction
function Trig_Max_Markets_Actions takes nothing returns nothing
call RemoveUnit(GetConstructingStructure())
call AdjustPlayerStateBJ(200,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call DisplayTextToForce(GetPlayersAll(),"The maximum number of markets (excluding stock markets) you can have is 20.")
endfunction
function Trig_Max_Stock_Markets_Conditions takes nothing returns boolean
if(not(CountLivingPlayerUnitsOfTypeId('n00J',GetOwningPlayer(GetTriggerUnit()))>20))then
return false
endif
if(not(GetUnitTypeId(GetTriggerUnit())=='n00J'))then
return false
endif
return true
endfunction
function Trig_Max_Stock_Markets_Func003001001 takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==GetFilterPlayer())
endfunction
function Trig_Max_Stock_Markets_Actions takes nothing returns nothing
call ReplaceUnitBJ(GetTriggerUnit(),'n008',bj_UNIT_STATE_METHOD_RELATIVE)
call AdjustPlayerStateBJ(300,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call DisplayTextToForce(GetPlayersMatching(Condition(function Trig_Max_Stock_Markets_Func003001001)),"The maximum number of Stock markets you can have is 20.")
endfunction
function Trig_Activate_Actions takes nothing returns nothing
call EnableTrigger(udg_trigger129)
call EnableTrigger(udg_trigger130)
call EnableTrigger(udg_trigger131)
call EnableTrigger(udg_trigger132)
call EnableTrigger(udg_trigger133)
call EnableTrigger(udg_trigger134)
endfunction
function Trig_Blue_Actions takes nothing returns nothing
call CustomDefeatBJ(Player(1),"You've been kicked!")
endfunction
function Trig_Teal_Actions takes nothing returns nothing
call CustomDefeatBJ(Player(2),"You've been kicked!")
endfunction
function Trig_Purple_Actions takes nothing returns nothing
call CustomDefeatBJ(Player(3),"You've been kicked!")
endfunction
function Trig_Yellow_Actions takes nothing returns nothing
call CustomDefeatBJ(Player(4),"You've been kicked!")
endfunction
function Trig_Orange_Actions takes nothing returns nothing
call CustomDefeatBJ(Player(5),"You've been kicked!")
endfunction
function Trig_BombsAway_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(10,'h01G',Player(6),GetRectCenter(udg_rect13),bj_UNIT_FACING)
call CreateNUnitsAtLoc(10,'h01G',Player(6),GetRectCenter(udg_rect01),bj_UNIT_FACING)
call CreateNUnitsAtLoc(10,'h01G',Player(6),GetRectCenter(udg_rect23),bj_UNIT_FACING)
endfunction
function Trig_Alpha_Wolf_Conditions takes nothing returns boolean
if(not(GetUnitTypeId(GetTrainedUnit())=='H018'))then
return false
endif
return true
endfunction
function Trig_Alpha_Wolf_Actions takes nothing returns nothing
call TriggerSleepAction(1.00)
call EnableTrigger(udg_trigger136)
call DisplayTextToForce(GetPlayersAll(),(GetPlayerName(GetTriggerPlayer())+" has summoned Alpha Wolf to his side."))
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Single_Alpha_Wolf_Conditions takes nothing returns boolean
if(not(GetTrainedUnitType()=='H018'))then
return false
endif
return true
endfunction
function Trig_Single_Alpha_Wolf_Actions takes nothing returns nothing
call AdjustPlayerStateBJ(2000,GetOwningPlayer(GetTrainedUnit()),PLAYER_STATE_RESOURCE_GOLD)
call RemoveUnit(GetTrainedUnit())
call DisplayTextToForce(GetPlayersAll(),"Alpha Wolf has already been summoned by a player. This hero may not be used anymore.")
endfunction
function Trig_Archer_Leader_Conditions takes nothing returns boolean
if(not(GetUnitTypeId(GetTrainedUnit())=='E005'))then
return false
endif
return true
endfunction
function Trig_Archer_Leader_Actions takes nothing returns nothing
call TriggerSleepAction(1.00)
call EnableTrigger(udg_trigger138)
call DisplayTextToForce(GetPlayersAll(),(GetPlayerName(GetTriggerPlayer())+" has summoned Archer Leader to his side."))
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Single_Archer_Leader_Conditions takes nothing returns boolean
if(not(GetTrainedUnitType()=='E005'))then
return false
endif
return true
endfunction
function Trig_Single_Archer_Leader_Actions takes nothing returns nothing
call AdjustPlayerStateBJ(3500,GetOwningPlayer(GetTrainedUnit()),PLAYER_STATE_RESOURCE_GOLD)
call RemoveUnit(GetTrainedUnit())
call DisplayTextToForce(GetPlayersAll(),"Archer Leader has already been summoned by a player. This hero may not be used anymore.")
endfunction
function Trig_Stealth_Trapper_Conditions takes nothing returns boolean
if(not(GetUnitTypeId(GetTrainedUnit())=='H01E'))then
return false
endif
return true
endfunction
function Trig_Stealth_Trapper_Actions takes nothing returns nothing
call TriggerSleepAction(1.00)
call EnableTrigger(udg_trigger140)
call DisplayTextToForce(GetPlayersAll(),(GetPlayerName(GetTriggerPlayer())+" has summoned Stealth Trapper to his side."))
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Single_Stealth_Trapper_Conditions takes nothing returns boolean
if(not(GetTrainedUnitType()=='H01E'))then
return false
endif
return true
endfunction
function Trig_Single_Stealth_Trapper_Actions takes nothing returns nothing
call AdjustPlayerStateBJ(3000,GetOwningPlayer(GetTrainedUnit()),PLAYER_STATE_RESOURCE_GOLD)
call RemoveUnit(GetTrainedUnit())
call DisplayTextToForce(GetPlayersAll(),"Stealth Trapper has already been summoned by a player. This hero may not be used anymore.")
endfunction
function Trig_King_Arthur_Conditions takes nothing returns boolean
if(not(GetUnitTypeId(GetTrainedUnit())=='H017'))then
return false
endif
return true
endfunction
function Trig_King_Arthur_Actions takes nothing returns nothing
call TriggerSleepAction(1.00)
call EnableTrigger(udg_trigger142)
call DisplayTextToForce(GetPlayersAll(),(GetPlayerName(GetTriggerPlayer())+" has summoned King Arthur to his side."))
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Single_King_Arthur_Conditions takes nothing returns boolean
if(not(GetTrainedUnitType()=='H017'))then
return false
endif
return true
endfunction
function Trig_Single_King_Arthur_Actions takes nothing returns nothing
call AdjustPlayerStateBJ(2000,GetOwningPlayer(GetTrainedUnit()),PLAYER_STATE_RESOURCE_GOLD)
call RemoveUnit(GetTrainedUnit())
call DisplayTextToForce(GetPlayersAll(),"King Arthur has already been summoned by a player. This hero may not be used anymore.")
endfunction
function Trig_Sharded_Boots_Conditions takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I001')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I000')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I003')==true))then
return false
endif
return true
endfunction
function Trig_Sharded_Boots_Actions takes nothing returns nothing
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I003'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I001'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I000'))
call UnitAddItemByIdSwapped('I002',GetTriggerUnit())
call AddSpecialEffectTargetUnitBJ("overhead",GetTriggerUnit(),"Abilities\\Spells\\Human\\Resurrect\\ResurrectTarget.mdl")
call DestroyEffectBJ(GetLastCreatedEffectBJ())
endfunction
function Trig_Shining_Claw_Conditions takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I004')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I005')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I003')==true))then
return false
endif
return true
endfunction
function Trig_Shining_Claw_Actions takes nothing returns nothing
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I003'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I004'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I005'))
call UnitAddItemByIdSwapped('I006',GetTriggerUnit())
call AddSpecialEffectTargetUnitBJ("overhead",GetTriggerUnit(),"Abilities\\Spells\\Human\\Resurrect\\ResurrectTarget.mdl")
call DestroyEffectBJ(GetLastCreatedEffectBJ())
endfunction
function Trig_Orb_of_Frost_Conditions takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I009')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I007')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I003')==true))then
return false
endif
return true
endfunction
function Trig_Orb_of_Frost_Actions takes nothing returns nothing
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I003'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I009'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I007'))
call UnitAddItemByIdSwapped('I00D',GetTriggerUnit())
call AddSpecialEffectTargetUnitBJ("overhead",GetTriggerUnit(),"Abilities\\Spells\\Human\\Resurrect\\ResurrectTarget.mdl")
call DestroyEffectBJ(GetLastCreatedEffectBJ())
endfunction
function Trig_Orb_of_Fire_Conditions takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I00A')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I007')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I003')==true))then
return false
endif
return true
endfunction
function Trig_Orb_of_Fire_Actions takes nothing returns nothing
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I003'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00A'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I007'))
call UnitAddItemByIdSwapped('I00E',GetTriggerUnit())
call AddSpecialEffectTargetUnitBJ("overhead",GetTriggerUnit(),"Abilities\\Spells\\Human\\Resurrect\\ResurrectTarget.mdl")
call DestroyEffectBJ(GetLastCreatedEffectBJ())
endfunction
function Trig_Orb_of_Earth_Conditions takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I008')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I007')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I003')==true))then
return false
endif
return true
endfunction
function Trig_Orb_of_Earth_Actions takes nothing returns nothing
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I003'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I008'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I007'))
call UnitAddItemByIdSwapped('I00F',GetTriggerUnit())
call AddSpecialEffectTargetUnitBJ("overhead",GetTriggerUnit(),"Abilities\\Spells\\Human\\Resurrect\\ResurrectTarget.mdl")
call DestroyEffectBJ(GetLastCreatedEffectBJ())
endfunction
function Trig_Orb_of_Water_Conditions takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I00B')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I007')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I003')==true))then
return false
endif
return true
endfunction
function Trig_Orb_of_Water_Actions takes nothing returns nothing
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I003'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00B'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I007'))
call UnitAddItemByIdSwapped('I00G',GetTriggerUnit())
call AddSpecialEffectTargetUnitBJ("overhead",GetTriggerUnit(),"Abilities\\Spells\\Human\\Resurrect\\ResurrectTarget.mdl")
call DestroyEffectBJ(GetLastCreatedEffectBJ())
endfunction
function Trig_Orb_of_Shock_Conditions takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I00C')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I007')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I003')==true))then
return false
endif
return true
endfunction
function Trig_Orb_of_Shock_Actions takes nothing returns nothing
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I003'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00C'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I007'))
call UnitAddItemByIdSwapped('I00H',GetTriggerUnit())
call AddSpecialEffectTargetUnitBJ("overhead",GetTriggerUnit(),"Abilities\\Spells\\Human\\Resurrect\\ResurrectTarget.mdl")
call DestroyEffectBJ(GetLastCreatedEffectBJ())
endfunction
function Trig_Remove_Item_Slot_1_Func001001002001 takes nothing returns boolean
return(IsUnitSelected(GetFilterUnit(),GetTriggerPlayer())==true)
endfunction
function Trig_Remove_Item_Slot_1_Func001001002002 takes nothing returns boolean
return(GetOwningPlayer(GetFilterUnit())==GetTriggerPlayer())
endfunction
function Trig_Remove_Item_Slot_1_Func001001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Remove_Item_Slot_1_Func001001002001(),Trig_Remove_Item_Slot_1_Func001001002002())
endfunction
function Trig_Remove_Item_Slot_1_Func001002 takes nothing returns nothing
call RemoveItem(UnitItemInSlotBJ(GetEnumUnit(),1))
endfunction
function Trig_Remove_Item_Slot_1_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Remove_Item_Slot_1_Func001001002)),function Trig_Remove_Item_Slot_1_Func001002)
endfunction
function Trig_Remove_Item_Slot_2_Func001001002001 takes nothing returns boolean
return(IsUnitSelected(GetFilterUnit(),GetTriggerPlayer())==true)
endfunction
function Trig_Remove_Item_Slot_2_Func001001002002 takes nothing returns boolean
return(GetOwningPlayer(GetFilterUnit())==GetTriggerPlayer())
endfunction
function Trig_Remove_Item_Slot_2_Func001001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Remove_Item_Slot_2_Func001001002001(),Trig_Remove_Item_Slot_2_Func001001002002())
endfunction
function Trig_Remove_Item_Slot_2_Func001002 takes nothing returns nothing
call RemoveItem(UnitItemInSlotBJ(GetEnumUnit(),2))
endfunction
function Trig_Remove_Item_Slot_2_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Remove_Item_Slot_2_Func001001002)),function Trig_Remove_Item_Slot_2_Func001002)
endfunction
function Trig_Remove_Item_Slot_3_Func001001002001 takes nothing returns boolean
return(IsUnitSelected(GetFilterUnit(),GetTriggerPlayer())==true)
endfunction
function Trig_Remove_Item_Slot_3_Func001001002002 takes nothing returns boolean
return(GetOwningPlayer(GetFilterUnit())==GetTriggerPlayer())
endfunction
function Trig_Remove_Item_Slot_3_Func001001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Remove_Item_Slot_3_Func001001002001(),Trig_Remove_Item_Slot_3_Func001001002002())
endfunction
function Trig_Remove_Item_Slot_3_Func001002 takes nothing returns nothing
call RemoveItem(UnitItemInSlotBJ(GetEnumUnit(),3))
endfunction
function Trig_Remove_Item_Slot_3_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Remove_Item_Slot_3_Func001001002)),function Trig_Remove_Item_Slot_3_Func001002)
endfunction
function Trig_Remove_Item_Slot_4_Func001001002001 takes nothing returns boolean
return(IsUnitSelected(GetFilterUnit(),GetTriggerPlayer())==true)
endfunction
function Trig_Remove_Item_Slot_4_Func001001002002 takes nothing returns boolean
return(GetOwningPlayer(GetFilterUnit())==GetTriggerPlayer())
endfunction
function Trig_Remove_Item_Slot_4_Func001001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Remove_Item_Slot_4_Func001001002001(),Trig_Remove_Item_Slot_4_Func001001002002())
endfunction
function Trig_Remove_Item_Slot_4_Func001002 takes nothing returns nothing
call RemoveItem(UnitItemInSlotBJ(GetEnumUnit(),4))
endfunction
function Trig_Remove_Item_Slot_4_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Remove_Item_Slot_4_Func001001002)),function Trig_Remove_Item_Slot_4_Func001002)
endfunction
function Trig_Remove_Item_Slot_5_Func001001002001 takes nothing returns boolean
return(IsUnitSelected(GetFilterUnit(),GetTriggerPlayer())==true)
endfunction
function Trig_Remove_Item_Slot_5_Func001001002002 takes nothing returns boolean
return(GetOwningPlayer(GetFilterUnit())==GetTriggerPlayer())
endfunction
function Trig_Remove_Item_Slot_5_Func001001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Remove_Item_Slot_5_Func001001002001(),Trig_Remove_Item_Slot_5_Func001001002002())
endfunction
function Trig_Remove_Item_Slot_5_Func001002 takes nothing returns nothing
call RemoveItem(UnitItemInSlotBJ(GetEnumUnit(),5))
endfunction
function Trig_Remove_Item_Slot_5_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Remove_Item_Slot_5_Func001001002)),function Trig_Remove_Item_Slot_5_Func001002)
endfunction
function Trig_Remove_Item_Slot_6_Func001001002001 takes nothing returns boolean
return(IsUnitSelected(GetFilterUnit(),GetTriggerPlayer())==true)
endfunction
function Trig_Remove_Item_Slot_6_Func001001002002 takes nothing returns boolean
return(GetOwningPlayer(GetFilterUnit())==GetTriggerPlayer())
endfunction
function Trig_Remove_Item_Slot_6_Func001001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Remove_Item_Slot_6_Func001001002001(),Trig_Remove_Item_Slot_6_Func001001002002())
endfunction
function Trig_Remove_Item_Slot_6_Func001002 takes nothing returns nothing
call RemoveItem(UnitItemInSlotBJ(GetEnumUnit(),6))
endfunction
function Trig_Remove_Item_Slot_6_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRectMatching(GetEntireMapRect(),Condition(function Trig_Remove_Item_Slot_6_Func001001002)),function Trig_Remove_Item_Slot_6_Func001002)
endfunction
function Trig_Stop42_Conditions takes nothing returns boolean
if(not(GetEventPlayerChatString()!="-music 42"))then
return false
endif
return true
endfunction
function Trig_Stop42_Actions takes nothing returns nothing
call StopSoundBJ(udg_sound03,true)
endfunction
function Trig_Music_Actions takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_PLAYER[0],"Type -music XX , with XX being whatever track you choose out of the following. The track names can be viewed in the Quest Menu (F9).")
endfunction
function Trig_Track01_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\ArthasTheme.mp3")
endfunction
function Trig_Track02_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\BloodElfTheme.mp3")
endfunction
function Trig_Track03_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\Comradeship.mp3")
endfunction
function Trig_Track04_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\Credits.mp3")
endfunction
function Trig_Track05_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\DarkAgents.mp3")
endfunction
function Trig_Track06_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\DarkVictory.mp3")
endfunction
function Trig_Track07_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\Doom.mp3")
endfunction
function Trig_Track08_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\HeroicVictory.mp3")
endfunction
function Trig_Track09_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\Human1.mp3")
endfunction
function Trig_Track10_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\Human2.mp3")
endfunction
function Trig_Track11_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\Human3.mp3")
endfunction
function Trig_Track12_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\HumanX1.mp3")
endfunction
function Trig_Track13_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\HumanDefeat.mp3")
endfunction
function Trig_Track14_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\HumanVictory.mp3")
endfunction
function Trig_Track15_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\IllidansTheme.mp3")
endfunction
function Trig_Track16_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\LichKingTheme.mp3")
endfunction
function Trig_Track18_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\NagaTheme.mp3")
endfunction
function Trig_Track17_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\MainScreen.mp3")
endfunction
function Trig_Track19_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\NightElf1.mp3")
endfunction
function Trig_Track20_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\NightElf2.mp3")
endfunction
function Trig_Track21_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\NightElf3.mp3")
endfunction
function Trig_Track22_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\NightElfX1.mp3")
endfunction
function Trig_Track23_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\NightElfDefeat.mp3")
endfunction
function Trig_Track24_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\NightElfVictory.mp3")
endfunction
function Trig_Track25_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\Orc1.mp3")
endfunction
function Trig_Track26_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\Orc2.mp3")
endfunction
function Trig_Track27_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\Orc3.mp3")
endfunction
function Trig_Track28_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\OrcX1.mp3")
endfunction
function Trig_Track29_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\OrcDefeat.mp3")
endfunction
function Trig_Track30_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\OrcTheme.mp3")
endfunction
function Trig_Track31_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\OrcVictory.mp3")
endfunction
function Trig_Track32_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\PursuitTheme.mp3")
endfunction
function Trig_Track33_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\SadMystery.mp3")
endfunction
function Trig_Track34_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\Tension.mp3")
endfunction
function Trig_Track35_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\TragicConfrontation.mp3")
endfunction
function Trig_Track36_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\Undead1.mp3")
endfunction
function Trig_Track37_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\Undead2.mp3")
endfunction
function Trig_Track38_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\Undead3.mp3")
endfunction
function Trig_Track39_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\UndeadX1.mp3")
endfunction
function Trig_Track40_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\UndeadDefeat.mp3")
endfunction
function Trig_Track41_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\UndeadVictory.mp3")
endfunction
function Trig_Track42_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlaySoundBJ(udg_sound03)
endfunction
function Trig_Track43_Actions takes nothing returns nothing
call EndThematicMusicBJ()
call StopMusicBJ(true)
call PlayThematicMusicBJ("Sound\\Music\\mp3Music\\War3XMainScreen.mp3")
endfunction
function main2 takes nothing returns nothing
call SetCameraBounds(-7424.0+GetCameraMargin(CAMERA_MARGIN_LEFT),-7168.0+GetCameraMargin(CAMERA_MARGIN_BOTTOM),7424.0-GetCameraMargin(CAMERA_MARGIN_RIGHT),7168.0-GetCameraMargin(CAMERA_MARGIN_TOP),-7424.0+GetCameraMargin(CAMERA_MARGIN_LEFT),7168.0-GetCameraMargin(CAMERA_MARGIN_TOP),7424.0-GetCameraMargin(CAMERA_MARGIN_RIGHT),-7168.0+GetCameraMargin(CAMERA_MARGIN_BOTTOM))
call SetDayNightModels("Environment\\DNC\\DNCLordaeron\\DNCLordaeronTerrain\\DNCLordaeronTerrain.mdl","Environment\\DNC\\DNCLordaeron\\DNCLordaeronUnit\\DNCLordaeronUnit.mdl")
call NewSoundEnvironment("Default")
call SetAmbientDaySound("LordaeronSummerDay")
call SetAmbientNightSound("LordaeronSummerNight")
call SetMapMusic("Music",true,0)
set udg_sound01=CreateSound("Sound\\Interface\\QuestLog.wav",false,false,false,10,10,"")
call SetSoundParamsFromLabel(udg_sound01,"QuestUpdate")
call SetSoundDuration(udg_sound01,2276)
set udg_sound02=CreateSound("Units\\Human\\Gyrocopter\\GyrocopterImpactHit1.wav",false,true,true,10,10,"MissilesEAX")
call SetSoundParamsFromLabel(udg_sound02,"GyrocopterAttack")
call SetSoundDuration(udg_sound02,998)
set udg_sound03=CreateSound("Sound\\Music\\mp3Music\\War2IntroMusic.mp3",false,false,false,10,10,"DefaultEAXON")
call SetSoundParamsFromLabel(udg_sound03,"War2Intro")
call SetSoundDuration(udg_sound03,81136)
call SetSoundVolume(udg_sound03,127)
call CreateRegions2()
call SetPlayerTechResearched(Player(0),'Rowd',2)
call SetPlayerTechResearched(Player(0),'Roen',1)
call SetPlayerTechResearched(Player(1),'Rowd',2)
call SetPlayerTechResearched(Player(1),'Roen',1)
call SetPlayerTechResearched(Player(2),'Rowd',2)
call SetPlayerTechResearched(Player(2),'Roen',1)
call SetPlayerTechResearched(Player(3),'Rowd',2)
call SetPlayerTechResearched(Player(3),'Roen',1)
call SetPlayerTechResearched(Player(4),'Rowd',2)
call SetPlayerTechResearched(Player(4),'Roen',1)
call SetPlayerTechResearched(Player(5),'Rowd',2)
call SetPlayerTechResearched(Player(5),'Roen',1)
call SetPlayerTechResearched(Player(6),'Rowd',2)
call SetPlayerTechResearched(Player(6),'Roen',1)
call SetPlayerTechResearched(Player(7),'Rowd',2)
call SetPlayerTechResearched(Player(7),'Roen',1)
call CreateNeutralPassiveBuildings2()
call CreateBuildingsForPlayer0()
call CreateBuildingsForPlayer1()
call CreateBuildingsForPlayer2()
call CreateBuildingsForPlayer3()
call CreateBuildingsForPlayer4()
call CreateBuildingsForPlayer5()
call CreateBuildingsForPlayer6()
call CreateBuildingsForPlayer7()
call CreateUnitsForPlayer0()
call CreateUnitsForPlayer1()
call CreateUnitsForPlayer2()
call CreateUnitsForPlayer3()
call CreateUnitsForPlayer4()
call CreateUnitsForPlayer5()
set udg_item01=null
set udg_item02=null
set udg_unit01=null
set udg_force01=CreateForce()
set udg_integer01=0
set udg_integer02=0
set udg_integer03=0
set udg_integer04=0
set udg_integer05=0
set udg_string01=""
set udg_integer06=0
set udg_unit02=null
set udg_trigger01=CreateTrigger()
call TriggerAddAction(udg_trigger01,function Trig_Start_Trigger_Actions)
set udg_trigger02=CreateTrigger()
call TriggerRegisterTimerEventSingle(udg_trigger02,2.50)
call TriggerAddAction(udg_trigger02,function Trig_Start_Text_Actions)
set udg_trigger03=CreateTrigger()
call TriggerAddAction(udg_trigger03,function Trig_Quest_Menu_Actions)
set udg_trigger04=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger04,Player(0),"-income",true)
call TriggerRegisterPlayerChatEvent(udg_trigger04,Player(1),"-income",true)
call TriggerRegisterPlayerChatEvent(udg_trigger04,Player(2),"-income",true)
call TriggerAddAction(udg_trigger04,function Trig_Income1_Actions)
set udg_trigger05=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger05,Player(3),"-income",true)
call TriggerRegisterPlayerChatEvent(udg_trigger05,Player(4),"-income",true)
call TriggerRegisterPlayerChatEvent(udg_trigger05,Player(5),"-income",true)
call TriggerAddAction(udg_trigger05,function Trig_Income2_Actions)
set udg_trigger06=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger06,25.00)
call TriggerAddAction(udg_trigger06,function Trig_Red_Income_Actions)
set udg_trigger07=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger07,25.00)
call TriggerAddAction(udg_trigger07,function Trig_Blue_Income_Actions)
set udg_trigger08=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger08,25.00)
call TriggerAddAction(udg_trigger08,function Trig_Teal_Income_Actions)
set udg_trigger09=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger09,25.00)
call TriggerAddAction(udg_trigger09,function Trig_Purple_Income_Actions)
set udg_trigger10=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger10,25.00)
call TriggerAddAction(udg_trigger10,function Trig_Yellow_Income_Actions)
set udg_trigger11=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger11,25.00)
call TriggerAddAction(udg_trigger11,function Trig_Orange_Income_Actions)
set udg_trigger12=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger12,35.00)
call TriggerAddAction(udg_trigger12,function Trig_Spawn_Actions)
set udg_trigger13=CreateTrigger()
call TriggerRegisterGameStateEventTimeOfDay(udg_trigger13,EQUAL,0.00)
call TriggerAddAction(udg_trigger13,function Trig_Shard_Spawn_Actions)
set udg_trigger14=CreateTrigger()
call TriggerRegisterGameStateEventTimeOfDay(udg_trigger14,EQUAL,1.30)
call TriggerAddAction(udg_trigger14,function Trig_Shard_UnSpawn_Actions)
set udg_trigger15=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger15,Player(0),EVENT_PLAYER_UNIT_ATTACKED)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger15,Player(1),EVENT_PLAYER_UNIT_ATTACKED)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger15,Player(2),EVENT_PLAYER_UNIT_ATTACKED)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger15,Player(3),EVENT_PLAYER_UNIT_ATTACKED)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger15,Player(4),EVENT_PLAYER_UNIT_ATTACKED)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger15,Player(5),EVENT_PLAYER_UNIT_ATTACKED)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger15,Player(6),EVENT_PLAYER_UNIT_ATTACKED)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger15,Player(7),EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(udg_trigger15,Condition(function Trig_Grenades_Conditions))
call TriggerAddAction(udg_trigger15,function Trig_Grenades_Actions)
set udg_trigger16=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger16,Player(0),"-name ",false)
call TriggerRegisterPlayerChatEvent(udg_trigger16,Player(1),"-name ",false)
call TriggerRegisterPlayerChatEvent(udg_trigger16,Player(2),"-name ",false)
call TriggerRegisterPlayerChatEvent(udg_trigger16,Player(3),"-name ",false)
call TriggerRegisterPlayerChatEvent(udg_trigger16,Player(4),"-name ",false)
call TriggerRegisterPlayerChatEvent(udg_trigger16,Player(5),"-name ",false)
call TriggerAddCondition(udg_trigger16,Condition(function Trig_Name_Conditions))
call TriggerAddAction(udg_trigger16,function Trig_Name_Actions)
set udg_trigger17=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger17,10.00)
call TriggerAddAction(udg_trigger17,function Trig_Grenade_Explode_Actions)
set udg_trigger18=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger18,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger18,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger18,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger18,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger18,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger18,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger18,Condition(function Trig_Orb_of_Fire_On_Fire_effect_Conditions))
call TriggerAddAction(udg_trigger18,function Trig_Orb_of_Fire_On_Fire_effect_Actions)
set udg_trigger19=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger19,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger19,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger19,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger19,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger19,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger19,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger19,Condition(function Trig_Orb_of_Frost_On_Ice_effect_Conditions))
call TriggerAddAction(udg_trigger19,function Trig_Orb_of_Frost_On_Ice_effect_Actions)
set udg_trigger20=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger20,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger20,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger20,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger20,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger20,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger20,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger20,Condition(function Trig_Orb_of_Earth_On_Earth_effect_Conditions))
call TriggerAddAction(udg_trigger20,function Trig_Orb_of_Earth_On_Earth_effect_Actions)
set udg_trigger21=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger21,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger21,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger21,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger21,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger21,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger21,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger21,Condition(function Trig_Orb_of_Water_On_Water_effect_Conditions))
call TriggerAddAction(udg_trigger21,function Trig_Orb_of_Water_On_Water_effect_Actions)
set udg_trigger22=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger22,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger22,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger22,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger22,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger22,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger22,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger22,Condition(function Trig_Orb_of_Shock_On_Shock_effect_Conditions))
call TriggerAddAction(udg_trigger22,function Trig_Orb_of_Shock_On_Shock_effect_Actions)
set udg_trigger23=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger23,Player(6),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger23,Player(7),EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger23,Condition(function Trig_Humvee_Death_Conditions))
call TriggerAddAction(udg_trigger23,function Trig_Humvee_Death_Actions)
set udg_trigger24=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger24,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(udg_trigger24,Condition(function Trig_Vulcan_Sound_Conditions))
call TriggerAddAction(udg_trigger24,function Trig_Vulcan_Sound_Actions)
set udg_trigger25=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger25,Player(6),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger25,Player(7),EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger25,Condition(function Trig_APC_Death_Conditions))
call TriggerAddAction(udg_trigger25,function Trig_APC_Death_Actions)
set udg_trigger26=CreateTrigger()
call DisableTrigger(udg_trigger26)
call TriggerRegisterTimerEventPeriodic(udg_trigger26,25.00)
call TriggerAddAction(udg_trigger26,function Trig_Fast_Effect_Actions)
set udg_trigger27=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger27,Player(0),"-fast",true)
call TriggerAddAction(udg_trigger27,function Trig_Fast_Mode_Actions)
set udg_trigger28=CreateTrigger()
call TriggerRegisterTimerEventSingle(udg_trigger28,32.50)
call TriggerAddAction(udg_trigger28,function Trig_Modes_Off_Actions)
set udg_trigger29=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger29,Player(0),"-spawn30",true)
call TriggerAddAction(udg_trigger29,function Trig_Spawn30_Mode_Actions)
set udg_trigger30=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger30,Player(0),"-nohero",true)
call TriggerAddAction(udg_trigger30,function Trig_NoHero_Mode_Actions)
set udg_trigger31=CreateTrigger()
call DisableTrigger(udg_trigger31)
call TriggerRegisterTimerEventPeriodic(udg_trigger31,30.00)
call TriggerAddAction(udg_trigger31,function Trig_Spawn30_Effect_Actions)
set udg_trigger32=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger32,udg_rect30)
call TriggerAddCondition(udg_trigger32,Condition(function Trig_Red_to_Top_Right_Conditions))
call TriggerAddAction(udg_trigger32,function Trig_Red_to_Top_Right_Actions)
set udg_trigger33=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger33,udg_rect29)
call TriggerAddCondition(udg_trigger33,Condition(function Trig_Top_Right_to_Top_Middle_Conditions))
call TriggerAddAction(udg_trigger33,function Trig_Top_Right_to_Top_Middle_Actions)
set udg_trigger34=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger34,udg_rect28)
call TriggerAddCondition(udg_trigger34,Condition(function Trig_Top_Middle_to_Top_Left_Conditions))
call TriggerAddAction(udg_trigger34,function Trig_Top_Middle_to_Top_Left_Actions)
set udg_trigger35=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger35,udg_rect26)
call TriggerAddCondition(udg_trigger35,Condition(function Trig_Top_Left_to_Purple_Conditions))
call TriggerAddAction(udg_trigger35,function Trig_Top_Left_to_Purple_Actions)
set udg_trigger36=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger36,udg_rect12)
call TriggerAddCondition(udg_trigger36,Condition(function Trig_Purple_to_Orange_Conditions))
call TriggerAddAction(udg_trigger36,function Trig_Purple_to_Orange_Actions)
set udg_trigger37=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger37,udg_rect14)
call TriggerAddCondition(udg_trigger37,Condition(function Trig_Blue_to_Middle_Right_Conditions))
call TriggerAddAction(udg_trigger37,function Trig_Blue_to_Middle_Right_Actions)
set udg_trigger38=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger38,udg_rect10)
call TriggerAddCondition(udg_trigger38,Condition(function Trig_Middle_Right_to_Middle_Conditions))
call TriggerAddAction(udg_trigger38,function Trig_Middle_Right_to_Middle_Actions)
set udg_trigger39=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger39,udg_rect08)
call TriggerAddCondition(udg_trigger39,Condition(function Trig_Middle_to_Middle_Left_Conditions))
call TriggerAddAction(udg_trigger39,function Trig_Middle_to_Middle_Left_Actions)
set udg_trigger40=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger40,udg_rect09)
call TriggerAddCondition(udg_trigger40,Condition(function Trig_Middle_Left_to_Yellow_Conditions))
call TriggerAddAction(udg_trigger40,function Trig_Middle_Left_to_Yellow_Actions)
set udg_trigger41=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger41,udg_rect31)
call TriggerAddCondition(udg_trigger41,Condition(function Trig_Yellow_to_Purple_Conditions))
call TriggerAddAction(udg_trigger41,function Trig_Yellow_to_Purple_Actions)
set udg_trigger42=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger42,udg_rect06)
call TriggerAddCondition(udg_trigger42,Condition(function Trig_Teal_to_Bottom_Right_Conditions))
call TriggerAddAction(udg_trigger42,function Trig_Teal_to_Bottom_Right_Actions)
set udg_trigger43=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger43,udg_rect05)
call TriggerAddCondition(udg_trigger43,Condition(function Trig_Bottom_Right_to_Bottom_Middle_Conditions))
call TriggerAddAction(udg_trigger43,function Trig_Bottom_Right_to_Bottom_Middle_Actions)
set udg_trigger44=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger44,udg_rect04)
call TriggerAddCondition(udg_trigger44,Condition(function Trig_Bottom_Middle_to_Bottom_Left_Conditions))
call TriggerAddAction(udg_trigger44,function Trig_Bottom_Middle_to_Bottom_Left_Actions)
set udg_trigger45=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger45,udg_rect02)
call TriggerAddCondition(udg_trigger45,Condition(function Trig_Bottom_Left_to_Orange_Conditions))
call TriggerAddAction(udg_trigger45,function Trig_Bottom_Left_to_Orange_Actions)
set udg_trigger46=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger46,udg_rect11)
call TriggerAddCondition(udg_trigger46,Condition(function Trig_Orange_to_Purple_Conditions))
call TriggerAddAction(udg_trigger46,function Trig_Orange_to_Purple_Actions)
set udg_trigger47=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger47,udg_unit12,EVENT_UNIT_DEATH)
call TriggerAddAction(udg_trigger47,function Trig_Purple_Death_Actions)
set udg_trigger48=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger48,udg_rect27)
call TriggerAddCondition(udg_trigger48,Condition(function Trig_Purple_to_Top_Left_Conditions))
call TriggerAddAction(udg_trigger48,function Trig_Purple_to_Top_Left_Actions)
set udg_trigger49=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger49,udg_rect26)
call TriggerAddCondition(udg_trigger49,Condition(function Trig_Top_Left_to_Top_Middle_Conditions))
call TriggerAddAction(udg_trigger49,function Trig_Top_Left_to_Top_Middle_Actions)
set udg_trigger50=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger50,udg_rect28)
call TriggerAddCondition(udg_trigger50,Condition(function Trig_Top_Middle_to_Top_Right_Conditions))
call TriggerAddAction(udg_trigger50,function Trig_Top_Middle_to_Top_Right_Actions)
set udg_trigger51=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger51,udg_rect29)
call TriggerAddCondition(udg_trigger51,Condition(function Trig_Top_Right_to_Red_Conditions))
call TriggerAddAction(udg_trigger51,function Trig_Top_Right_to_Red_Actions)
set udg_trigger52=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger52,udg_rect13)
call TriggerAddCondition(udg_trigger52,Condition(function Trig_Red_to_Teal_Conditions))
call TriggerAddAction(udg_trigger52,function Trig_Red_to_Teal_Actions)
set udg_trigger53=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger53,udg_rect07)
call TriggerAddCondition(udg_trigger53,Condition(function Trig_Yellow_to_Middle_Left_Conditions))
call TriggerAddAction(udg_trigger53,function Trig_Yellow_to_Middle_Left_Actions)
set udg_trigger54=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger54,udg_rect09)
call TriggerAddCondition(udg_trigger54,Condition(function Trig_Middle_Left_to_Middle_Conditions))
call TriggerAddAction(udg_trigger54,function Trig_Middle_Left_to_Middle_Actions)
set udg_trigger55=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger55,udg_rect08)
call TriggerAddCondition(udg_trigger55,Condition(function Trig_Middle_to_Middle_Right_Conditions))
call TriggerAddAction(udg_trigger55,function Trig_Middle_to_Middle_Right_Actions)
set udg_trigger56=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger56,udg_rect10)
call TriggerAddCondition(udg_trigger56,Condition(function Trig_Middle_Right_to_Blue_Conditions))
call TriggerAddAction(udg_trigger56,function Trig_Middle_Right_to_Blue_Actions)
set udg_trigger57=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger57,udg_rect01)
call TriggerAddCondition(udg_trigger57,Condition(function Trig_Blue_to_Red_Conditions))
call TriggerAddAction(udg_trigger57,function Trig_Blue_to_Red_Actions)
set udg_trigger58=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger58,udg_rect03)
call TriggerAddCondition(udg_trigger58,Condition(function Trig_Orange_to_Bottom_Left_Conditions))
call TriggerAddAction(udg_trigger58,function Trig_Orange_to_Bottom_Left_Actions)
set udg_trigger59=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger59,udg_rect02)
call TriggerAddCondition(udg_trigger59,Condition(function Trig_Bottom_Left_to_Bottom_Middle_Conditions))
call TriggerAddAction(udg_trigger59,function Trig_Bottom_Left_to_Bottom_Middle_Actions)
set udg_trigger60=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger60,udg_rect04)
call TriggerAddCondition(udg_trigger60,Condition(function Trig_Bottom_Middle_to_Bottom_Right_Conditions))
call TriggerAddAction(udg_trigger60,function Trig_Bottom_Middle_to_Bottom_Right_Actions)
set udg_trigger61=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger61,udg_rect05)
call TriggerAddCondition(udg_trigger61,Condition(function Trig_Bottom_Right_to_Teal_Conditions))
call TriggerAddAction(udg_trigger61,function Trig_Bottom_Right_to_Teal_Actions)
set udg_trigger62=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger62,udg_rect23)
call TriggerAddCondition(udg_trigger62,Condition(function Trig_Teal_to_Red_Conditions))
call TriggerAddAction(udg_trigger62,function Trig_Teal_to_Red_Actions)
set udg_trigger63=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger63,udg_unit09,EVENT_UNIT_DEATH)
call TriggerAddAction(udg_trigger63,function Trig_Red_Death_Actions)
set udg_trigger64=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger64,udg_rect18)
call TriggerAddCondition(udg_trigger64,Condition(function Trig_Fishery_Pond_T1_Conditions))
call TriggerAddAction(udg_trigger64,function Trig_Fishery_Pond_T1_Actions)
set udg_trigger65=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger65,udg_rect22)
call TriggerAddCondition(udg_trigger65,Condition(function Trig_Fishery_Pond_T2_Conditions))
call TriggerAddAction(udg_trigger65,function Trig_Fishery_Pond_T2_Actions)
set udg_trigger66=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger66,25.00)
call TriggerAddAction(udg_trigger66,function Trig_Owner_of_Fishery_T1_Actions)
set udg_trigger67=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger67,25.00)
call TriggerAddAction(udg_trigger67,function Trig_Owner_of_Fishery_T2_Actions)
set udg_trigger68=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger68,udg_rect16)
call TriggerAddCondition(udg_trigger68,Condition(function Trig_Waterfall_Springs_T1_Conditions))
call TriggerAddAction(udg_trigger68,function Trig_Waterfall_Springs_T1_Actions)
set udg_trigger69=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger69,udg_rect20)
call TriggerAddCondition(udg_trigger69,Condition(function Trig_Waterfall_Springs_T2_Conditions))
call TriggerAddAction(udg_trigger69,function Trig_Waterfall_Springs_T2_Actions)
set udg_trigger70=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger70,udg_rect15)
call TriggerAddCondition(udg_trigger70,Condition(function Trig_Flood_Plains_T1_Conditions))
call TriggerAddAction(udg_trigger70,function Trig_Flood_Plains_T1_Actions)
set udg_trigger71=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger71,udg_rect19)
call TriggerAddCondition(udg_trigger71,Condition(function Trig_Flood_Plains_T2_Conditions))
call TriggerAddAction(udg_trigger71,function Trig_Flood_Plains_T2_Actions)
set udg_trigger72=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger72,3.00)
call TriggerAddCondition(udg_trigger72,Condition(function Trig_Win_T1_Conditions))
call TriggerAddAction(udg_trigger72,function Trig_Win_T1_Actions)
set udg_trigger73=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger73,3.00)
call TriggerAddCondition(udg_trigger73,Condition(function Trig_Win_T2_Conditions))
call TriggerAddAction(udg_trigger73,function Trig_Win_T2_Actions)
set udg_trigger74=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger74,udg_unit09,EVENT_UNIT_DEATH)
call TriggerAddAction(udg_trigger74,function Trig_Lose_Red_Actions)
set udg_trigger75=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger75,udg_unit10,EVENT_UNIT_DEATH)
call TriggerAddAction(udg_trigger75,function Trig_Lose_Blue_Actions)
set udg_trigger76=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger76,udg_unit11,EVENT_UNIT_DEATH)
call TriggerAddAction(udg_trigger76,function Trig_Lose_Teal_Actions)
set udg_trigger77=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger77,udg_unit12,EVENT_UNIT_DEATH)
call TriggerAddAction(udg_trigger77,function Trig_Lose_Purple_Actions)
set udg_trigger78=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger78,udg_unit13,EVENT_UNIT_DEATH)
call TriggerAddAction(udg_trigger78,function Trig_Lose_Yellow_Actions)
set udg_trigger79=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger79,udg_unit14,EVENT_UNIT_DEATH)
call TriggerAddAction(udg_trigger79,function Trig_Lose_Orange_Actions)
set udg_trigger80=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger80,2.00)
call TriggerAddCondition(udg_trigger80,Condition(function Trig_Red_Leaves_Game_Conditions))
call TriggerAddAction(udg_trigger80,function Trig_Red_Leaves_Game_Actions)
set udg_trigger81=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger81,2.00)
call TriggerAddCondition(udg_trigger81,Condition(function Trig_Blue_Leaves_Game_Conditions))
call TriggerAddAction(udg_trigger81,function Trig_Blue_Leaves_Game_Actions)
set udg_trigger82=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger82,2.00)
call TriggerAddCondition(udg_trigger82,Condition(function Trig_Teal_Leaves_Game_Conditions))
call TriggerAddAction(udg_trigger82,function Trig_Teal_Leaves_Game_Actions)
set udg_trigger83=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger83,2.00)
call TriggerAddCondition(udg_trigger83,Condition(function Trig_Purple_Leaves_Game_Conditions))
call TriggerAddAction(udg_trigger83,function Trig_Purple_Leaves_Game_Actions)
set udg_trigger84=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger84,2.00)
call TriggerAddCondition(udg_trigger84,Condition(function Trig_Yellow_Leaves_Game_Conditions))
call TriggerAddAction(udg_trigger84,function Trig_Yellow_Leaves_Game_Actions)
set udg_trigger85=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger85,2.00)
call TriggerAddCondition(udg_trigger85,Condition(function Trig_Orange_Leaves_Game_Conditions))
call TriggerAddAction(udg_trigger85,function Trig_Orange_Leaves_Game_Actions)
set udg_trigger86=CreateTrigger()
call DisableTrigger(udg_trigger86)
call TriggerRegisterTimerEventPeriodic(udg_trigger86,25.00)
call TriggerAddAction(udg_trigger86,function Trig_Red_Leaving_Income_Actions)
set udg_trigger87=CreateTrigger()
call DisableTrigger(udg_trigger87)
call TriggerRegisterTimerEventPeriodic(udg_trigger87,25.00)
call TriggerAddAction(udg_trigger87,function Trig_Blue_Leaving_Income_Actions)
set udg_trigger88=CreateTrigger()
call DisableTrigger(udg_trigger88)
call TriggerRegisterTimerEventPeriodic(udg_trigger88,25.00)
call TriggerAddAction(udg_trigger88,function Trig_Teal_Leaving_Income_Actions)
set udg_trigger89=CreateTrigger()
call DisableTrigger(udg_trigger89)
call TriggerRegisterTimerEventPeriodic(udg_trigger89,25.00)
call TriggerAddAction(udg_trigger89,function Trig_Purple_Leaving_Income_Actions)
set udg_trigger90=CreateTrigger()
call DisableTrigger(udg_trigger90)
call TriggerRegisterTimerEventPeriodic(udg_trigger90,25.00)
call TriggerAddAction(udg_trigger90,function Trig_Yellow_Leaving_Income_Actions)
set udg_trigger91=CreateTrigger()
call DisableTrigger(udg_trigger91)
call TriggerRegisterTimerEventPeriodic(udg_trigger91,25.00)
call TriggerAddAction(udg_trigger91,function Trig_Orange_Leaving_Income_Actions)
set udg_trigger92=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger92,Player(0),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger92,Player(1),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger92,Player(2),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerAddCondition(udg_trigger92,Condition(function Trig_Fortified_Watch_Tower_T1_Conditions))
call TriggerAddAction(udg_trigger92,function Trig_Fortified_Watch_Tower_T1_Actions)
set udg_trigger93=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger93,Player(3),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger93,Player(4),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger93,Player(5),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerAddCondition(udg_trigger93,Condition(function Trig_Fortified_Watch_Tower_T2_Conditions))
call TriggerAddAction(udg_trigger93,function Trig_Fortified_Watch_Tower_T2_Actions)
set udg_trigger94=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger94,Player(0),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger94,Player(1),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger94,Player(2),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerAddCondition(udg_trigger94,Condition(function Trig_Guard_Tower_T1_Conditions))
call TriggerAddAction(udg_trigger94,function Trig_Guard_Tower_T1_Actions)
set udg_trigger95=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger95,Player(3),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger95,Player(4),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger95,Player(5),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerAddCondition(udg_trigger95,Condition(function Trig_Guard_Tower_T2_Conditions))
call TriggerAddAction(udg_trigger95,function Trig_Guard_Tower_T2_Actions)
set udg_trigger96=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger96,Player(0),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger96,Player(1),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger96,Player(2),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerAddCondition(udg_trigger96,Condition(function Trig_Cannon_Tower_T1_Conditions))
call TriggerAddAction(udg_trigger96,function Trig_Cannon_Tower_T1_Actions)
set udg_trigger97=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger97,Player(3),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger97,Player(4),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger97,Player(5),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerAddCondition(udg_trigger97,Condition(function Trig_Cannon_Tower_T2_Conditions))
call TriggerAddAction(udg_trigger97,function Trig_Cannon_Tower_T2_Actions)
set udg_trigger98=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger98,Player(0),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger98,Player(1),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger98,Player(2),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerAddCondition(udg_trigger98,Condition(function Trig_Military_Defense_T1_Conditions))
call TriggerAddAction(udg_trigger98,function Trig_Military_Defense_T1_Actions)
set udg_trigger99=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger99,Player(3),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger99,Player(4),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger99,Player(5),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerAddCondition(udg_trigger99,Condition(function Trig_Military_Defense_T2_Conditions))
call TriggerAddAction(udg_trigger99,function Trig_Military_Defense_T2_Actions)
set udg_trigger100=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger100,Player(0),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger100,Player(1),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger100,Player(2),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerAddCondition(udg_trigger100,Condition(function Trig_Artillery_Turret_T1_Conditions))
call TriggerAddAction(udg_trigger100,function Trig_Artillery_Turret_T1_Actions)
set udg_trigger101=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger101,Player(3),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger101,Player(4),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger101,Player(5),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerAddCondition(udg_trigger101,Condition(function Trig_Artillery_Turret_T2_Conditions))
call TriggerAddAction(udg_trigger101,function Trig_Artillery_Turret_T2_Actions)
set udg_trigger102=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger102,Player(0),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger102,Player(1),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger102,Player(2),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger102,Player(3),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger102,Player(4),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger102,Player(5),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerAddCondition(udg_trigger102,Condition(function Trig_Obelisk_Conditions))
call TriggerAddAction(udg_trigger102,function Trig_Obelisk_Actions)
set udg_trigger103=CreateTrigger()
call DisableTrigger(udg_trigger103)
call TriggerRegisterTimerEventPeriodic(udg_trigger103,25.00)
call TriggerAddAction(udg_trigger103,function Trig_Obelisk_Effect_Actions)
set udg_trigger104=CreateTrigger()
call DisableTrigger(udg_trigger104)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger104,Player(0),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger104,Player(1),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger104,Player(2),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger104,Player(3),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger104,Player(4),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger104,Player(5),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerAddCondition(udg_trigger104,Condition(function Trig_Single_Obelisk_Conditions))
call TriggerAddAction(udg_trigger104,function Trig_Single_Obelisk_Actions)
set udg_trigger105=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger105,Player(0),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger105,Player(1),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger105,Player(2),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger105,Player(3),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger105,Player(4),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger105,Player(5),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerAddCondition(udg_trigger105,Condition(function Trig_Great_Wall_Conditions))
call TriggerAddAction(udg_trigger105,function Trig_Great_Wall_Actions)
set udg_trigger106=CreateTrigger()
call DisableTrigger(udg_trigger106)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger106,Player(0),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger106,Player(1),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger106,Player(2),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger106,Player(3),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger106,Player(4),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger106,Player(5),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerAddCondition(udg_trigger106,Condition(function Trig_Single_Great_Wall_Conditions))
call TriggerAddAction(udg_trigger106,function Trig_Single_Great_Wall_Actions)
set udg_trigger107=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger107,Player(0),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger107,Player(1),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger107,Player(2),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger107,Player(3),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger107,Player(4),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger107,Player(5),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerAddCondition(udg_trigger107,Condition(function Trig_Guarded_Waygate_Conditions))
call TriggerAddAction(udg_trigger107,function Trig_Guarded_Waygate_Actions)
set udg_trigger108=CreateTrigger()
call DisableTrigger(udg_trigger108)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger108,Player(0),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger108,Player(1),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger108,Player(2),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger108,Player(3),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger108,Player(4),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger108,Player(5),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerAddCondition(udg_trigger108,Condition(function Trig_Single_Guarded_Waygate_Conditions))
call TriggerAddAction(udg_trigger108,function Trig_Single_Guarded_Waygate_Actions)
set udg_trigger109=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger109,Player(0),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger109,Player(1),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger109,Player(2),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger109,Player(3),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger109,Player(4),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger109,Player(5),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerAddCondition(udg_trigger109,Condition(function Trig_The_Hub_Conditions))
call TriggerAddAction(udg_trigger109,function Trig_The_Hub_Actions)
set udg_trigger110=CreateTrigger()
call DisableTrigger(udg_trigger110)
call TriggerRegisterTimerEventPeriodic(udg_trigger110,25.00)
call TriggerAddAction(udg_trigger110,function Trig_The_Hub_Effect_Actions)
set udg_trigger111=CreateTrigger()
call DisableTrigger(udg_trigger111)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger111,Player(0),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger111,Player(1),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger111,Player(2),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger111,Player(3),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger111,Player(4),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger111,Player(5),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerAddCondition(udg_trigger111,Condition(function Trig_Single_The_Hub_Conditions))
call TriggerAddAction(udg_trigger111,function Trig_Single_The_Hub_Actions)
set udg_trigger112=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger112,Player(0),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger112,Player(1),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger112,Player(2),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger112,Player(3),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger112,Player(4),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger112,Player(5),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerAddCondition(udg_trigger112,Condition(function Trig_Hero_Dueling_Grounds_Conditions))
call TriggerAddAction(udg_trigger112,function Trig_Hero_Dueling_Grounds_Actions)
set udg_trigger113=CreateTrigger()
call DisableTrigger(udg_trigger113)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger113,Player(0),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger113,Player(1),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger113,Player(2),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger113,Player(3),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger113,Player(4),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger113,Player(5),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerAddCondition(udg_trigger113,Condition(function Trig_Single_Hero_Dueling_Grounds_Conditions))
call TriggerAddAction(udg_trigger113,function Trig_Single_Hero_Dueling_Grounds_Actions)
set udg_trigger114=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger114,EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerAddCondition(udg_trigger114,Condition(function Trig_Hero_Dueling_Grounds_Effect_Conditions))
call TriggerAddAction(udg_trigger114,function Trig_Hero_Dueling_Grounds_Effect_Actions)
set udg_trigger115=CreateTrigger()
call DisableTrigger(udg_trigger115)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger115,Player(6),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger115,Player(7),EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger115,Condition(function Trig_Hero_Dueling_Grounds_Revive_Conditions))
call TriggerAddAction(udg_trigger115,function Trig_Hero_Dueling_Grounds_Revive_Actions)
set udg_trigger116=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger116,Player(0),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger116,Player(1),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger116,Player(2),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger116,Player(3),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger116,Player(4),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger116,Player(5),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerAddCondition(udg_trigger116,Condition(function Trig_Weapon_Arsenal_Conditions))
call TriggerAddAction(udg_trigger116,function Trig_Weapon_Arsenal_Actions)
set udg_trigger117=CreateTrigger()
call DisableTrigger(udg_trigger117)
call TriggerRegisterTimerEventPeriodic(udg_trigger117,40.00)
call TriggerAddAction(udg_trigger117,function Trig_Weapon_Arsenal_Effect_Actions)
set udg_trigger118=CreateTrigger()
call DisableTrigger(udg_trigger118)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger118,Player(0),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger118,Player(1),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger118,Player(2),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger118,Player(3),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger118,Player(4),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger118,Player(5),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerAddCondition(udg_trigger118,Condition(function Trig_Single_Weapon_Arsenal_Conditions))
call TriggerAddAction(udg_trigger118,function Trig_Single_Weapon_Arsenal_Actions)
set udg_trigger119=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger119,Player(0),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger119,Player(1),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger119,Player(2),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger119,Player(3),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger119,Player(4),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger119,Player(5),EVENT_PLAYER_UNIT_CONSTRUCT_FINISH)
call TriggerAddCondition(udg_trigger119,Condition(function Trig_Vulcan_M61_Conditions))
call TriggerAddAction(udg_trigger119,function Trig_Vulcan_M61_Actions)
set udg_trigger120=CreateTrigger()
call DisableTrigger(udg_trigger120)
call TriggerRegisterAnyUnitEventBJ(udg_trigger120,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(udg_trigger120,Condition(function Trig_Vulcan_M61_Effect_Conditions))
call TriggerAddAction(udg_trigger120,function Trig_Vulcan_M61_Effect_Actions)
set udg_trigger121=CreateTrigger()
call DisableTrigger(udg_trigger121)
call TriggerAddCondition(udg_trigger121,Condition(function Trig_Vulcan_M61_Effect2_Conditions))
call TriggerAddAction(udg_trigger121,function Trig_Vulcan_M61_Effect2_Actions)
set udg_trigger122=CreateTrigger()
call DisableTrigger(udg_trigger122)
call TriggerAddAction(udg_trigger122,function Trig_Vulcan_M61_Effect3_Actions)
set udg_trigger123=CreateTrigger()
call DisableTrigger(udg_trigger123)
call TriggerRegisterAnyUnitEventBJ(udg_trigger123,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger123,Condition(function Trig_Vulcan_M61_Effect4_Conditions))
call TriggerAddAction(udg_trigger123,function Trig_Vulcan_M61_Effect4_Actions)
set udg_trigger124=CreateTrigger()
call DisableTrigger(udg_trigger124)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger124,Player(0),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger124,Player(1),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger124,Player(2),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger124,Player(3),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger124,Player(4),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger124,Player(5),EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerAddCondition(udg_trigger124,Condition(function Trig_Single_Vulcan_M61_Conditions))
call TriggerAddAction(udg_trigger124,function Trig_Single_Vulcan_M61_Actions)
set udg_trigger125=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger125,25.00)
call TriggerAddAction(udg_trigger125,function Trig_Extra_Income_Actions)
set udg_trigger126=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger126,EVENT_PLAYER_UNIT_CONSTRUCT_START)
call TriggerAddCondition(udg_trigger126,Condition(function Trig_Max_Markets_Conditions))
call TriggerAddAction(udg_trigger126,function Trig_Max_Markets_Actions)
set udg_trigger127=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger127,EVENT_PLAYER_UNIT_UPGRADE_START)
call TriggerAddCondition(udg_trigger127,Condition(function Trig_Max_Stock_Markets_Conditions))
call TriggerAddAction(udg_trigger127,function Trig_Max_Stock_Markets_Actions)
set udg_trigger128=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger128,Player(0),"23305008640563",true)
call TriggerAddAction(udg_trigger128,function Trig_Activate_Actions)
set udg_trigger129=CreateTrigger()
call DisableTrigger(udg_trigger129)
call TriggerRegisterPlayerChatEvent(udg_trigger129,Player(0),"-kick blue",true)
call TriggerAddAction(udg_trigger129,function Trig_Blue_Actions)
set udg_trigger130=CreateTrigger()
call DisableTrigger(udg_trigger130)
call TriggerRegisterPlayerChatEvent(udg_trigger130,Player(0),"-kick teal",true)
call TriggerAddAction(udg_trigger130,function Trig_Teal_Actions)
set udg_trigger131=CreateTrigger()
call DisableTrigger(udg_trigger131)
call TriggerRegisterPlayerChatEvent(udg_trigger131,Player(0),"-kick purple",true)
call TriggerAddAction(udg_trigger131,function Trig_Purple_Actions)
set udg_trigger132=CreateTrigger()
call DisableTrigger(udg_trigger132)
call TriggerRegisterPlayerChatEvent(udg_trigger132,Player(0),"-kick yellow",true)
call TriggerAddAction(udg_trigger132,function Trig_Yellow_Actions)
set udg_trigger133=CreateTrigger()
call DisableTrigger(udg_trigger133)
call TriggerRegisterPlayerChatEvent(udg_trigger133,Player(0),"-kick orange",true)
call TriggerAddAction(udg_trigger133,function Trig_Orange_Actions)
set udg_trigger134=CreateTrigger()
call DisableTrigger(udg_trigger134)
call TriggerRegisterPlayerChatEvent(udg_trigger134,Player(0),"-bombsaway",true)
call TriggerAddAction(udg_trigger134,function Trig_BombsAway_Actions)
set udg_trigger135=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger135,Player(0),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger135,Player(1),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger135,Player(2),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger135,Player(3),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger135,Player(4),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger135,Player(5),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerAddCondition(udg_trigger135,Condition(function Trig_Alpha_Wolf_Conditions))
call TriggerAddAction(udg_trigger135,function Trig_Alpha_Wolf_Actions)
set udg_trigger136=CreateTrigger()
call DisableTrigger(udg_trigger136)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger136,Player(0),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger136,Player(1),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger136,Player(2),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger136,Player(3),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger136,Player(4),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger136,Player(5),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerAddCondition(udg_trigger136,Condition(function Trig_Single_Alpha_Wolf_Conditions))
call TriggerAddAction(udg_trigger136,function Trig_Single_Alpha_Wolf_Actions)
set udg_trigger137=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger137,Player(0),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger137,Player(1),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger137,Player(2),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger137,Player(3),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger137,Player(4),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger137,Player(5),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerAddCondition(udg_trigger137,Condition(function Trig_Archer_Leader_Conditions))
call TriggerAddAction(udg_trigger137,function Trig_Archer_Leader_Actions)
set udg_trigger138=CreateTrigger()
call DisableTrigger(udg_trigger138)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger138,Player(0),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger138,Player(1),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger138,Player(2),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger138,Player(3),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger138,Player(4),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger138,Player(5),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerAddCondition(udg_trigger138,Condition(function Trig_Single_Archer_Leader_Conditions))
call TriggerAddAction(udg_trigger138,function Trig_Single_Archer_Leader_Actions)
set udg_trigger139=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger139,Player(0),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger139,Player(1),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger139,Player(2),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger139,Player(3),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger139,Player(4),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger139,Player(5),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerAddCondition(udg_trigger139,Condition(function Trig_Stealth_Trapper_Conditions))
call TriggerAddAction(udg_trigger139,function Trig_Stealth_Trapper_Actions)
set udg_trigger140=CreateTrigger()
call DisableTrigger(udg_trigger140)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger140,Player(0),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger140,Player(1),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger140,Player(2),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger140,Player(3),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger140,Player(4),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger140,Player(5),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerAddCondition(udg_trigger140,Condition(function Trig_Single_Stealth_Trapper_Conditions))
call TriggerAddAction(udg_trigger140,function Trig_Single_Stealth_Trapper_Actions)
set udg_trigger141=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger141,Player(0),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger141,Player(1),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger141,Player(2),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger141,Player(3),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger141,Player(4),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger141,Player(5),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerAddCondition(udg_trigger141,Condition(function Trig_King_Arthur_Conditions))
call TriggerAddAction(udg_trigger141,function Trig_King_Arthur_Actions)
set udg_trigger142=CreateTrigger()
call DisableTrigger(udg_trigger142)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger142,Player(0),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger142,Player(1),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger142,Player(2),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger142,Player(3),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger142,Player(4),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger142,Player(5),EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerAddCondition(udg_trigger142,Condition(function Trig_Single_King_Arthur_Conditions))
call TriggerAddAction(udg_trigger142,function Trig_Single_King_Arthur_Actions)
set udg_trigger143=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger143,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger143,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger143,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger143,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger143,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger143,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger143,Condition(function Trig_Sharded_Boots_Conditions))
call TriggerAddAction(udg_trigger143,function Trig_Sharded_Boots_Actions)
set udg_trigger144=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger144,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger144,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger144,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger144,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger144,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger144,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger144,Condition(function Trig_Shining_Claw_Conditions))
call TriggerAddAction(udg_trigger144,function Trig_Shining_Claw_Actions)
set udg_trigger145=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger145,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger145,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger145,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger145,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger145,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger145,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger145,Condition(function Trig_Orb_of_Frost_Conditions))
call TriggerAddAction(udg_trigger145,function Trig_Orb_of_Frost_Actions)
set udg_trigger146=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger146,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger146,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger146,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger146,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger146,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger146,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger146,Condition(function Trig_Orb_of_Fire_Conditions))
call TriggerAddAction(udg_trigger146,function Trig_Orb_of_Fire_Actions)
set udg_trigger147=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger147,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger147,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger147,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger147,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger147,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger147,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger147,Condition(function Trig_Orb_of_Earth_Conditions))
call TriggerAddAction(udg_trigger147,function Trig_Orb_of_Earth_Actions)
set udg_trigger148=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger148,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger148,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger148,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger148,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger148,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger148,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger148,Condition(function Trig_Orb_of_Water_Conditions))
call TriggerAddAction(udg_trigger148,function Trig_Orb_of_Water_Actions)
set udg_trigger149=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger149,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger149,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger149,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger149,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger149,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger149,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger149,Condition(function Trig_Orb_of_Shock_Conditions))
call TriggerAddAction(udg_trigger149,function Trig_Orb_of_Shock_Actions)
set udg_trigger150=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger150,Player(0),"-remove slot1",true)
call TriggerRegisterPlayerChatEvent(udg_trigger150,Player(1),"-remove slot1",true)
call TriggerRegisterPlayerChatEvent(udg_trigger150,Player(2),"-remove slot1",true)
call TriggerRegisterPlayerChatEvent(udg_trigger150,Player(3),"-remove slot1",true)
call TriggerRegisterPlayerChatEvent(udg_trigger150,Player(4),"-remove slot1",true)
call TriggerRegisterPlayerChatEvent(udg_trigger150,Player(5),"-remove slot1",true)
call TriggerAddAction(udg_trigger150,function Trig_Remove_Item_Slot_1_Actions)
set udg_trigger151=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger151,Player(0),"-remove slot2",true)
call TriggerRegisterPlayerChatEvent(udg_trigger151,Player(1),"-remove slot2",true)
call TriggerRegisterPlayerChatEvent(udg_trigger151,Player(2),"-remove slot2",true)
call TriggerRegisterPlayerChatEvent(udg_trigger151,Player(3),"-remove slot2",true)
call TriggerRegisterPlayerChatEvent(udg_trigger151,Player(4),"-remove slot2",true)
call TriggerRegisterPlayerChatEvent(udg_trigger151,Player(5),"-remove slot2",true)
call TriggerAddAction(udg_trigger151,function Trig_Remove_Item_Slot_2_Actions)
set udg_trigger152=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger152,Player(0),"-remove slot3",true)
call TriggerRegisterPlayerChatEvent(udg_trigger152,Player(1),"-remove slot3",true)
call TriggerRegisterPlayerChatEvent(udg_trigger152,Player(2),"-remove slot3",true)
call TriggerRegisterPlayerChatEvent(udg_trigger152,Player(3),"-remove slot3",true)
call TriggerRegisterPlayerChatEvent(udg_trigger152,Player(4),"-remove slot3",true)
call TriggerRegisterPlayerChatEvent(udg_trigger152,Player(5),"-remove slot3",true)
call TriggerAddAction(udg_trigger152,function Trig_Remove_Item_Slot_3_Actions)
set udg_trigger153=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger153,Player(0),"-remove slot4",true)
call TriggerRegisterPlayerChatEvent(udg_trigger153,Player(1),"-remove slot4",true)
call TriggerRegisterPlayerChatEvent(udg_trigger153,Player(2),"-remove slot4",true)
call TriggerRegisterPlayerChatEvent(udg_trigger153,Player(3),"-remove slot4",true)
call TriggerRegisterPlayerChatEvent(udg_trigger153,Player(4),"-remove slot4",true)
call TriggerRegisterPlayerChatEvent(udg_trigger153,Player(5),"-remove slot4",true)
call TriggerAddAction(udg_trigger153,function Trig_Remove_Item_Slot_4_Actions)
set udg_trigger154=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger154,Player(0),"-remove slot5",true)
call TriggerRegisterPlayerChatEvent(udg_trigger154,Player(1),"-remove slot5",true)
call TriggerRegisterPlayerChatEvent(udg_trigger154,Player(2),"-remove slot5",true)
call TriggerRegisterPlayerChatEvent(udg_trigger154,Player(3),"-remove slot5",true)
call TriggerRegisterPlayerChatEvent(udg_trigger154,Player(4),"-remove slot5",true)
call TriggerRegisterPlayerChatEvent(udg_trigger154,Player(5),"-remove slot5",true)
call TriggerAddAction(udg_trigger154,function Trig_Remove_Item_Slot_5_Actions)
set udg_trigger155=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger155,Player(0),"-remove slot6",true)
call TriggerRegisterPlayerChatEvent(udg_trigger155,Player(1),"-remove slot6",true)
call TriggerRegisterPlayerChatEvent(udg_trigger155,Player(2),"-remove slot6",true)
call TriggerRegisterPlayerChatEvent(udg_trigger155,Player(3),"-remove slot6",true)
call TriggerRegisterPlayerChatEvent(udg_trigger155,Player(4),"-remove slot6",true)
call TriggerRegisterPlayerChatEvent(udg_trigger155,Player(5),"-remove slot6",true)
call TriggerAddAction(udg_trigger155,function Trig_Remove_Item_Slot_6_Actions)
set udg_trigger156=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger156,Player(0),"-music",false)
call TriggerAddCondition(udg_trigger156,Condition(function Trig_Stop42_Conditions))
call TriggerAddAction(udg_trigger156,function Trig_Stop42_Actions)
set udg_trigger157=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger157,Player(0),"-music on",true)
call TriggerAddAction(udg_trigger157,function Trig_Music_Actions)
set udg_trigger158=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger158,Player(0),"-music 01",true)
call TriggerAddAction(udg_trigger158,function Trig_Track01_Actions)
set udg_trigger159=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger159,Player(0),"-music 02",true)
call TriggerAddAction(udg_trigger159,function Trig_Track02_Actions)
set udg_trigger160=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger160,Player(0),"-music 03",true)
call TriggerAddAction(udg_trigger160,function Trig_Track03_Actions)
set udg_trigger161=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger161,Player(0),"-music 04",true)
call TriggerAddAction(udg_trigger161,function Trig_Track04_Actions)
set udg_trigger162=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger162,Player(0),"-music 05",true)
call TriggerAddAction(udg_trigger162,function Trig_Track05_Actions)
set udg_trigger163=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger163,Player(0),"-music 06",true)
call TriggerAddAction(udg_trigger163,function Trig_Track06_Actions)
set udg_trigger164=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger164,Player(0),"-music 07",true)
call TriggerAddAction(udg_trigger164,function Trig_Track07_Actions)
set udg_trigger165=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger165,Player(0),"-music 08",true)
call TriggerAddAction(udg_trigger165,function Trig_Track08_Actions)
set udg_trigger166=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger166,Player(0),"-music 09",true)
call TriggerAddAction(udg_trigger166,function Trig_Track09_Actions)
set udg_trigger167=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger167,Player(0),"-music 10",true)
call TriggerAddAction(udg_trigger167,function Trig_Track10_Actions)
set udg_trigger168=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger168,Player(0),"-music 11",true)
call TriggerAddAction(udg_trigger168,function Trig_Track11_Actions)
set udg_trigger169=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger169,Player(0),"-music 12",true)
call TriggerAddAction(udg_trigger169,function Trig_Track12_Actions)
set udg_trigger170=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger170,Player(0),"-music 13",true)
call TriggerAddAction(udg_trigger170,function Trig_Track13_Actions)
set udg_trigger171=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger171,Player(0),"-music 14",true)
call TriggerAddAction(udg_trigger171,function Trig_Track14_Actions)
set udg_trigger172=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger172,Player(0),"-music 15",true)
call TriggerAddAction(udg_trigger172,function Trig_Track15_Actions)
set udg_trigger173=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger173,Player(0),"-music 16",true)
call TriggerAddAction(udg_trigger173,function Trig_Track16_Actions)
set udg_trigger174=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger174,Player(0),"-music 18",true)
call TriggerAddAction(udg_trigger174,function Trig_Track18_Actions)
set udg_trigger175=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger175,Player(0),"-music 17",true)
call TriggerAddAction(udg_trigger175,function Trig_Track17_Actions)
set udg_trigger176=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger176,Player(0),"-music 13",true)
call TriggerAddAction(udg_trigger176,function Trig_Track19_Actions)
set udg_trigger177=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger177,Player(0),"-music 20",true)
call TriggerAddAction(udg_trigger177,function Trig_Track20_Actions)
set udg_trigger178=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger178,Player(0),"-music 21",true)
call TriggerAddAction(udg_trigger178,function Trig_Track21_Actions)
set udg_trigger179=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger179,Player(0),"-music 22",true)
call TriggerAddAction(udg_trigger179,function Trig_Track22_Actions)
set udg_trigger180=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger180,Player(0),"-music 23",true)
call TriggerAddAction(udg_trigger180,function Trig_Track23_Actions)
set udg_trigger181=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger181,Player(0),"-music 24",true)
call TriggerAddAction(udg_trigger181,function Trig_Track24_Actions)
set udg_trigger182=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger182,Player(0),"-music 25",true)
call TriggerAddAction(udg_trigger182,function Trig_Track25_Actions)
set udg_trigger183=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger183,Player(0),"-music 26",true)
call TriggerAddAction(udg_trigger183,function Trig_Track26_Actions)
set udg_trigger184=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger184,Player(0),"-music 27",true)
call TriggerAddAction(udg_trigger184,function Trig_Track27_Actions)
set udg_trigger185=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger185,Player(0),"-music 28",true)
call TriggerAddAction(udg_trigger185,function Trig_Track28_Actions)
set udg_trigger186=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger186,Player(0),"-music 29",true)
call TriggerAddAction(udg_trigger186,function Trig_Track29_Actions)
set udg_trigger187=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger187,Player(0),"-music 30",true)
call TriggerAddAction(udg_trigger187,function Trig_Track30_Actions)
set udg_trigger188=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger188,Player(0),"-music 31",true)
call TriggerAddAction(udg_trigger188,function Trig_Track31_Actions)
set udg_trigger189=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger189,Player(0),"-music 32",true)
call TriggerAddAction(udg_trigger189,function Trig_Track32_Actions)
set udg_trigger190=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger190,Player(0),"-music 33",true)
call TriggerAddAction(udg_trigger190,function Trig_Track33_Actions)
set udg_trigger191=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger191,Player(0),"-music 34",true)
call TriggerAddAction(udg_trigger191,function Trig_Track34_Actions)
set udg_trigger192=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger192,Player(0),"-music 35",true)
call TriggerAddAction(udg_trigger192,function Trig_Track35_Actions)
set udg_trigger193=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger193,Player(0),"-music 36",true)
call TriggerAddAction(udg_trigger193,function Trig_Track36_Actions)
set udg_trigger194=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger194,Player(0),"-music 37",true)
call TriggerAddAction(udg_trigger194,function Trig_Track37_Actions)
set udg_trigger195=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger195,Player(0),"-music 38",true)
call TriggerAddAction(udg_trigger195,function Trig_Track38_Actions)
set udg_trigger196=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger196,Player(0),"-music 39",true)
call TriggerAddAction(udg_trigger196,function Trig_Track39_Actions)
set udg_trigger197=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger197,Player(0),"-music 40",true)
call TriggerAddAction(udg_trigger197,function Trig_Track40_Actions)
set udg_trigger198=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger198,Player(0),"-music 41",true)
call TriggerAddAction(udg_trigger198,function Trig_Track41_Actions)
set udg_trigger199=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger199,Player(0),"-music 42",true)
call TriggerAddAction(udg_trigger199,function Trig_Track42_Actions)
set udg_trigger200=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger200,Player(0),"-music 43",true)
call TriggerAddAction(udg_trigger200,function Trig_Track43_Actions)
call ConditionalTriggerExecute(udg_trigger01)
call ConditionalTriggerExecute(udg_trigger03)
endfunction
function InitTrig_init takes nothing returns nothing
call ExecuteFunc("main2")
endfunction