Name | Type | is_array | initial_value |
Human | force | No | |
Orc | force | No |
function Trig_Human_Won_Func001002 takes nothing returns nothing
call CustomVictoryBJ( GetEnumPlayer(), true, true )
endfunction
function Trig_Human_Won_Func002002 takes nothing returns nothing
call CustomDefeatBJ( GetEnumPlayer(), "TRIGSTR_2198" )
endfunction
function Trig_Human_Won_Actions takes nothing returns nothing
call ForForce( udg_Human, function Trig_Human_Won_Func001002 )
call ForForce( udg_Orc, function Trig_Human_Won_Func002002 )
call DisableTrigger( gg_trg_Orc_Won )
endfunction
//===========================================================================
function InitTrig_Human_Won takes nothing returns nothing
set gg_trg_Human_Won = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Human_Won, gg_unit_nshr_0053, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Human_Won, function Trig_Human_Won_Actions )
endfunction
function Trig_Orc_Won_Func001002 takes nothing returns nothing
call CustomVictoryBJ( GetEnumPlayer(), true, true )
endfunction
function Trig_Orc_Won_Func002002 takes nothing returns nothing
call CustomDefeatBJ( GetEnumPlayer(), "TRIGSTR_2200" )
endfunction
function Trig_Orc_Won_Actions takes nothing returns nothing
call ForForce( udg_Orc, function Trig_Orc_Won_Func001002 )
call ForForce( udg_Human, function Trig_Orc_Won_Func002002 )
call DisableTrigger( gg_trg_Human_Won )
endfunction
//===========================================================================
function InitTrig_Orc_Won takes nothing returns nothing
set gg_trg_Orc_Won = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Orc_Won, gg_unit_haro_0052, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Orc_Won, function Trig_Orc_Won_Actions )
endfunction
function Trig_Summon_Rifle_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R007' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Rifle_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Rifle )
endfunction
//===========================================================================
function InitTrig_Summon_Rifle takes nothing returns nothing
set gg_trg_Summon_Rifle = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Rifle, gg_unit_hbla_0023, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Rifle, Condition( function Trig_Summon_Rifle_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Rifle, function Trig_Summon_Rifle_Actions )
endfunction
function Trig_Bring_Rifle_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hrif', Player(0), GetRectCenter(gg_rct_Player_1), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Rifle takes nothing returns nothing
set gg_trg_Bring_Rifle = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Rifle )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Rifle, 30.00 )
call TriggerAddAction( gg_trg_Bring_Rifle, function Trig_Bring_Rifle_Actions )
endfunction
function Trig_Summon_Sorc_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00G' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Sorc_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Sorc )
endfunction
//===========================================================================
function InitTrig_Summon_Sorc takes nothing returns nothing
set gg_trg_Summon_Sorc = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Sorc, gg_unit_hbla_0023, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Sorc, Condition( function Trig_Summon_Sorc_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Sorc, function Trig_Summon_Sorc_Actions )
endfunction
function Trig_Bring_Sorc_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hsor', Player(0), GetRectCenter(gg_rct_Player_1), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Sorc takes nothing returns nothing
set gg_trg_Bring_Sorc = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Sorc )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Sorc, 50.00 )
call TriggerAddAction( gg_trg_Bring_Sorc, function Trig_Bring_Sorc_Actions )
endfunction
function Trig_Summon_Preist_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R004' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Preist_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Preist )
endfunction
//===========================================================================
function InitTrig_Summon_Preist takes nothing returns nothing
set gg_trg_Summon_Preist = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Preist, gg_unit_hbla_0023, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Preist, Condition( function Trig_Summon_Preist_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Preist, function Trig_Summon_Preist_Actions )
endfunction
function Trig_Bring_Preist_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hmpr', Player(0), GetRectCenter(gg_rct_Player_1), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Preist takes nothing returns nothing
set gg_trg_Bring_Preist = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Preist )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Preist, 45.00 )
call TriggerAddAction( gg_trg_Bring_Preist, function Trig_Bring_Preist_Actions )
endfunction
function Trig_Summon_Spell_Breaker_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R005' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Spell_Breaker_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Spell_Breaker )
endfunction
//===========================================================================
function InitTrig_Summon_Spell_Breaker takes nothing returns nothing
set gg_trg_Summon_Spell_Breaker = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Spell_Breaker, gg_unit_hbla_0023, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Spell_Breaker, Condition( function Trig_Summon_Spell_Breaker_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Spell_Breaker, function Trig_Summon_Spell_Breaker_Actions )
endfunction
function Trig_Bring_Spell_Breaker_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hspt', Player(0), GetRectCenter(gg_rct_Player_1), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Spell_Breaker takes nothing returns nothing
set gg_trg_Bring_Spell_Breaker = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Spell_Breaker )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Spell_Breaker, 50.00 )
call TriggerAddAction( gg_trg_Bring_Spell_Breaker, function Trig_Bring_Spell_Breaker_Actions )
endfunction
function Trig_Summon_Mortar_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R008' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Mortar_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Mortar )
endfunction
//===========================================================================
function InitTrig_Summon_Mortar takes nothing returns nothing
set gg_trg_Summon_Mortar = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Mortar, gg_unit_hbla_0023, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Mortar, Condition( function Trig_Summon_Mortar_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Mortar, function Trig_Summon_Mortar_Actions )
endfunction
function Trig_Bring_Mortar_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hmtm', Player(0), GetRectCenter(gg_rct_Player_1), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Mortar takes nothing returns nothing
set gg_trg_Bring_Mortar = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Mortar )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Mortar, 155.00 )
call TriggerAddAction( gg_trg_Bring_Mortar, function Trig_Bring_Mortar_Actions )
endfunction
function Trig_Summon_Knight_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R009' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Knight_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Knight )
endfunction
//===========================================================================
function InitTrig_Summon_Knight takes nothing returns nothing
set gg_trg_Summon_Knight = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Knight, gg_unit_hbla_0023, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Knight, Condition( function Trig_Summon_Knight_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Knight, function Trig_Summon_Knight_Actions )
endfunction
function Trig_Bring_Knight_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hkni', Player(0), GetRectCenter(gg_rct_Player_1), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Knight takes nothing returns nothing
set gg_trg_Bring_Knight = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Knight )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Knight, 50.00 )
call TriggerAddAction( gg_trg_Bring_Knight, function Trig_Bring_Knight_Actions )
endfunction
function Trig_Summon_Gryphon_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00A' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Gryphon_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Gryphon )
endfunction
//===========================================================================
function InitTrig_Summon_Gryphon takes nothing returns nothing
set gg_trg_Summon_Gryphon = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Gryphon, gg_unit_hbla_0023, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Gryphon, Condition( function Trig_Summon_Gryphon_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Gryphon, function Trig_Summon_Gryphon_Actions )
endfunction
function Trig_Bring_Gryphon_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hgry', Player(0), GetRectCenter(gg_rct_Player_1), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Gryphon takes nothing returns nothing
set gg_trg_Bring_Gryphon = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Gryphon )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Gryphon, 115.00 )
call TriggerAddAction( gg_trg_Bring_Gryphon, function Trig_Bring_Gryphon_Actions )
endfunction
function Trig_Summon_Noble_Knight_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R018' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Noble_Knight_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Noble_Knight )
endfunction
//===========================================================================
function InitTrig_Summon_Noble_Knight takes nothing returns nothing
set gg_trg_Summon_Noble_Knight = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Noble_Knight, gg_unit_hbla_0023, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Noble_Knight, Condition( function Trig_Summon_Noble_Knight_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Noble_Knight, function Trig_Summon_Noble_Knight_Actions )
endfunction
function Trig_Bring_Noble_Knight_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'nbld', Player(0), GetRectCenter(gg_rct_Player_1), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Noble_Knight takes nothing returns nothing
set gg_trg_Bring_Noble_Knight = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Noble_Knight )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Noble_Knight, 165.00 )
call TriggerAddAction( gg_trg_Bring_Noble_Knight, function Trig_Bring_Noble_Knight_Actions )
endfunction
function Trig_Summon_Bronze_Dragon_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R01E' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Bronze_Dragon_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Bronze_Dragon )
endfunction
//===========================================================================
function InitTrig_Summon_Bronze_Dragon takes nothing returns nothing
set gg_trg_Summon_Bronze_Dragon = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Bronze_Dragon, gg_unit_hbla_0023, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Bronze_Dragon, Condition( function Trig_Summon_Bronze_Dragon_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Bronze_Dragon, function Trig_Summon_Bronze_Dragon_Actions )
endfunction
function Trig_Bring_Bronze_Dragon_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'nbzd', Player(0), GetRectCenter(gg_rct_Player_1), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Bronze_Dragon takes nothing returns nothing
set gg_trg_Bring_Bronze_Dragon = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Bronze_Dragon )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Bronze_Dragon, 300.00 )
call TriggerAddAction( gg_trg_Bring_Bronze_Dragon, function Trig_Bring_Bronze_Dragon_Actions )
endfunction
function Trig_Summon_Archer_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00B' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Archer_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Archer )
endfunction
//===========================================================================
function InitTrig_Summon_Archer takes nothing returns nothing
set gg_trg_Summon_Archer = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Archer, gg_unit_edob_0024, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Archer, Condition( function Trig_Summon_Archer_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Archer, function Trig_Summon_Archer_Actions )
endfunction
function Trig_Bring_Archer_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'earc', Player(0), GetRectCenter(gg_rct_Player_1), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Archer takes nothing returns nothing
set gg_trg_Bring_Archer = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Archer )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Archer, 15.00 )
call TriggerAddAction( gg_trg_Bring_Archer, function Trig_Bring_Archer_Actions )
endfunction
function Trig_Summon_Huntress_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00V' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Huntress_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Huntress )
endfunction
//===========================================================================
function InitTrig_Summon_Huntress takes nothing returns nothing
set gg_trg_Summon_Huntress = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Huntress, gg_unit_edob_0024, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Huntress, Condition( function Trig_Summon_Huntress_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Huntress, function Trig_Summon_Huntress_Actions )
endfunction
function Trig_Bring_Huntress_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'esen', Player(0), GetRectCenter(gg_rct_Player_1), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Huntress takes nothing returns nothing
set gg_trg_Bring_Huntress = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Huntress )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Huntress, 28.00 )
call TriggerAddAction( gg_trg_Bring_Huntress, function Trig_Bring_Huntress_Actions )
endfunction
function Trig_Summon_Dryad_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00C' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Dryad_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Dryad )
endfunction
//===========================================================================
function InitTrig_Summon_Dryad takes nothing returns nothing
set gg_trg_Summon_Dryad = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Dryad, gg_unit_edob_0024, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Dryad, Condition( function Trig_Summon_Dryad_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Dryad, function Trig_Summon_Dryad_Actions )
endfunction
function Trig_Bring_Dryad_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'edry', Player(0), GetRectCenter(gg_rct_Player_1), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Dryad takes nothing returns nothing
set gg_trg_Bring_Dryad = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Dryad )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Dryad, 30.00 )
call TriggerAddAction( gg_trg_Bring_Dryad, function Trig_Bring_Dryad_Actions )
endfunction
function Trig_Summon_Talon_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00E' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Talon_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Talon )
endfunction
//===========================================================================
function InitTrig_Summon_Talon takes nothing returns nothing
set gg_trg_Summon_Talon = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Talon, gg_unit_edob_0024, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Talon, Condition( function Trig_Summon_Talon_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Talon, function Trig_Summon_Talon_Actions )
endfunction
function Trig_Bring_Talon_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'edot', Player(0), GetRectCenter(gg_rct_Player_1), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Talon takes nothing returns nothing
set gg_trg_Bring_Talon = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Talon )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Talon, 45.00 )
call TriggerAddAction( gg_trg_Bring_Talon, function Trig_Bring_Talon_Actions )
endfunction
function Trig_Summon_Druid_of_Claw_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00F' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Druid_of_Claw_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Druid_of_Claw )
endfunction
//===========================================================================
function InitTrig_Summon_Druid_of_Claw takes nothing returns nothing
set gg_trg_Summon_Druid_of_Claw = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Druid_of_Claw, gg_unit_edob_0024, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Druid_of_Claw, Condition( function Trig_Summon_Druid_of_Claw_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Druid_of_Claw, function Trig_Summon_Druid_of_Claw_Actions )
endfunction
function Trig_Bring_Druid_of_Claw_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'edoc', Player(0), GetRectCenter(gg_rct_Player_1), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Druid_of_Claw takes nothing returns nothing
set gg_trg_Bring_Druid_of_Claw = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Druid_of_Claw )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Druid_of_Claw, 75.00 )
call TriggerAddAction( gg_trg_Bring_Druid_of_Claw, function Trig_Bring_Druid_of_Claw_Actions )
endfunction
function Trig_Summon_MtGiant_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00D' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_MtGiant_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_MtGiant )
endfunction
//===========================================================================
function InitTrig_Summon_MtGiant takes nothing returns nothing
set gg_trg_Summon_MtGiant = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_MtGiant, gg_unit_edob_0024, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_MtGiant, Condition( function Trig_Summon_MtGiant_Conditions ) )
call TriggerAddAction( gg_trg_Summon_MtGiant, function Trig_Summon_MtGiant_Actions )
endfunction
function Trig_Bring_MtGiant_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'emtg', Player(0), GetRectCenter(gg_rct_Player_1), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_MtGiant takes nothing returns nothing
set gg_trg_Bring_MtGiant = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_MtGiant )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_MtGiant, 120.00 )
call TriggerAddAction( gg_trg_Bring_MtGiant, function Trig_Bring_MtGiant_Actions )
endfunction
function Trig_Summon_Chimaera_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00H' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Chimaera_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Chimaera )
endfunction
//===========================================================================
function InitTrig_Summon_Chimaera takes nothing returns nothing
set gg_trg_Summon_Chimaera = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Chimaera, gg_unit_edob_0024, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Chimaera, Condition( function Trig_Summon_Chimaera_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Chimaera, function Trig_Summon_Chimaera_Actions )
endfunction
function Trig_Bring_Chimaera_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'echm', Player(0), GetRectCenter(gg_rct_Player_1), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Chimaera takes nothing returns nothing
set gg_trg_Bring_Chimaera = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Chimaera )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Chimaera, 125.00 )
call TriggerAddAction( gg_trg_Bring_Chimaera, function Trig_Bring_Chimaera_Actions )
endfunction
function Trig_Summon_Dragonhawk_Rider_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00W' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Dragonhawk_Rider_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Dragonhawk_Rider )
endfunction
//===========================================================================
function InitTrig_Summon_Dragonhawk_Rider takes nothing returns nothing
set gg_trg_Summon_Dragonhawk_Rider = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Dragonhawk_Rider, gg_unit_hbla_0023, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Dragonhawk_Rider, Condition( function Trig_Summon_Dragonhawk_Rider_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Dragonhawk_Rider, function Trig_Summon_Dragonhawk_Rider_Actions )
endfunction
function Trig_Bring_Dragonhawk_Rider_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hdhw', Player(0), GetRectCenter(gg_rct_Player_1), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Dragonhawk_Rider takes nothing returns nothing
set gg_trg_Bring_Dragonhawk_Rider = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Dragonhawk_Rider )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Dragonhawk_Rider, 105.00 )
call TriggerAddAction( gg_trg_Bring_Dragonhawk_Rider, function Trig_Bring_Dragonhawk_Rider_Actions )
endfunction
function Trig_Summon_Siege_Engine_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R014' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Siege_Engine_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Siege_Engine )
endfunction
//===========================================================================
function InitTrig_Summon_Siege_Engine takes nothing returns nothing
set gg_trg_Summon_Siege_Engine = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Siege_Engine, gg_unit_hbla_0023, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Siege_Engine, Condition( function Trig_Summon_Siege_Engine_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Siege_Engine, function Trig_Summon_Siege_Engine_Actions )
endfunction
function Trig_Bring_Siege_Engine_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hrtt', Player(0), GetRectCenter(gg_rct_Player_1), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Siege_Engine takes nothing returns nothing
set gg_trg_Bring_Siege_Engine = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Siege_Engine )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Siege_Engine, 165.00 )
call TriggerAddAction( gg_trg_Bring_Siege_Engine, function Trig_Bring_Siege_Engine_Actions )
endfunction
function Trig_Summon_Flying_Machine_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R013' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Flying_Machine_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Flying_Machine )
endfunction
//===========================================================================
function InitTrig_Summon_Flying_Machine takes nothing returns nothing
set gg_trg_Summon_Flying_Machine = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Flying_Machine, gg_unit_hbla_0023, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Flying_Machine, Condition( function Trig_Summon_Flying_Machine_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Flying_Machine, function Trig_Summon_Flying_Machine_Actions )
endfunction
function Trig_Bring_Flying_Machine_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hgyr', Player(0), GetRectCenter(gg_rct_Player_1), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Flying_Machine takes nothing returns nothing
set gg_trg_Bring_Flying_Machine = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Flying_Machine )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Flying_Machine, 55.00 )
call TriggerAddAction( gg_trg_Bring_Flying_Machine, function Trig_Bring_Flying_Machine_Actions )
endfunction
function Trig_Summon_Hippo_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00Y' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Hippo_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Hippo )
endfunction
//===========================================================================
function InitTrig_Summon_Hippo takes nothing returns nothing
set gg_trg_Summon_Hippo = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Hippo, gg_unit_edob_0024, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Hippo, Condition( function Trig_Summon_Hippo_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Hippo, function Trig_Summon_Hippo_Actions )
endfunction
function Trig_Bring_Hippo_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ehip', Player(0), GetRectCenter(gg_rct_Player_1), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Hippo takes nothing returns nothing
set gg_trg_Bring_Hippo = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Hippo )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Hippo, 50.00 )
call TriggerAddAction( gg_trg_Bring_Hippo, function Trig_Bring_Hippo_Actions )
endfunction
function Trig_Summon_Ancient_Protector_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R019' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Ancient_Protector_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Ancient_Protector )
endfunction
//===========================================================================
function InitTrig_Summon_Ancient_Protector takes nothing returns nothing
set gg_trg_Summon_Ancient_Protector = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Ancient_Protector, gg_unit_edob_0024, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Ancient_Protector, Condition( function Trig_Summon_Ancient_Protector_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Ancient_Protector, function Trig_Summon_Ancient_Protector_Actions )
endfunction
function Trig_Bring_Ancient_Protector_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'etrp', Player(0), GetRectCenter(gg_rct_Player_1), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Ancient_Protector takes nothing returns nothing
set gg_trg_Bring_Ancient_Protector = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Ancient_Protector )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Ancient_Protector, 155.00 )
call TriggerAddAction( gg_trg_Bring_Ancient_Protector, function Trig_Bring_Ancient_Protector_Actions )
endfunction
function Trig_Summon_Glaive_Thrower_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R011' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Glaive_Thrower_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Glaive_Thrower )
endfunction
//===========================================================================
function InitTrig_Summon_Glaive_Thrower takes nothing returns nothing
set gg_trg_Summon_Glaive_Thrower = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Glaive_Thrower, gg_unit_edob_0024, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Glaive_Thrower, Condition( function Trig_Summon_Glaive_Thrower_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Glaive_Thrower, function Trig_Summon_Glaive_Thrower_Actions )
endfunction
function Trig_Bring_Glaive_Thrower_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ebal', Player(0), GetRectCenter(gg_rct_Player_1), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Glaive_Thrower takes nothing returns nothing
set gg_trg_Bring_Glaive_Thrower = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Glaive_Thrower )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Glaive_Thrower, 135.00 )
call TriggerAddAction( gg_trg_Bring_Glaive_Thrower, function Trig_Bring_Glaive_Thrower_Actions )
endfunction
function Trig_Summon_Faerie_Dragon_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R012' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Faerie_Dragon_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Faerie_Dragon )
endfunction
//===========================================================================
function InitTrig_Summon_Faerie_Dragon takes nothing returns nothing
set gg_trg_Summon_Faerie_Dragon = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Faerie_Dragon, gg_unit_edob_0024, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Faerie_Dragon, Condition( function Trig_Summon_Faerie_Dragon_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Faerie_Dragon, function Trig_Summon_Faerie_Dragon_Actions )
endfunction
function Trig_Bring_Faerie_Dragon_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'efdr', Player(0), GetRectCenter(gg_rct_Player_1), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Faerie_Dragon takes nothing returns nothing
set gg_trg_Bring_Faerie_Dragon = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Faerie_Dragon )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Faerie_Dragon, 65.00 )
call TriggerAddAction( gg_trg_Bring_Faerie_Dragon, function Trig_Bring_Faerie_Dragon_Actions )
endfunction
function Trig_Summon_Green_Dragon_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R01F' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Green_Dragon_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Green_Dragon )
endfunction
//===========================================================================
function InitTrig_Summon_Green_Dragon takes nothing returns nothing
set gg_trg_Summon_Green_Dragon = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Green_Dragon, gg_unit_edob_0024, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Green_Dragon, Condition( function Trig_Summon_Green_Dragon_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Green_Dragon, function Trig_Summon_Green_Dragon_Actions )
endfunction
function Trig_Bring_Green_Dragon_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ngrd', Player(0), GetRectCenter(gg_rct_Player_1), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Green_Dragon takes nothing returns nothing
set gg_trg_Bring_Green_Dragon = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Green_Dragon )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Green_Dragon, 300.00 )
call TriggerAddAction( gg_trg_Bring_Green_Dragon, function Trig_Bring_Green_Dragon_Actions )
endfunction
function Trig_Summon_Rifle_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R007' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Rifle_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Rifle_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Rifle_Copy takes nothing returns nothing
set gg_trg_Summon_Rifle_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Rifle_Copy, gg_unit_hbla_0026, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Rifle_Copy, Condition( function Trig_Summon_Rifle_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Rifle_Copy, function Trig_Summon_Rifle_Copy_Actions )
endfunction
function Trig_Bring_Rifle_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hrif', Player(1), GetRectCenter(gg_rct_Player_2), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Rifle_Copy takes nothing returns nothing
set gg_trg_Bring_Rifle_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Rifle_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Rifle_Copy, 30.00 )
call TriggerAddAction( gg_trg_Bring_Rifle_Copy, function Trig_Bring_Rifle_Copy_Actions )
endfunction
function Trig_Summon_Sorc_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00G' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Sorc_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Sorc_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Sorc_Copy takes nothing returns nothing
set gg_trg_Summon_Sorc_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Sorc_Copy, gg_unit_hbla_0026, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Sorc_Copy, Condition( function Trig_Summon_Sorc_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Sorc_Copy, function Trig_Summon_Sorc_Copy_Actions )
endfunction
function Trig_Bring_Sorc_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hsor', Player(1), GetRectCenter(gg_rct_Player_2), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Sorc_Copy takes nothing returns nothing
set gg_trg_Bring_Sorc_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Sorc_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Sorc_Copy, 50.00 )
call TriggerAddAction( gg_trg_Bring_Sorc_Copy, function Trig_Bring_Sorc_Copy_Actions )
endfunction
function Trig_Summon_Preist_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R004' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Preist_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Preist_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Preist_Copy takes nothing returns nothing
set gg_trg_Summon_Preist_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Preist_Copy, gg_unit_hbla_0026, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Preist_Copy, Condition( function Trig_Summon_Preist_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Preist_Copy, function Trig_Summon_Preist_Copy_Actions )
endfunction
function Trig_Bring_Preist_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hmpr', Player(1), GetRectCenter(gg_rct_Player_2), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Preist_Copy takes nothing returns nothing
set gg_trg_Bring_Preist_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Preist_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Preist_Copy, 45.00 )
call TriggerAddAction( gg_trg_Bring_Preist_Copy, function Trig_Bring_Preist_Copy_Actions )
endfunction
function Trig_Summon_Spell_Breaker_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R005' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Spell_Breaker_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Spell_Breaker_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Spell_Breaker_Copy takes nothing returns nothing
set gg_trg_Summon_Spell_Breaker_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Spell_Breaker_Copy, gg_unit_hbla_0026, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Spell_Breaker_Copy, Condition( function Trig_Summon_Spell_Breaker_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Spell_Breaker_Copy, function Trig_Summon_Spell_Breaker_Copy_Actions )
endfunction
function Trig_Bring_Spell_Breaker_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hspt', Player(1), GetRectCenter(gg_rct_Player_2), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Spell_Breaker_Copy takes nothing returns nothing
set gg_trg_Bring_Spell_Breaker_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Spell_Breaker_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Spell_Breaker_Copy, 50.00 )
call TriggerAddAction( gg_trg_Bring_Spell_Breaker_Copy, function Trig_Bring_Spell_Breaker_Copy_Actions )
endfunction
function Trig_Summon_Mortar_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R008' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Mortar_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Mortar_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Mortar_Copy takes nothing returns nothing
set gg_trg_Summon_Mortar_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Mortar_Copy, gg_unit_hbla_0026, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Mortar_Copy, Condition( function Trig_Summon_Mortar_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Mortar_Copy, function Trig_Summon_Mortar_Copy_Actions )
endfunction
function Trig_Bring_Mortar_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hmtm', Player(1), GetRectCenter(gg_rct_Player_2), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Mortar_Copy takes nothing returns nothing
set gg_trg_Bring_Mortar_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Mortar_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Mortar_Copy, 155.00 )
call TriggerAddAction( gg_trg_Bring_Mortar_Copy, function Trig_Bring_Mortar_Copy_Actions )
endfunction
function Trig_Summon_Knight_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R009' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Knight_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Knight_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Knight_Copy takes nothing returns nothing
set gg_trg_Summon_Knight_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Knight_Copy, gg_unit_hbla_0026, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Knight_Copy, Condition( function Trig_Summon_Knight_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Knight_Copy, function Trig_Summon_Knight_Copy_Actions )
endfunction
function Trig_Bring_Knight_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hkni', Player(1), GetRectCenter(gg_rct_Player_2), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Knight_Copy takes nothing returns nothing
set gg_trg_Bring_Knight_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Knight_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Knight_Copy, 50.00 )
call TriggerAddAction( gg_trg_Bring_Knight_Copy, function Trig_Bring_Knight_Copy_Actions )
endfunction
function Trig_Summon_Gryphon_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00A' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Gryphon_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Gryphon_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Gryphon_Copy takes nothing returns nothing
set gg_trg_Summon_Gryphon_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Gryphon_Copy, gg_unit_hbla_0026, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Gryphon_Copy, Condition( function Trig_Summon_Gryphon_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Gryphon_Copy, function Trig_Summon_Gryphon_Copy_Actions )
endfunction
function Trig_Bring_Gryphon_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hgry', Player(1), GetRectCenter(gg_rct_Player_2), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Gryphon_Copy takes nothing returns nothing
set gg_trg_Bring_Gryphon_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Gryphon_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Gryphon_Copy, 115.00 )
call TriggerAddAction( gg_trg_Bring_Gryphon_Copy, function Trig_Bring_Gryphon_Copy_Actions )
endfunction
function Trig_Summon_Noble_Knight_1_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R018' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Noble_Knight_1_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Noble_Knight_1 )
endfunction
//===========================================================================
function InitTrig_Summon_Noble_Knight_1 takes nothing returns nothing
set gg_trg_Summon_Noble_Knight_1 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Noble_Knight_1, gg_unit_hbla_0026, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Noble_Knight_1, Condition( function Trig_Summon_Noble_Knight_1_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Noble_Knight_1, function Trig_Summon_Noble_Knight_1_Actions )
endfunction
function Trig_Bring_Noble_Knight_1_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'nbld', Player(1), GetRectCenter(gg_rct_Player_2), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Noble_Knight_1 takes nothing returns nothing
set gg_trg_Bring_Noble_Knight_1 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Noble_Knight_1 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Noble_Knight_1, 165.00 )
call TriggerAddAction( gg_trg_Bring_Noble_Knight_1, function Trig_Bring_Noble_Knight_1_Actions )
endfunction
function Trig_Summon_Bronze_Dragon_1_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R01E' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Bronze_Dragon_1_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Bronze_Dragon_1 )
endfunction
//===========================================================================
function InitTrig_Summon_Bronze_Dragon_1 takes nothing returns nothing
set gg_trg_Summon_Bronze_Dragon_1 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Bronze_Dragon_1, gg_unit_hbla_0026, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Bronze_Dragon_1, Condition( function Trig_Summon_Bronze_Dragon_1_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Bronze_Dragon_1, function Trig_Summon_Bronze_Dragon_1_Actions )
endfunction
function Trig_Bring_Bronze_Dragon_1_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'nbzd', Player(1), GetRectCenter(gg_rct_Player_2), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Bronze_Dragon_1 takes nothing returns nothing
set gg_trg_Bring_Bronze_Dragon_1 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Bronze_Dragon_1 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Bronze_Dragon_1, 300.00 )
call TriggerAddAction( gg_trg_Bring_Bronze_Dragon_1, function Trig_Bring_Bronze_Dragon_1_Actions )
endfunction
function Trig_Summon_Dragonhawk_Rider_1_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00W' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Dragonhawk_Rider_1_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Dragonhawk_Rider_1 )
endfunction
//===========================================================================
function InitTrig_Summon_Dragonhawk_Rider_1 takes nothing returns nothing
set gg_trg_Summon_Dragonhawk_Rider_1 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Dragonhawk_Rider_1, gg_unit_hbla_0026, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Dragonhawk_Rider_1, Condition( function Trig_Summon_Dragonhawk_Rider_1_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Dragonhawk_Rider_1, function Trig_Summon_Dragonhawk_Rider_1_Actions )
endfunction
function Trig_Bring_Dragonhawk_Rider_1_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hdhw', Player(1), GetRectCenter(gg_rct_Player_2), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Dragonhawk_Rider_1 takes nothing returns nothing
set gg_trg_Bring_Dragonhawk_Rider_1 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Dragonhawk_Rider_1 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Dragonhawk_Rider_1, 105.00 )
call TriggerAddAction( gg_trg_Bring_Dragonhawk_Rider_1, function Trig_Bring_Dragonhawk_Rider_1_Actions )
endfunction
function Trig_Summon_Siege_Engine_1_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R014' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Siege_Engine_1_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Siege_Engine_1 )
endfunction
//===========================================================================
function InitTrig_Summon_Siege_Engine_1 takes nothing returns nothing
set gg_trg_Summon_Siege_Engine_1 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Siege_Engine_1, gg_unit_hbla_0026, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Siege_Engine_1, Condition( function Trig_Summon_Siege_Engine_1_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Siege_Engine_1, function Trig_Summon_Siege_Engine_1_Actions )
endfunction
function Trig_Bring_Siege_Engine_1_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hrtt', Player(1), GetRectCenter(gg_rct_Player_2), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Siege_Engine_1 takes nothing returns nothing
set gg_trg_Bring_Siege_Engine_1 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Siege_Engine_1 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Siege_Engine_1, 165.00 )
call TriggerAddAction( gg_trg_Bring_Siege_Engine_1, function Trig_Bring_Siege_Engine_1_Actions )
endfunction
function Trig_Summon_Flying_Machine_1_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R013' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Flying_Machine_1_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Flying_Machine_1 )
endfunction
//===========================================================================
function InitTrig_Summon_Flying_Machine_1 takes nothing returns nothing
set gg_trg_Summon_Flying_Machine_1 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Flying_Machine_1, gg_unit_hbla_0026, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Flying_Machine_1, Condition( function Trig_Summon_Flying_Machine_1_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Flying_Machine_1, function Trig_Summon_Flying_Machine_1_Actions )
endfunction
function Trig_Bring_Flying_Machine_1_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hgyr', Player(1), GetRectCenter(gg_rct_Player_2), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Flying_Machine_1 takes nothing returns nothing
set gg_trg_Bring_Flying_Machine_1 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Flying_Machine_1 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Flying_Machine_1, 55.00 )
call TriggerAddAction( gg_trg_Bring_Flying_Machine_1, function Trig_Bring_Flying_Machine_1_Actions )
endfunction
function Trig_Summon_Archer_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00B' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Archer_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Archer_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Archer_Copy takes nothing returns nothing
set gg_trg_Summon_Archer_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Archer_Copy, gg_unit_edob_0027, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Archer_Copy, Condition( function Trig_Summon_Archer_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Archer_Copy, function Trig_Summon_Archer_Copy_Actions )
endfunction
function Trig_Bring_Archer_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'earc', Player(1), GetRectCenter(gg_rct_Player_2), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Archer_Copy takes nothing returns nothing
set gg_trg_Bring_Archer_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Archer_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Archer_Copy, 15.00 )
call TriggerAddAction( gg_trg_Bring_Archer_Copy, function Trig_Bring_Archer_Copy_Actions )
endfunction
function Trig_Summon_Huntress_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00V' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Huntress_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Huntress_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Huntress_Copy takes nothing returns nothing
set gg_trg_Summon_Huntress_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Huntress_Copy, gg_unit_edob_0027, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Huntress_Copy, Condition( function Trig_Summon_Huntress_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Huntress_Copy, function Trig_Summon_Huntress_Copy_Actions )
endfunction
function Trig_Bring_Huntress_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'esen', Player(1), GetRectCenter(gg_rct_Player_2), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Huntress_Copy takes nothing returns nothing
set gg_trg_Bring_Huntress_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Huntress_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Huntress_Copy, 28.00 )
call TriggerAddAction( gg_trg_Bring_Huntress_Copy, function Trig_Bring_Huntress_Copy_Actions )
endfunction
function Trig_Summon_Dryad_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00C' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Dryad_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Dryad_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Dryad_Copy takes nothing returns nothing
set gg_trg_Summon_Dryad_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Dryad_Copy, gg_unit_edob_0027, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Dryad_Copy, Condition( function Trig_Summon_Dryad_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Dryad_Copy, function Trig_Summon_Dryad_Copy_Actions )
endfunction
function Trig_Bring_Dryad_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'edry', Player(1), GetRectCenter(gg_rct_Player_2), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Dryad_Copy takes nothing returns nothing
set gg_trg_Bring_Dryad_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Dryad_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Dryad_Copy, 30.00 )
call TriggerAddAction( gg_trg_Bring_Dryad_Copy, function Trig_Bring_Dryad_Copy_Actions )
endfunction
function Trig_Summon_Talon_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00E' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Talon_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Talon_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Talon_Copy takes nothing returns nothing
set gg_trg_Summon_Talon_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Talon_Copy, gg_unit_edob_0027, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Talon_Copy, Condition( function Trig_Summon_Talon_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Talon_Copy, function Trig_Summon_Talon_Copy_Actions )
endfunction
function Trig_Bring_Talon_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'edot', Player(1), GetRectCenter(gg_rct_Player_2), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Talon_Copy takes nothing returns nothing
set gg_trg_Bring_Talon_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Talon_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Talon_Copy, 45.00 )
call TriggerAddAction( gg_trg_Bring_Talon_Copy, function Trig_Bring_Talon_Copy_Actions )
endfunction
function Trig_Summon_Druid_of_Claw_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00F' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Druid_of_Claw_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Druid_of_Claw_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Druid_of_Claw_Copy takes nothing returns nothing
set gg_trg_Summon_Druid_of_Claw_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Druid_of_Claw_Copy, gg_unit_edob_0027, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Druid_of_Claw_Copy, Condition( function Trig_Summon_Druid_of_Claw_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Druid_of_Claw_Copy, function Trig_Summon_Druid_of_Claw_Copy_Actions )
endfunction
function Trig_Bring_Druid_of_Claw_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'edoc', Player(1), GetRectCenter(gg_rct_Player_2), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Druid_of_Claw_Copy takes nothing returns nothing
set gg_trg_Bring_Druid_of_Claw_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Druid_of_Claw_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Druid_of_Claw_Copy, 75.00 )
call TriggerAddAction( gg_trg_Bring_Druid_of_Claw_Copy, function Trig_Bring_Druid_of_Claw_Copy_Actions )
endfunction
function Trig_Summon_MtGiant_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00D' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_MtGiant_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_MtGiant_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_MtGiant_Copy takes nothing returns nothing
set gg_trg_Summon_MtGiant_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_MtGiant_Copy, gg_unit_edob_0027, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_MtGiant_Copy, Condition( function Trig_Summon_MtGiant_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_MtGiant_Copy, function Trig_Summon_MtGiant_Copy_Actions )
endfunction
function Trig_Bring_MtGiant_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'emtg', Player(1), GetRectCenter(gg_rct_Player_2), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_MtGiant_Copy takes nothing returns nothing
set gg_trg_Bring_MtGiant_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_MtGiant_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_MtGiant_Copy, 120.00 )
call TriggerAddAction( gg_trg_Bring_MtGiant_Copy, function Trig_Bring_MtGiant_Copy_Actions )
endfunction
function Trig_Summon_Chimaera_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00H' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Chimaera_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Chimaera_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Chimaera_Copy takes nothing returns nothing
set gg_trg_Summon_Chimaera_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Chimaera_Copy, gg_unit_edob_0027, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Chimaera_Copy, Condition( function Trig_Summon_Chimaera_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Chimaera_Copy, function Trig_Summon_Chimaera_Copy_Actions )
endfunction
function Trig_Bring_Chimaera_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'echm', Player(1), GetRectCenter(gg_rct_Player_2), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Chimaera_Copy takes nothing returns nothing
set gg_trg_Bring_Chimaera_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Chimaera_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Chimaera_Copy, 125.00 )
call TriggerAddAction( gg_trg_Bring_Chimaera_Copy, function Trig_Bring_Chimaera_Copy_Actions )
endfunction
function Trig_Summon_Hippo_1_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00Y' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Hippo_1_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Hippo_1 )
endfunction
//===========================================================================
function InitTrig_Summon_Hippo_1 takes nothing returns nothing
set gg_trg_Summon_Hippo_1 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Hippo_1, gg_unit_edob_0027, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Hippo_1, Condition( function Trig_Summon_Hippo_1_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Hippo_1, function Trig_Summon_Hippo_1_Actions )
endfunction
function Trig_Bring_Hippo_1_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ehip', Player(1), GetRectCenter(gg_rct_Player_2), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Hippo_1 takes nothing returns nothing
set gg_trg_Bring_Hippo_1 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Hippo_1 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Hippo_1, 50.00 )
call TriggerAddAction( gg_trg_Bring_Hippo_1, function Trig_Bring_Hippo_1_Actions )
endfunction
function Trig_Summon_Ancient_Protector_1_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R019' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Ancient_Protector_1_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Ancient_Protector_1 )
endfunction
//===========================================================================
function InitTrig_Summon_Ancient_Protector_1 takes nothing returns nothing
set gg_trg_Summon_Ancient_Protector_1 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Ancient_Protector_1, gg_unit_edob_0027, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Ancient_Protector_1, Condition( function Trig_Summon_Ancient_Protector_1_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Ancient_Protector_1, function Trig_Summon_Ancient_Protector_1_Actions )
endfunction
function Trig_Bring_Ancient_Protector_1_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'etrp', Player(1), GetRectCenter(gg_rct_Player_2), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Ancient_Protector_1 takes nothing returns nothing
set gg_trg_Bring_Ancient_Protector_1 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Ancient_Protector_1 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Ancient_Protector_1, 155.00 )
call TriggerAddAction( gg_trg_Bring_Ancient_Protector_1, function Trig_Bring_Ancient_Protector_1_Actions )
endfunction
function Trig_Summon_Glaive_Thrower_1_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R011' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Glaive_Thrower_1_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Glaive_Thrower_1 )
endfunction
//===========================================================================
function InitTrig_Summon_Glaive_Thrower_1 takes nothing returns nothing
set gg_trg_Summon_Glaive_Thrower_1 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Glaive_Thrower_1, gg_unit_edob_0027, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Glaive_Thrower_1, Condition( function Trig_Summon_Glaive_Thrower_1_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Glaive_Thrower_1, function Trig_Summon_Glaive_Thrower_1_Actions )
endfunction
function Trig_Bring_Glaive_Thrower_1_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ebal', Player(1), GetRectCenter(gg_rct_Player_2), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Glaive_Thrower_1 takes nothing returns nothing
set gg_trg_Bring_Glaive_Thrower_1 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Glaive_Thrower_1 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Glaive_Thrower_1, 135.00 )
call TriggerAddAction( gg_trg_Bring_Glaive_Thrower_1, function Trig_Bring_Glaive_Thrower_1_Actions )
endfunction
function Trig_Summon_Faerie_Dragon_1_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R012' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Faerie_Dragon_1_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Faerie_Dragon_1 )
endfunction
//===========================================================================
function InitTrig_Summon_Faerie_Dragon_1 takes nothing returns nothing
set gg_trg_Summon_Faerie_Dragon_1 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Faerie_Dragon_1, gg_unit_edob_0027, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Faerie_Dragon_1, Condition( function Trig_Summon_Faerie_Dragon_1_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Faerie_Dragon_1, function Trig_Summon_Faerie_Dragon_1_Actions )
endfunction
function Trig_Bring_Faerie_Dragon_1_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'efdr', Player(1), GetRectCenter(gg_rct_Player_2), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Faerie_Dragon_1 takes nothing returns nothing
set gg_trg_Bring_Faerie_Dragon_1 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Faerie_Dragon_1 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Faerie_Dragon_1, 65.00 )
call TriggerAddAction( gg_trg_Bring_Faerie_Dragon_1, function Trig_Bring_Faerie_Dragon_1_Actions )
endfunction
function Trig_Summon_Green_Dragon_1_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R01F' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Green_Dragon_1_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Green_Dragon_1 )
endfunction
//===========================================================================
function InitTrig_Summon_Green_Dragon_1 takes nothing returns nothing
set gg_trg_Summon_Green_Dragon_1 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Green_Dragon_1, gg_unit_edob_0027, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Green_Dragon_1, Condition( function Trig_Summon_Green_Dragon_1_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Green_Dragon_1, function Trig_Summon_Green_Dragon_1_Actions )
endfunction
function Trig_Bring_Green_Dragon_1_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ngrd', Player(1), GetRectCenter(gg_rct_Player_2), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Green_Dragon_1 takes nothing returns nothing
set gg_trg_Bring_Green_Dragon_1 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Green_Dragon_1 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Green_Dragon_1, 300.00 )
call TriggerAddAction( gg_trg_Bring_Green_Dragon_1, function Trig_Bring_Green_Dragon_1_Actions )
endfunction
function Trig_Summon_Rifle_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R007' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Rifle_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Rifle_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Rifle_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Rifle_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Rifle_Copy_Copy, gg_unit_hbla_0029, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Rifle_Copy_Copy, Condition( function Trig_Summon_Rifle_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Rifle_Copy_Copy, function Trig_Summon_Rifle_Copy_Copy_Actions )
endfunction
function Trig_Bring_Rifle_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hrif', Player(2), GetRectCenter(gg_rct_Player_3), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Rifle_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Rifle_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Rifle_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Rifle_Copy_Copy, 30.00 )
call TriggerAddAction( gg_trg_Bring_Rifle_Copy_Copy, function Trig_Bring_Rifle_Copy_Copy_Actions )
endfunction
function Trig_Summon_Sorc_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00G' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Sorc_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Sorc_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Sorc_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Sorc_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Sorc_Copy_Copy, gg_unit_hbla_0029, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Sorc_Copy_Copy, Condition( function Trig_Summon_Sorc_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Sorc_Copy_Copy, function Trig_Summon_Sorc_Copy_Copy_Actions )
endfunction
function Trig_Bring_Sorc_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hsor', Player(2), GetRectCenter(gg_rct_Player_3), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Sorc_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Sorc_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Sorc_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Sorc_Copy_Copy, 50.00 )
call TriggerAddAction( gg_trg_Bring_Sorc_Copy_Copy, function Trig_Bring_Sorc_Copy_Copy_Actions )
endfunction
function Trig_Summon_Preist_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R004' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Preist_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Preist_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Preist_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Preist_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Preist_Copy_Copy, gg_unit_hbla_0029, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Preist_Copy_Copy, Condition( function Trig_Summon_Preist_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Preist_Copy_Copy, function Trig_Summon_Preist_Copy_Copy_Actions )
endfunction
function Trig_Bring_Preist_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hmpr', Player(2), GetRectCenter(gg_rct_Player_3), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Preist_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Preist_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Preist_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Preist_Copy_Copy, 45.00 )
call TriggerAddAction( gg_trg_Bring_Preist_Copy_Copy, function Trig_Bring_Preist_Copy_Copy_Actions )
endfunction
function Trig_Summon_Spell_Breaker_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R005' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Spell_Breaker_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Spell_Breaker_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Spell_Breaker_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Spell_Breaker_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Spell_Breaker_Copy_Copy, gg_unit_hbla_0029, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Spell_Breaker_Copy_Copy, Condition( function Trig_Summon_Spell_Breaker_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Spell_Breaker_Copy_Copy, function Trig_Summon_Spell_Breaker_Copy_Copy_Actions )
endfunction
function Trig_Bring_Spell_Breaker_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hspt', Player(2), GetRectCenter(gg_rct_Player_3), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Spell_Breaker_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Spell_Breaker_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Spell_Breaker_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Spell_Breaker_Copy_Copy, 50.00 )
call TriggerAddAction( gg_trg_Bring_Spell_Breaker_Copy_Copy, function Trig_Bring_Spell_Breaker_Copy_Copy_Actions )
endfunction
function Trig_Summon_Mortar_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R008' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Mortar_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Mortar_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Mortar_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Mortar_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Mortar_Copy_Copy, gg_unit_hbla_0029, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Mortar_Copy_Copy, Condition( function Trig_Summon_Mortar_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Mortar_Copy_Copy, function Trig_Summon_Mortar_Copy_Copy_Actions )
endfunction
function Trig_Bring_Mortar_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hmtm', Player(2), GetRectCenter(gg_rct_Player_3), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Mortar_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Mortar_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Mortar_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Mortar_Copy_Copy, 155.00 )
call TriggerAddAction( gg_trg_Bring_Mortar_Copy_Copy, function Trig_Bring_Mortar_Copy_Copy_Actions )
endfunction
function Trig_Summon_Knight_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R009' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Knight_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Knight_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Knight_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Knight_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Knight_Copy_Copy, gg_unit_hbla_0029, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Knight_Copy_Copy, Condition( function Trig_Summon_Knight_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Knight_Copy_Copy, function Trig_Summon_Knight_Copy_Copy_Actions )
endfunction
function Trig_Bring_Knight_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hkni', Player(2), GetRectCenter(gg_rct_Player_3), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Knight_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Knight_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Knight_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Knight_Copy_Copy, 50.00 )
call TriggerAddAction( gg_trg_Bring_Knight_Copy_Copy, function Trig_Bring_Knight_Copy_Copy_Actions )
endfunction
function Trig_Summon_Gryphon_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00A' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Gryphon_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Gryphon_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Gryphon_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Gryphon_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Gryphon_Copy_Copy, gg_unit_hbla_0029, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Gryphon_Copy_Copy, Condition( function Trig_Summon_Gryphon_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Gryphon_Copy_Copy, function Trig_Summon_Gryphon_Copy_Copy_Actions )
endfunction
function Trig_Bring_Gryphon_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hgry', Player(2), GetRectCenter(gg_rct_Player_3), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Gryphon_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Gryphon_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Gryphon_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Gryphon_Copy_Copy, 115.00 )
call TriggerAddAction( gg_trg_Bring_Gryphon_Copy_Copy, function Trig_Bring_Gryphon_Copy_Copy_Actions )
endfunction
function Trig_Summon_Noble_Knight_2_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R018' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Noble_Knight_2_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Noble_Knight_2 )
endfunction
//===========================================================================
function InitTrig_Summon_Noble_Knight_2 takes nothing returns nothing
set gg_trg_Summon_Noble_Knight_2 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Noble_Knight_2, gg_unit_hbla_0029, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Noble_Knight_2, Condition( function Trig_Summon_Noble_Knight_2_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Noble_Knight_2, function Trig_Summon_Noble_Knight_2_Actions )
endfunction
function Trig_Bring_Noble_Knight_2_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'nbld', Player(2), GetRectCenter(gg_rct_Player_3), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Noble_Knight_2 takes nothing returns nothing
set gg_trg_Bring_Noble_Knight_2 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Noble_Knight_2 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Noble_Knight_2, 165.00 )
call TriggerAddAction( gg_trg_Bring_Noble_Knight_2, function Trig_Bring_Noble_Knight_2_Actions )
endfunction
function Trig_Summon_Bronze_Dragon_2_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R01E' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Bronze_Dragon_2_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Bronze_Dragon_2 )
endfunction
//===========================================================================
function InitTrig_Summon_Bronze_Dragon_2 takes nothing returns nothing
set gg_trg_Summon_Bronze_Dragon_2 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Bronze_Dragon_2, gg_unit_hbla_0029, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Bronze_Dragon_2, Condition( function Trig_Summon_Bronze_Dragon_2_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Bronze_Dragon_2, function Trig_Summon_Bronze_Dragon_2_Actions )
endfunction
function Trig_Bring_Bronze_Dragon_2_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'nbzd', Player(2), GetRectCenter(gg_rct_Player_3), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Bronze_Dragon_2 takes nothing returns nothing
set gg_trg_Bring_Bronze_Dragon_2 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Bronze_Dragon_2 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Bronze_Dragon_2, 300.00 )
call TriggerAddAction( gg_trg_Bring_Bronze_Dragon_2, function Trig_Bring_Bronze_Dragon_2_Actions )
endfunction
function Trig_Summon_Dragonhawk_Rider_2_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00W' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Dragonhawk_Rider_2_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Dragonhawk_Rider_2 )
endfunction
//===========================================================================
function InitTrig_Summon_Dragonhawk_Rider_2 takes nothing returns nothing
set gg_trg_Summon_Dragonhawk_Rider_2 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Dragonhawk_Rider_2, gg_unit_hbla_0029, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Dragonhawk_Rider_2, Condition( function Trig_Summon_Dragonhawk_Rider_2_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Dragonhawk_Rider_2, function Trig_Summon_Dragonhawk_Rider_2_Actions )
endfunction
function Trig_Bring_Dragonhawk_Rider_2_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hdhw', Player(2), GetRectCenter(gg_rct_Player_3), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Dragonhawk_Rider_2 takes nothing returns nothing
set gg_trg_Bring_Dragonhawk_Rider_2 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Dragonhawk_Rider_2 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Dragonhawk_Rider_2, 105.00 )
call TriggerAddAction( gg_trg_Bring_Dragonhawk_Rider_2, function Trig_Bring_Dragonhawk_Rider_2_Actions )
endfunction
function Trig_Summon_Siege_Engine_2_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R014' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Siege_Engine_2_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Siege_Engine_2 )
endfunction
//===========================================================================
function InitTrig_Summon_Siege_Engine_2 takes nothing returns nothing
set gg_trg_Summon_Siege_Engine_2 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Siege_Engine_2, gg_unit_hbla_0029, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Siege_Engine_2, Condition( function Trig_Summon_Siege_Engine_2_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Siege_Engine_2, function Trig_Summon_Siege_Engine_2_Actions )
endfunction
function Trig_Bring_Siege_Engine_2_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hrtt', Player(2), GetRectCenter(gg_rct_Player_3), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Siege_Engine_2 takes nothing returns nothing
set gg_trg_Bring_Siege_Engine_2 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Siege_Engine_2 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Siege_Engine_2, 165.00 )
call TriggerAddAction( gg_trg_Bring_Siege_Engine_2, function Trig_Bring_Siege_Engine_2_Actions )
endfunction
function Trig_Summon_Flying_Machine_2_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R013' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Flying_Machine_2_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Flying_Machine_2 )
endfunction
//===========================================================================
function InitTrig_Summon_Flying_Machine_2 takes nothing returns nothing
set gg_trg_Summon_Flying_Machine_2 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Flying_Machine_2, gg_unit_hbla_0029, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Flying_Machine_2, Condition( function Trig_Summon_Flying_Machine_2_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Flying_Machine_2, function Trig_Summon_Flying_Machine_2_Actions )
endfunction
function Trig_Bring_Flying_Machine_2_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hgyr', Player(2), GetRectCenter(gg_rct_Player_3), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Flying_Machine_2 takes nothing returns nothing
set gg_trg_Bring_Flying_Machine_2 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Flying_Machine_2 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Flying_Machine_2, 55.00 )
call TriggerAddAction( gg_trg_Bring_Flying_Machine_2, function Trig_Bring_Flying_Machine_2_Actions )
endfunction
function Trig_Summon_Archer_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00B' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Archer_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Archer_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Archer_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Archer_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Archer_Copy_Copy, gg_unit_edob_0030, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Archer_Copy_Copy, Condition( function Trig_Summon_Archer_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Archer_Copy_Copy, function Trig_Summon_Archer_Copy_Copy_Actions )
endfunction
function Trig_Bring_Archer_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'earc', Player(2), GetRectCenter(gg_rct_Player_3), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Archer_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Archer_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Archer_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Archer_Copy_Copy, 15.00 )
call TriggerAddAction( gg_trg_Bring_Archer_Copy_Copy, function Trig_Bring_Archer_Copy_Copy_Actions )
endfunction
function Trig_Summon_Huntress_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00V' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Huntress_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Huntress_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Huntress_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Huntress_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Huntress_Copy_Copy, gg_unit_edob_0030, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Huntress_Copy_Copy, Condition( function Trig_Summon_Huntress_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Huntress_Copy_Copy, function Trig_Summon_Huntress_Copy_Copy_Actions )
endfunction
function Trig_Bring_Huntress_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'esen', Player(2), GetRectCenter(gg_rct_Player_3), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Huntress_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Huntress_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Huntress_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Huntress_Copy_Copy, 28.00 )
call TriggerAddAction( gg_trg_Bring_Huntress_Copy_Copy, function Trig_Bring_Huntress_Copy_Copy_Actions )
endfunction
function Trig_Summon_Dryad_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00C' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Dryad_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Dryad_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Dryad_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Dryad_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Dryad_Copy_Copy, gg_unit_edob_0030, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Dryad_Copy_Copy, Condition( function Trig_Summon_Dryad_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Dryad_Copy_Copy, function Trig_Summon_Dryad_Copy_Copy_Actions )
endfunction
function Trig_Bring_Dryad_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'edry', Player(2), GetRectCenter(gg_rct_Player_3), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Dryad_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Dryad_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Dryad_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Dryad_Copy_Copy, 30.00 )
call TriggerAddAction( gg_trg_Bring_Dryad_Copy_Copy, function Trig_Bring_Dryad_Copy_Copy_Actions )
endfunction
function Trig_Summon_Talon_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00E' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Talon_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Talon_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Talon_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Talon_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Talon_Copy_Copy, gg_unit_edob_0030, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Talon_Copy_Copy, Condition( function Trig_Summon_Talon_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Talon_Copy_Copy, function Trig_Summon_Talon_Copy_Copy_Actions )
endfunction
function Trig_Bring_Talon_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'edot', Player(2), GetRectCenter(gg_rct_Player_3), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Talon_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Talon_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Talon_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Talon_Copy_Copy, 45.00 )
call TriggerAddAction( gg_trg_Bring_Talon_Copy_Copy, function Trig_Bring_Talon_Copy_Copy_Actions )
endfunction
function Trig_Summon_Druid_of_Claw_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00F' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Druid_of_Claw_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Druid_of_Claw_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Druid_of_Claw_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Druid_of_Claw_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Druid_of_Claw_Copy_Copy, gg_unit_edob_0030, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Druid_of_Claw_Copy_Copy, Condition( function Trig_Summon_Druid_of_Claw_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Druid_of_Claw_Copy_Copy, function Trig_Summon_Druid_of_Claw_Copy_Copy_Actions )
endfunction
function Trig_Bring_Druid_of_Claw_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'edoc', Player(2), GetRectCenter(gg_rct_Player_3), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Druid_of_Claw_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Druid_of_Claw_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Druid_of_Claw_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Druid_of_Claw_Copy_Copy, 75.00 )
call TriggerAddAction( gg_trg_Bring_Druid_of_Claw_Copy_Copy, function Trig_Bring_Druid_of_Claw_Copy_Copy_Actions )
endfunction
function Trig_Summon_MtGiant_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00D' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_MtGiant_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_MtGiant_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_MtGiant_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_MtGiant_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_MtGiant_Copy_Copy, gg_unit_edob_0030, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_MtGiant_Copy_Copy, Condition( function Trig_Summon_MtGiant_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_MtGiant_Copy_Copy, function Trig_Summon_MtGiant_Copy_Copy_Actions )
endfunction
function Trig_Bring_MtGiant_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'emtg', Player(2), GetRectCenter(gg_rct_Player_3), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_MtGiant_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_MtGiant_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_MtGiant_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_MtGiant_Copy_Copy, 120.00 )
call TriggerAddAction( gg_trg_Bring_MtGiant_Copy_Copy, function Trig_Bring_MtGiant_Copy_Copy_Actions )
endfunction
function Trig_Summon_Chimaera_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00H' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Chimaera_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Chimaera_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Chimaera_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Chimaera_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Chimaera_Copy_Copy, gg_unit_edob_0030, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Chimaera_Copy_Copy, Condition( function Trig_Summon_Chimaera_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Chimaera_Copy_Copy, function Trig_Summon_Chimaera_Copy_Copy_Actions )
endfunction
function Trig_Bring_Chimaera_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'echm', Player(2), GetRectCenter(gg_rct_Player_3), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Chimaera_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Chimaera_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Chimaera_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Chimaera_Copy_Copy, 125.00 )
call TriggerAddAction( gg_trg_Bring_Chimaera_Copy_Copy, function Trig_Bring_Chimaera_Copy_Copy_Actions )
endfunction
function Trig_Summon_Hippo_2_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00Y' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Hippo_2_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Hippo_2 )
endfunction
//===========================================================================
function InitTrig_Summon_Hippo_2 takes nothing returns nothing
set gg_trg_Summon_Hippo_2 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Hippo_2, gg_unit_edob_0030, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Hippo_2, Condition( function Trig_Summon_Hippo_2_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Hippo_2, function Trig_Summon_Hippo_2_Actions )
endfunction
function Trig_Bring_Hippo_2_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ehip', Player(2), GetRectCenter(gg_rct_Player_3), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Hippo_2 takes nothing returns nothing
set gg_trg_Bring_Hippo_2 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Hippo_2 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Hippo_2, 50.00 )
call TriggerAddAction( gg_trg_Bring_Hippo_2, function Trig_Bring_Hippo_2_Actions )
endfunction
function Trig_Summon_Ancient_Protector_2_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R019' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Ancient_Protector_2_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Ancient_Protector_2 )
endfunction
//===========================================================================
function InitTrig_Summon_Ancient_Protector_2 takes nothing returns nothing
set gg_trg_Summon_Ancient_Protector_2 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Ancient_Protector_2, gg_unit_edob_0030, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Ancient_Protector_2, Condition( function Trig_Summon_Ancient_Protector_2_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Ancient_Protector_2, function Trig_Summon_Ancient_Protector_2_Actions )
endfunction
function Trig_Bring_Ancient_Protector_2_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'etrp', Player(2), GetRectCenter(gg_rct_Player_3), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Ancient_Protector_2 takes nothing returns nothing
set gg_trg_Bring_Ancient_Protector_2 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Ancient_Protector_2 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Ancient_Protector_2, 155.00 )
call TriggerAddAction( gg_trg_Bring_Ancient_Protector_2, function Trig_Bring_Ancient_Protector_2_Actions )
endfunction
function Trig_Summon_Glaive_Thrower_2_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R011' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Glaive_Thrower_2_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Glaive_Thrower_2 )
endfunction
//===========================================================================
function InitTrig_Summon_Glaive_Thrower_2 takes nothing returns nothing
set gg_trg_Summon_Glaive_Thrower_2 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Glaive_Thrower_2, gg_unit_edob_0030, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Glaive_Thrower_2, Condition( function Trig_Summon_Glaive_Thrower_2_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Glaive_Thrower_2, function Trig_Summon_Glaive_Thrower_2_Actions )
endfunction
function Trig_Bring_Glaive_Thrower_2_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ebal', Player(2), GetRectCenter(gg_rct_Player_3), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Glaive_Thrower_2 takes nothing returns nothing
set gg_trg_Bring_Glaive_Thrower_2 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Glaive_Thrower_2 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Glaive_Thrower_2, 135.00 )
call TriggerAddAction( gg_trg_Bring_Glaive_Thrower_2, function Trig_Bring_Glaive_Thrower_2_Actions )
endfunction
function Trig_Summon_Faerie_Dragon_2_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R012' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Faerie_Dragon_2_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Faerie_Dragon_2 )
endfunction
//===========================================================================
function InitTrig_Summon_Faerie_Dragon_2 takes nothing returns nothing
set gg_trg_Summon_Faerie_Dragon_2 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Faerie_Dragon_2, gg_unit_edob_0030, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Faerie_Dragon_2, Condition( function Trig_Summon_Faerie_Dragon_2_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Faerie_Dragon_2, function Trig_Summon_Faerie_Dragon_2_Actions )
endfunction
function Trig_Bring_Faerie_Dragon_2_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'efdr', Player(2), GetRectCenter(gg_rct_Player_3), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Faerie_Dragon_2 takes nothing returns nothing
set gg_trg_Bring_Faerie_Dragon_2 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Faerie_Dragon_2 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Faerie_Dragon_2, 65.00 )
call TriggerAddAction( gg_trg_Bring_Faerie_Dragon_2, function Trig_Bring_Faerie_Dragon_2_Actions )
endfunction
function Trig_Summon_Green_Dragon_2_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R01F' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Green_Dragon_2_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Green_Dragon_2 )
endfunction
//===========================================================================
function InitTrig_Summon_Green_Dragon_2 takes nothing returns nothing
set gg_trg_Summon_Green_Dragon_2 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Green_Dragon_2, gg_unit_edob_0030, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Green_Dragon_2, Condition( function Trig_Summon_Green_Dragon_2_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Green_Dragon_2, function Trig_Summon_Green_Dragon_2_Actions )
endfunction
function Trig_Bring_Green_Dragon_2_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ngrd', Player(2), GetRectCenter(gg_rct_Player_3), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Green_Dragon_2 takes nothing returns nothing
set gg_trg_Bring_Green_Dragon_2 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Green_Dragon_2 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Green_Dragon_2, 300.00 )
call TriggerAddAction( gg_trg_Bring_Green_Dragon_2, function Trig_Bring_Green_Dragon_2_Actions )
endfunction
function Trig_Summon_Rifle_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R007' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Rifle_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Rifle_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Rifle_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Rifle_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Rifle_Copy_Copy_Copy, gg_unit_hbla_0032, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Rifle_Copy_Copy_Copy, Condition( function Trig_Summon_Rifle_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Rifle_Copy_Copy_Copy, function Trig_Summon_Rifle_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Rifle_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hrif', Player(3), GetRectCenter(gg_rct_Player_4), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Rifle_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Rifle_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Rifle_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Rifle_Copy_Copy_Copy, 30.00 )
call TriggerAddAction( gg_trg_Bring_Rifle_Copy_Copy_Copy, function Trig_Bring_Rifle_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Sorc_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00G' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Sorc_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Sorc_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Sorc_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Sorc_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Sorc_Copy_Copy_Copy, gg_unit_hbla_0032, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Sorc_Copy_Copy_Copy, Condition( function Trig_Summon_Sorc_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Sorc_Copy_Copy_Copy, function Trig_Summon_Sorc_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Sorc_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hsor', Player(3), GetRectCenter(gg_rct_Player_4), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Sorc_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Sorc_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Sorc_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Sorc_Copy_Copy_Copy, 50.00 )
call TriggerAddAction( gg_trg_Bring_Sorc_Copy_Copy_Copy, function Trig_Bring_Sorc_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Preist_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R004' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Preist_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Preist_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Preist_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Preist_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Preist_Copy_Copy_Copy, gg_unit_hbla_0032, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Preist_Copy_Copy_Copy, Condition( function Trig_Summon_Preist_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Preist_Copy_Copy_Copy, function Trig_Summon_Preist_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Preist_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hmpr', Player(3), GetRectCenter(gg_rct_Player_4), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Preist_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Preist_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Preist_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Preist_Copy_Copy_Copy, 45.00 )
call TriggerAddAction( gg_trg_Bring_Preist_Copy_Copy_Copy, function Trig_Bring_Preist_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Spell_Breaker_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R005' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Spell_Breaker_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Spell_Breaker_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Spell_Breaker_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Spell_Breaker_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Spell_Breaker_Copy_Copy_Copy, gg_unit_hbla_0032, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Spell_Breaker_Copy_Copy_Copy, Condition( function Trig_Summon_Spell_Breaker_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Spell_Breaker_Copy_Copy_Copy, function Trig_Summon_Spell_Breaker_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Spell_Breaker_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hspt', Player(3), GetRectCenter(gg_rct_Player_4), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Spell_Breaker_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Spell_Breaker_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Spell_Breaker_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Spell_Breaker_Copy_Copy_Copy, 50.00 )
call TriggerAddAction( gg_trg_Bring_Spell_Breaker_Copy_Copy_Copy, function Trig_Bring_Spell_Breaker_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Mortar_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R008' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Mortar_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Mortar_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Mortar_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Mortar_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Mortar_Copy_Copy_Copy, gg_unit_hbla_0032, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Mortar_Copy_Copy_Copy, Condition( function Trig_Summon_Mortar_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Mortar_Copy_Copy_Copy, function Trig_Summon_Mortar_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Mortar_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hmtm', Player(3), GetRectCenter(gg_rct_Player_4), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Mortar_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Mortar_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Mortar_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Mortar_Copy_Copy_Copy, 155.00 )
call TriggerAddAction( gg_trg_Bring_Mortar_Copy_Copy_Copy, function Trig_Bring_Mortar_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Knight_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R009' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Knight_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Knight_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Knight_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Knight_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Knight_Copy_Copy_Copy, gg_unit_hbla_0032, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Knight_Copy_Copy_Copy, Condition( function Trig_Summon_Knight_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Knight_Copy_Copy_Copy, function Trig_Summon_Knight_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Knight_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hkni', Player(3), GetRectCenter(gg_rct_Player_4), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Knight_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Knight_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Knight_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Knight_Copy_Copy_Copy, 50.00 )
call TriggerAddAction( gg_trg_Bring_Knight_Copy_Copy_Copy, function Trig_Bring_Knight_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Gryphon_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00A' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Gryphon_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Gryphon_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Gryphon_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Gryphon_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Gryphon_Copy_Copy_Copy, gg_unit_hbla_0032, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Gryphon_Copy_Copy_Copy, Condition( function Trig_Summon_Gryphon_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Gryphon_Copy_Copy_Copy, function Trig_Summon_Gryphon_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Gryphon_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hgry', Player(3), GetRectCenter(gg_rct_Player_4), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Gryphon_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Gryphon_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Gryphon_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Gryphon_Copy_Copy_Copy, 115.00 )
call TriggerAddAction( gg_trg_Bring_Gryphon_Copy_Copy_Copy, function Trig_Bring_Gryphon_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Dragonhawk_Rider_3_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00W' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Dragonhawk_Rider_3_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Dragonhawk_Rider_3 )
endfunction
//===========================================================================
function InitTrig_Summon_Dragonhawk_Rider_3 takes nothing returns nothing
set gg_trg_Summon_Dragonhawk_Rider_3 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Dragonhawk_Rider_3, gg_unit_hbla_0032, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Dragonhawk_Rider_3, Condition( function Trig_Summon_Dragonhawk_Rider_3_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Dragonhawk_Rider_3, function Trig_Summon_Dragonhawk_Rider_3_Actions )
endfunction
function Trig_Bring_Dragonhawk_Rider_3_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hdhw', Player(3), GetRectCenter(gg_rct_Player_4), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Dragonhawk_Rider_3 takes nothing returns nothing
set gg_trg_Bring_Dragonhawk_Rider_3 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Dragonhawk_Rider_3 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Dragonhawk_Rider_3, 105.00 )
call TriggerAddAction( gg_trg_Bring_Dragonhawk_Rider_3, function Trig_Bring_Dragonhawk_Rider_3_Actions )
endfunction
function Trig_Summon_Siege_Engine_3_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R014' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Siege_Engine_3_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Siege_Engine_3 )
endfunction
//===========================================================================
function InitTrig_Summon_Siege_Engine_3 takes nothing returns nothing
set gg_trg_Summon_Siege_Engine_3 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Siege_Engine_3, gg_unit_hbla_0032, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Siege_Engine_3, Condition( function Trig_Summon_Siege_Engine_3_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Siege_Engine_3, function Trig_Summon_Siege_Engine_3_Actions )
endfunction
function Trig_Bring_Siege_Engine_3_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hrtt', Player(3), GetRectCenter(gg_rct_Player_4), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Siege_Engine_3 takes nothing returns nothing
set gg_trg_Bring_Siege_Engine_3 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Siege_Engine_3 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Siege_Engine_3, 165.00 )
call TriggerAddAction( gg_trg_Bring_Siege_Engine_3, function Trig_Bring_Siege_Engine_3_Actions )
endfunction
function Trig_Summon_Flying_Machine_3_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R013' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Flying_Machine_3_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Flying_Machine_3 )
endfunction
//===========================================================================
function InitTrig_Summon_Flying_Machine_3 takes nothing returns nothing
set gg_trg_Summon_Flying_Machine_3 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Flying_Machine_3, gg_unit_hbla_0032, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Flying_Machine_3, Condition( function Trig_Summon_Flying_Machine_3_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Flying_Machine_3, function Trig_Summon_Flying_Machine_3_Actions )
endfunction
function Trig_Bring_Flying_Machine_3_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hgyr', Player(3), GetRectCenter(gg_rct_Player_4), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Flying_Machine_3 takes nothing returns nothing
set gg_trg_Bring_Flying_Machine_3 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Flying_Machine_3 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Flying_Machine_3, 55.00 )
call TriggerAddAction( gg_trg_Bring_Flying_Machine_3, function Trig_Bring_Flying_Machine_3_Actions )
endfunction
function Trig_Summon_Noble_Knight_3_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R018' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Noble_Knight_3_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Noble_Knight_3 )
endfunction
//===========================================================================
function InitTrig_Summon_Noble_Knight_3 takes nothing returns nothing
set gg_trg_Summon_Noble_Knight_3 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Noble_Knight_3, gg_unit_hbla_0032, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Noble_Knight_3, Condition( function Trig_Summon_Noble_Knight_3_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Noble_Knight_3, function Trig_Summon_Noble_Knight_3_Actions )
endfunction
function Trig_Bring_Noble_Knight_3_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'nbld', Player(3), GetRectCenter(gg_rct_Player_4), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Noble_Knight_3 takes nothing returns nothing
set gg_trg_Bring_Noble_Knight_3 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Noble_Knight_3 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Noble_Knight_3, 165.00 )
call TriggerAddAction( gg_trg_Bring_Noble_Knight_3, function Trig_Bring_Noble_Knight_3_Actions )
endfunction
function Trig_Summon_Bronze_Dragon_3_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R01E' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Bronze_Dragon_3_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Bronze_Dragon_3 )
endfunction
//===========================================================================
function InitTrig_Summon_Bronze_Dragon_3 takes nothing returns nothing
set gg_trg_Summon_Bronze_Dragon_3 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Bronze_Dragon_3, gg_unit_hbla_0032, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Bronze_Dragon_3, Condition( function Trig_Summon_Bronze_Dragon_3_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Bronze_Dragon_3, function Trig_Summon_Bronze_Dragon_3_Actions )
endfunction
function Trig_Bring_Bronze_Dragon_3_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'nbzd', Player(3), GetRectCenter(gg_rct_Player_4), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Bronze_Dragon_3 takes nothing returns nothing
set gg_trg_Bring_Bronze_Dragon_3 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Bronze_Dragon_3 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Bronze_Dragon_3, 300.00 )
call TriggerAddAction( gg_trg_Bring_Bronze_Dragon_3, function Trig_Bring_Bronze_Dragon_3_Actions )
endfunction
function Trig_Summon_Archer_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00B' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Archer_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Archer_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Archer_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Archer_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Archer_Copy_Copy_Copy, gg_unit_edob_0033, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Archer_Copy_Copy_Copy, Condition( function Trig_Summon_Archer_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Archer_Copy_Copy_Copy, function Trig_Summon_Archer_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Archer_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'earc', Player(3), GetRectCenter(gg_rct_Player_4), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Archer_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Archer_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Archer_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Archer_Copy_Copy_Copy, 15.00 )
call TriggerAddAction( gg_trg_Bring_Archer_Copy_Copy_Copy, function Trig_Bring_Archer_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Huntress_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00V' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Huntress_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Huntress_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Huntress_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Huntress_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Huntress_Copy_Copy_Copy, gg_unit_edob_0033, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Huntress_Copy_Copy_Copy, Condition( function Trig_Summon_Huntress_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Huntress_Copy_Copy_Copy, function Trig_Summon_Huntress_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Huntress_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'esen', Player(3), GetRectCenter(gg_rct_Player_4), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Huntress_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Huntress_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Huntress_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Huntress_Copy_Copy_Copy, 28.00 )
call TriggerAddAction( gg_trg_Bring_Huntress_Copy_Copy_Copy, function Trig_Bring_Huntress_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Dryad_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00C' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Dryad_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Dryad_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Dryad_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Dryad_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Dryad_Copy_Copy_Copy, gg_unit_edob_0033, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Dryad_Copy_Copy_Copy, Condition( function Trig_Summon_Dryad_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Dryad_Copy_Copy_Copy, function Trig_Summon_Dryad_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Dryad_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'edry', Player(3), GetRectCenter(gg_rct_Player_4), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Dryad_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Dryad_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Dryad_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Dryad_Copy_Copy_Copy, 30.00 )
call TriggerAddAction( gg_trg_Bring_Dryad_Copy_Copy_Copy, function Trig_Bring_Dryad_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Talon_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00E' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Talon_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Talon_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Talon_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Talon_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Talon_Copy_Copy_Copy, gg_unit_edob_0033, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Talon_Copy_Copy_Copy, Condition( function Trig_Summon_Talon_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Talon_Copy_Copy_Copy, function Trig_Summon_Talon_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Talon_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'edot', Player(3), GetRectCenter(gg_rct_Player_4), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Talon_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Talon_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Talon_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Talon_Copy_Copy_Copy, 45.00 )
call TriggerAddAction( gg_trg_Bring_Talon_Copy_Copy_Copy, function Trig_Bring_Talon_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Druid_of_Claw_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00F' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Druid_of_Claw_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Druid_of_Claw_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Druid_of_Claw_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Druid_of_Claw_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Druid_of_Claw_Copy_Copy_Copy, gg_unit_edob_0033, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Druid_of_Claw_Copy_Copy_Copy, Condition( function Trig_Summon_Druid_of_Claw_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Druid_of_Claw_Copy_Copy_Copy, function Trig_Summon_Druid_of_Claw_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Druid_of_Claw_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'edoc', Player(3), GetRectCenter(gg_rct_Player_4), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Druid_of_Claw_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Druid_of_Claw_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Druid_of_Claw_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Druid_of_Claw_Copy_Copy_Copy, 75.00 )
call TriggerAddAction( gg_trg_Bring_Druid_of_Claw_Copy_Copy_Copy, function Trig_Bring_Druid_of_Claw_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_MtGiant_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00D' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_MtGiant_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_MtGiant_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_MtGiant_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_MtGiant_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_MtGiant_Copy_Copy_Copy, gg_unit_edob_0033, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_MtGiant_Copy_Copy_Copy, Condition( function Trig_Summon_MtGiant_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_MtGiant_Copy_Copy_Copy, function Trig_Summon_MtGiant_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_MtGiant_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'emtg', Player(3), GetRectCenter(gg_rct_Player_4), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_MtGiant_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_MtGiant_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_MtGiant_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_MtGiant_Copy_Copy_Copy, 120.00 )
call TriggerAddAction( gg_trg_Bring_MtGiant_Copy_Copy_Copy, function Trig_Bring_MtGiant_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Chimaera_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00H' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Chimaera_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Chimaera_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Chimaera_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Chimaera_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Chimaera_Copy_Copy_Copy, gg_unit_edob_0033, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Chimaera_Copy_Copy_Copy, Condition( function Trig_Summon_Chimaera_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Chimaera_Copy_Copy_Copy, function Trig_Summon_Chimaera_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Chimaera_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'echm', Player(3), GetRectCenter(gg_rct_Player_4), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Chimaera_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Chimaera_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Chimaera_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Chimaera_Copy_Copy_Copy, 125.00 )
call TriggerAddAction( gg_trg_Bring_Chimaera_Copy_Copy_Copy, function Trig_Bring_Chimaera_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Hippo_3_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00Y' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Hippo_3_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Hippo_3 )
endfunction
//===========================================================================
function InitTrig_Summon_Hippo_3 takes nothing returns nothing
set gg_trg_Summon_Hippo_3 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Hippo_3, gg_unit_edob_0033, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Hippo_3, Condition( function Trig_Summon_Hippo_3_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Hippo_3, function Trig_Summon_Hippo_3_Actions )
endfunction
function Trig_Bring_Hippo_3_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ehip', Player(3), GetRectCenter(gg_rct_Player_4), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Hippo_3 takes nothing returns nothing
set gg_trg_Bring_Hippo_3 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Hippo_3 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Hippo_3, 50.00 )
call TriggerAddAction( gg_trg_Bring_Hippo_3, function Trig_Bring_Hippo_3_Actions )
endfunction
function Trig_Summon_Ancient_Protector_3_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R019' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Ancient_Protector_3_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Ancient_Protector_3 )
endfunction
//===========================================================================
function InitTrig_Summon_Ancient_Protector_3 takes nothing returns nothing
set gg_trg_Summon_Ancient_Protector_3 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Ancient_Protector_3, gg_unit_edob_0033, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Ancient_Protector_3, Condition( function Trig_Summon_Ancient_Protector_3_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Ancient_Protector_3, function Trig_Summon_Ancient_Protector_3_Actions )
endfunction
function Trig_Bring_Ancient_Protector_3_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'etrp', Player(3), GetRectCenter(gg_rct_Player_4), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Ancient_Protector_3 takes nothing returns nothing
set gg_trg_Bring_Ancient_Protector_3 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Ancient_Protector_3 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Ancient_Protector_3, 155.00 )
call TriggerAddAction( gg_trg_Bring_Ancient_Protector_3, function Trig_Bring_Ancient_Protector_3_Actions )
endfunction
function Trig_Summon_Glaive_Thrower_3_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R011' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Glaive_Thrower_3_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Glaive_Thrower_3 )
endfunction
//===========================================================================
function InitTrig_Summon_Glaive_Thrower_3 takes nothing returns nothing
set gg_trg_Summon_Glaive_Thrower_3 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Glaive_Thrower_3, gg_unit_edob_0033, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Glaive_Thrower_3, Condition( function Trig_Summon_Glaive_Thrower_3_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Glaive_Thrower_3, function Trig_Summon_Glaive_Thrower_3_Actions )
endfunction
function Trig_Bring_Glaive_Thrower_3_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ebal', Player(3), GetRectCenter(gg_rct_Player_4), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Glaive_Thrower_3 takes nothing returns nothing
set gg_trg_Bring_Glaive_Thrower_3 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Glaive_Thrower_3 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Glaive_Thrower_3, 135.00 )
call TriggerAddAction( gg_trg_Bring_Glaive_Thrower_3, function Trig_Bring_Glaive_Thrower_3_Actions )
endfunction
function Trig_Summon_Faerie_Dragon_3_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R012' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Faerie_Dragon_3_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Faerie_Dragon_3 )
endfunction
//===========================================================================
function InitTrig_Summon_Faerie_Dragon_3 takes nothing returns nothing
set gg_trg_Summon_Faerie_Dragon_3 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Faerie_Dragon_3, gg_unit_edob_0033, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Faerie_Dragon_3, Condition( function Trig_Summon_Faerie_Dragon_3_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Faerie_Dragon_3, function Trig_Summon_Faerie_Dragon_3_Actions )
endfunction
function Trig_Bring_Faerie_Dragon_3_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'efdr', Player(3), GetRectCenter(gg_rct_Player_4), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Faerie_Dragon_3 takes nothing returns nothing
set gg_trg_Bring_Faerie_Dragon_3 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Faerie_Dragon_3 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Faerie_Dragon_3, 65.00 )
call TriggerAddAction( gg_trg_Bring_Faerie_Dragon_3, function Trig_Bring_Faerie_Dragon_3_Actions )
endfunction
function Trig_Summon_Green_Dragon_3_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R01F' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Green_Dragon_3_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Green_Dragon_3 )
endfunction
//===========================================================================
function InitTrig_Summon_Green_Dragon_3 takes nothing returns nothing
set gg_trg_Summon_Green_Dragon_3 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Green_Dragon_3, gg_unit_edob_0033, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Green_Dragon_3, Condition( function Trig_Summon_Green_Dragon_3_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Green_Dragon_3, function Trig_Summon_Green_Dragon_3_Actions )
endfunction
function Trig_Bring_Green_Dragon_3_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ngrd', Player(3), GetRectCenter(gg_rct_Player_4), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Green_Dragon_3 takes nothing returns nothing
set gg_trg_Bring_Green_Dragon_3 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Green_Dragon_3 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Green_Dragon_3, 300.00 )
call TriggerAddAction( gg_trg_Bring_Green_Dragon_3, function Trig_Bring_Green_Dragon_3_Actions )
endfunction
function Trig_Summon_Rifle_Copy_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R007' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Rifle_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Rifle_Copy_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Rifle_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Rifle_Copy_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Rifle_Copy_Copy_Copy_Copy, gg_unit_hbla_0035, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Rifle_Copy_Copy_Copy_Copy, Condition( function Trig_Summon_Rifle_Copy_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Rifle_Copy_Copy_Copy_Copy, function Trig_Summon_Rifle_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Rifle_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hrif', Player(4), GetRectCenter(gg_rct_Player_5), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Rifle_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Rifle_Copy_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Rifle_Copy_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Rifle_Copy_Copy_Copy_Copy, 30.00 )
call TriggerAddAction( gg_trg_Bring_Rifle_Copy_Copy_Copy_Copy, function Trig_Bring_Rifle_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Sorc_Copy_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00G' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Sorc_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Sorc_Copy_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Sorc_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Sorc_Copy_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Sorc_Copy_Copy_Copy_Copy, gg_unit_hbla_0035, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Sorc_Copy_Copy_Copy_Copy, Condition( function Trig_Summon_Sorc_Copy_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Sorc_Copy_Copy_Copy_Copy, function Trig_Summon_Sorc_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Sorc_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hsor', Player(4), GetRectCenter(gg_rct_Player_5), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Sorc_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Sorc_Copy_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Sorc_Copy_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Sorc_Copy_Copy_Copy_Copy, 50.00 )
call TriggerAddAction( gg_trg_Bring_Sorc_Copy_Copy_Copy_Copy, function Trig_Bring_Sorc_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Preist_Copy_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R004' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Preist_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Preist_Copy_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Preist_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Preist_Copy_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Preist_Copy_Copy_Copy_Copy, gg_unit_hbla_0035, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Preist_Copy_Copy_Copy_Copy, Condition( function Trig_Summon_Preist_Copy_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Preist_Copy_Copy_Copy_Copy, function Trig_Summon_Preist_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Preist_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hmpr', Player(4), GetRectCenter(gg_rct_Player_5), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Preist_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Preist_Copy_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Preist_Copy_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Preist_Copy_Copy_Copy_Copy, 45.00 )
call TriggerAddAction( gg_trg_Bring_Preist_Copy_Copy_Copy_Copy, function Trig_Bring_Preist_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Spell_Breaker_Copy_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R005' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Spell_Breaker_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Spell_Breaker_Copy_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Spell_Breaker_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Spell_Breaker_Copy_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Spell_Breaker_Copy_Copy_Copy_Copy, gg_unit_hbla_0035, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Spell_Breaker_Copy_Copy_Copy_Copy, Condition( function Trig_Summon_Spell_Breaker_Copy_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Spell_Breaker_Copy_Copy_Copy_Copy, function Trig_Summon_Spell_Breaker_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Spell_Breaker_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hspt', Player(4), GetRectCenter(gg_rct_Player_5), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Spell_Breaker_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Spell_Breaker_Copy_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Spell_Breaker_Copy_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Spell_Breaker_Copy_Copy_Copy_Copy, 50.00 )
call TriggerAddAction( gg_trg_Bring_Spell_Breaker_Copy_Copy_Copy_Copy, function Trig_Bring_Spell_Breaker_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Mortar_Copy_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R008' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Mortar_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Mortar_Copy_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Mortar_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Mortar_Copy_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Mortar_Copy_Copy_Copy_Copy, gg_unit_hbla_0035, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Mortar_Copy_Copy_Copy_Copy, Condition( function Trig_Summon_Mortar_Copy_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Mortar_Copy_Copy_Copy_Copy, function Trig_Summon_Mortar_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Mortar_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hmtm', Player(4), GetRectCenter(gg_rct_Player_5), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Mortar_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Mortar_Copy_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Mortar_Copy_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Mortar_Copy_Copy_Copy_Copy, 155.00 )
call TriggerAddAction( gg_trg_Bring_Mortar_Copy_Copy_Copy_Copy, function Trig_Bring_Mortar_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Knight_Copy_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R009' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Knight_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Knight_Copy_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Knight_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Knight_Copy_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Knight_Copy_Copy_Copy_Copy, gg_unit_hbla_0035, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Knight_Copy_Copy_Copy_Copy, Condition( function Trig_Summon_Knight_Copy_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Knight_Copy_Copy_Copy_Copy, function Trig_Summon_Knight_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Knight_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hkni', Player(4), GetRectCenter(gg_rct_Player_5), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Knight_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Knight_Copy_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Knight_Copy_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Knight_Copy_Copy_Copy_Copy, 50.00 )
call TriggerAddAction( gg_trg_Bring_Knight_Copy_Copy_Copy_Copy, function Trig_Bring_Knight_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Gryphon_Copy_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00A' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Gryphon_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Gryphon_Copy_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Gryphon_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Gryphon_Copy_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Gryphon_Copy_Copy_Copy_Copy, gg_unit_hbla_0035, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Gryphon_Copy_Copy_Copy_Copy, Condition( function Trig_Summon_Gryphon_Copy_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Gryphon_Copy_Copy_Copy_Copy, function Trig_Summon_Gryphon_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Gryphon_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hgry', Player(4), GetRectCenter(gg_rct_Player_5), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Gryphon_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Gryphon_Copy_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Gryphon_Copy_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Gryphon_Copy_Copy_Copy_Copy, 115.00 )
call TriggerAddAction( gg_trg_Bring_Gryphon_Copy_Copy_Copy_Copy, function Trig_Bring_Gryphon_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Dragonhawk_Rider_4_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00W' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Dragonhawk_Rider_4_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Dragonhawk_Rider_4 )
endfunction
//===========================================================================
function InitTrig_Summon_Dragonhawk_Rider_4 takes nothing returns nothing
set gg_trg_Summon_Dragonhawk_Rider_4 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Dragonhawk_Rider_4, gg_unit_hbla_0035, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Dragonhawk_Rider_4, Condition( function Trig_Summon_Dragonhawk_Rider_4_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Dragonhawk_Rider_4, function Trig_Summon_Dragonhawk_Rider_4_Actions )
endfunction
function Trig_Bring_Dragonhawk_Rider_4_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hdhw', Player(4), GetRectCenter(gg_rct_Player_5), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Dragonhawk_Rider_4 takes nothing returns nothing
set gg_trg_Bring_Dragonhawk_Rider_4 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Dragonhawk_Rider_4 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Dragonhawk_Rider_4, 105.00 )
call TriggerAddAction( gg_trg_Bring_Dragonhawk_Rider_4, function Trig_Bring_Dragonhawk_Rider_4_Actions )
endfunction
function Trig_Summon_Siege_Engine_4_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R014' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Siege_Engine_4_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Siege_Engine_4 )
endfunction
//===========================================================================
function InitTrig_Summon_Siege_Engine_4 takes nothing returns nothing
set gg_trg_Summon_Siege_Engine_4 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Siege_Engine_4, gg_unit_hbla_0035, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Siege_Engine_4, Condition( function Trig_Summon_Siege_Engine_4_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Siege_Engine_4, function Trig_Summon_Siege_Engine_4_Actions )
endfunction
function Trig_Bring_Siege_Engine_4_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hrtt', Player(4), GetRectCenter(gg_rct_Player_5), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Siege_Engine_4 takes nothing returns nothing
set gg_trg_Bring_Siege_Engine_4 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Siege_Engine_4 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Siege_Engine_4, 165.00 )
call TriggerAddAction( gg_trg_Bring_Siege_Engine_4, function Trig_Bring_Siege_Engine_4_Actions )
endfunction
function Trig_Summon_Flying_Machine_4_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R013' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Flying_Machine_4_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Flying_Machine_4 )
endfunction
//===========================================================================
function InitTrig_Summon_Flying_Machine_4 takes nothing returns nothing
set gg_trg_Summon_Flying_Machine_4 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Flying_Machine_4, gg_unit_hbla_0035, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Flying_Machine_4, Condition( function Trig_Summon_Flying_Machine_4_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Flying_Machine_4, function Trig_Summon_Flying_Machine_4_Actions )
endfunction
function Trig_Bring_Flying_Machine_4_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hgyr', Player(4), GetRectCenter(gg_rct_Player_5), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Flying_Machine_4 takes nothing returns nothing
set gg_trg_Bring_Flying_Machine_4 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Flying_Machine_4 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Flying_Machine_4, 55.00 )
call TriggerAddAction( gg_trg_Bring_Flying_Machine_4, function Trig_Bring_Flying_Machine_4_Actions )
endfunction
function Trig_Summon_Noble_Knight_4_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R018' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Noble_Knight_4_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Noble_Knight_4 )
endfunction
//===========================================================================
function InitTrig_Summon_Noble_Knight_4 takes nothing returns nothing
set gg_trg_Summon_Noble_Knight_4 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Noble_Knight_4, gg_unit_hbla_0035, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Noble_Knight_4, Condition( function Trig_Summon_Noble_Knight_4_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Noble_Knight_4, function Trig_Summon_Noble_Knight_4_Actions )
endfunction
function Trig_Bring_Noble_Knight_4_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'nbld', Player(4), GetRectCenter(gg_rct_Player_5), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Noble_Knight_4 takes nothing returns nothing
set gg_trg_Bring_Noble_Knight_4 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Noble_Knight_4 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Noble_Knight_4, 165.00 )
call TriggerAddAction( gg_trg_Bring_Noble_Knight_4, function Trig_Bring_Noble_Knight_4_Actions )
endfunction
function Trig_Summon_Bronze_Dragon_4_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R01E' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Bronze_Dragon_4_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Bronze_Dragon_4 )
endfunction
//===========================================================================
function InitTrig_Summon_Bronze_Dragon_4 takes nothing returns nothing
set gg_trg_Summon_Bronze_Dragon_4 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Bronze_Dragon_4, gg_unit_hbla_0035, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Bronze_Dragon_4, Condition( function Trig_Summon_Bronze_Dragon_4_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Bronze_Dragon_4, function Trig_Summon_Bronze_Dragon_4_Actions )
endfunction
function Trig_Bring_Bronze_Dragon_4_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'nbzd', Player(4), GetRectCenter(gg_rct_Player_5), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Bronze_Dragon_4 takes nothing returns nothing
set gg_trg_Bring_Bronze_Dragon_4 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Bronze_Dragon_4 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Bronze_Dragon_4, 300.00 )
call TriggerAddAction( gg_trg_Bring_Bronze_Dragon_4, function Trig_Bring_Bronze_Dragon_4_Actions )
endfunction
function Trig_Summon_Archer_Copy_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00B' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Archer_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Archer_Copy_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Archer_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Archer_Copy_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Archer_Copy_Copy_Copy_Copy, gg_unit_edob_0036, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Archer_Copy_Copy_Copy_Copy, Condition( function Trig_Summon_Archer_Copy_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Archer_Copy_Copy_Copy_Copy, function Trig_Summon_Archer_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Archer_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'earc', Player(4), GetRectCenter(gg_rct_Player_5), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Archer_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Archer_Copy_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Archer_Copy_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Archer_Copy_Copy_Copy_Copy, 15.00 )
call TriggerAddAction( gg_trg_Bring_Archer_Copy_Copy_Copy_Copy, function Trig_Bring_Archer_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Huntress_Copy_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00V' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Huntress_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Huntress_Copy_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Huntress_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Huntress_Copy_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Huntress_Copy_Copy_Copy_Copy, gg_unit_edob_0036, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Huntress_Copy_Copy_Copy_Copy, Condition( function Trig_Summon_Huntress_Copy_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Huntress_Copy_Copy_Copy_Copy, function Trig_Summon_Huntress_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Huntress_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'esen', Player(4), GetRectCenter(gg_rct_Player_5), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Huntress_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Huntress_Copy_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Huntress_Copy_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Huntress_Copy_Copy_Copy_Copy, 28.00 )
call TriggerAddAction( gg_trg_Bring_Huntress_Copy_Copy_Copy_Copy, function Trig_Bring_Huntress_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Dryad_Copy_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00C' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Dryad_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Dryad_Copy_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Dryad_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Dryad_Copy_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Dryad_Copy_Copy_Copy_Copy, gg_unit_edob_0036, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Dryad_Copy_Copy_Copy_Copy, Condition( function Trig_Summon_Dryad_Copy_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Dryad_Copy_Copy_Copy_Copy, function Trig_Summon_Dryad_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Dryad_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'edry', Player(4), GetRectCenter(gg_rct_Player_5), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Dryad_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Dryad_Copy_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Dryad_Copy_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Dryad_Copy_Copy_Copy_Copy, 30.00 )
call TriggerAddAction( gg_trg_Bring_Dryad_Copy_Copy_Copy_Copy, function Trig_Bring_Dryad_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Talon_Copy_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00E' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Talon_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Talon_Copy_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Talon_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Talon_Copy_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Talon_Copy_Copy_Copy_Copy, gg_unit_edob_0036, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Talon_Copy_Copy_Copy_Copy, Condition( function Trig_Summon_Talon_Copy_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Talon_Copy_Copy_Copy_Copy, function Trig_Summon_Talon_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Talon_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'edot', Player(4), GetRectCenter(gg_rct_Player_5), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Talon_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Talon_Copy_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Talon_Copy_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Talon_Copy_Copy_Copy_Copy, 45.00 )
call TriggerAddAction( gg_trg_Bring_Talon_Copy_Copy_Copy_Copy, function Trig_Bring_Talon_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Druid_of_Claw_Copy_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00F' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Druid_of_Claw_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Druid_of_Claw_Copy_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Druid_of_Claw_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Druid_of_Claw_Copy_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Druid_of_Claw_Copy_Copy_Copy_Copy, gg_unit_edob_0036, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Druid_of_Claw_Copy_Copy_Copy_Copy, Condition( function Trig_Summon_Druid_of_Claw_Copy_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Druid_of_Claw_Copy_Copy_Copy_Copy, function Trig_Summon_Druid_of_Claw_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Druid_of_Claw_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'edoc', Player(4), GetRectCenter(gg_rct_Player_5), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Druid_of_Claw_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Druid_of_Claw_Copy_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Druid_of_Claw_Copy_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Druid_of_Claw_Copy_Copy_Copy_Copy, 75.00 )
call TriggerAddAction( gg_trg_Bring_Druid_of_Claw_Copy_Copy_Copy_Copy, function Trig_Bring_Druid_of_Claw_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_MtGiant_Copy_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00D' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_MtGiant_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_MtGiant_Copy_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_MtGiant_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_MtGiant_Copy_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_MtGiant_Copy_Copy_Copy_Copy, gg_unit_edob_0036, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_MtGiant_Copy_Copy_Copy_Copy, Condition( function Trig_Summon_MtGiant_Copy_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_MtGiant_Copy_Copy_Copy_Copy, function Trig_Summon_MtGiant_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_MtGiant_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'emtg', Player(4), GetRectCenter(gg_rct_Player_5), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_MtGiant_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_MtGiant_Copy_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_MtGiant_Copy_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_MtGiant_Copy_Copy_Copy_Copy, 120.00 )
call TriggerAddAction( gg_trg_Bring_MtGiant_Copy_Copy_Copy_Copy, function Trig_Bring_MtGiant_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Chimaera_Copy_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00H' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Chimaera_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Chimaera_Copy_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Chimaera_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Chimaera_Copy_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Chimaera_Copy_Copy_Copy_Copy, gg_unit_edob_0036, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Chimaera_Copy_Copy_Copy_Copy, Condition( function Trig_Summon_Chimaera_Copy_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Chimaera_Copy_Copy_Copy_Copy, function Trig_Summon_Chimaera_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Chimaera_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'echm', Player(4), GetRectCenter(gg_rct_Player_5), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Chimaera_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Chimaera_Copy_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Chimaera_Copy_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Chimaera_Copy_Copy_Copy_Copy, 125.00 )
call TriggerAddAction( gg_trg_Bring_Chimaera_Copy_Copy_Copy_Copy, function Trig_Bring_Chimaera_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Hippo_4_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00Y' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Hippo_4_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Hippo_4 )
endfunction
//===========================================================================
function InitTrig_Summon_Hippo_4 takes nothing returns nothing
set gg_trg_Summon_Hippo_4 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Hippo_4, gg_unit_edob_0036, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Hippo_4, Condition( function Trig_Summon_Hippo_4_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Hippo_4, function Trig_Summon_Hippo_4_Actions )
endfunction
function Trig_Bring_Hippo_4_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ehip', Player(4), GetRectCenter(gg_rct_Player_5), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Hippo_4 takes nothing returns nothing
set gg_trg_Bring_Hippo_4 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Hippo_4 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Hippo_4, 50.00 )
call TriggerAddAction( gg_trg_Bring_Hippo_4, function Trig_Bring_Hippo_4_Actions )
endfunction
function Trig_Summon_Ancient_Protector_4_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R019' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Ancient_Protector_4_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Ancient_Protector_4 )
endfunction
//===========================================================================
function InitTrig_Summon_Ancient_Protector_4 takes nothing returns nothing
set gg_trg_Summon_Ancient_Protector_4 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Ancient_Protector_4, gg_unit_edob_0036, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Ancient_Protector_4, Condition( function Trig_Summon_Ancient_Protector_4_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Ancient_Protector_4, function Trig_Summon_Ancient_Protector_4_Actions )
endfunction
function Trig_Bring_Ancient_Protector_4_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'etrp', Player(4), GetRectCenter(gg_rct_Player_5), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Ancient_Protector_4 takes nothing returns nothing
set gg_trg_Bring_Ancient_Protector_4 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Ancient_Protector_4 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Ancient_Protector_4, 155.00 )
call TriggerAddAction( gg_trg_Bring_Ancient_Protector_4, function Trig_Bring_Ancient_Protector_4_Actions )
endfunction
function Trig_Summon_Glaive_Thrower_4_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R011' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Glaive_Thrower_4_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Glaive_Thrower_4 )
endfunction
//===========================================================================
function InitTrig_Summon_Glaive_Thrower_4 takes nothing returns nothing
set gg_trg_Summon_Glaive_Thrower_4 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Glaive_Thrower_4, gg_unit_edob_0036, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Glaive_Thrower_4, Condition( function Trig_Summon_Glaive_Thrower_4_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Glaive_Thrower_4, function Trig_Summon_Glaive_Thrower_4_Actions )
endfunction
function Trig_Bring_Glaive_Thrower_4_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ebal', Player(4), GetRectCenter(gg_rct_Player_5), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Glaive_Thrower_4 takes nothing returns nothing
set gg_trg_Bring_Glaive_Thrower_4 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Glaive_Thrower_4 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Glaive_Thrower_4, 135.00 )
call TriggerAddAction( gg_trg_Bring_Glaive_Thrower_4, function Trig_Bring_Glaive_Thrower_4_Actions )
endfunction
function Trig_Summon_Faerie_Dragon_4_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R012' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Faerie_Dragon_4_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Faerie_Dragon_4 )
endfunction
//===========================================================================
function InitTrig_Summon_Faerie_Dragon_4 takes nothing returns nothing
set gg_trg_Summon_Faerie_Dragon_4 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Faerie_Dragon_4, gg_unit_edob_0036, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Faerie_Dragon_4, Condition( function Trig_Summon_Faerie_Dragon_4_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Faerie_Dragon_4, function Trig_Summon_Faerie_Dragon_4_Actions )
endfunction
function Trig_Bring_Faerie_Dragon_4_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'efdr', Player(4), GetRectCenter(gg_rct_Player_5), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Faerie_Dragon_4 takes nothing returns nothing
set gg_trg_Bring_Faerie_Dragon_4 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Faerie_Dragon_4 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Faerie_Dragon_4, 65.00 )
call TriggerAddAction( gg_trg_Bring_Faerie_Dragon_4, function Trig_Bring_Faerie_Dragon_4_Actions )
endfunction
function Trig_Summon_Green_Dragon_4_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R01F' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Green_Dragon_4_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Green_Dragon_4 )
endfunction
//===========================================================================
function InitTrig_Summon_Green_Dragon_4 takes nothing returns nothing
set gg_trg_Summon_Green_Dragon_4 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Green_Dragon_4, gg_unit_edob_0036, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Green_Dragon_4, Condition( function Trig_Summon_Green_Dragon_4_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Green_Dragon_4, function Trig_Summon_Green_Dragon_4_Actions )
endfunction
function Trig_Bring_Green_Dragon_4_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ngrd', Player(4), GetRectCenter(gg_rct_Player_5), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Green_Dragon_4 takes nothing returns nothing
set gg_trg_Bring_Green_Dragon_4 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Green_Dragon_4 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Green_Dragon_4, 300.00 )
call TriggerAddAction( gg_trg_Bring_Green_Dragon_4, function Trig_Bring_Green_Dragon_4_Actions )
endfunction
function Trig_Summon_Spirit_Walker_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00I' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Spirit_Walker_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Spirit_Walker )
endfunction
//===========================================================================
function InitTrig_Summon_Spirit_Walker takes nothing returns nothing
set gg_trg_Summon_Spirit_Walker = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Spirit_Walker, gg_unit_ofor_0038, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Spirit_Walker, Condition( function Trig_Summon_Spirit_Walker_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Spirit_Walker, function Trig_Summon_Spirit_Walker_Actions )
endfunction
function Trig_Bring_Spirit_Walker_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ospw', Player(5), GetRectCenter(gg_rct_Player_6), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Spirit_Walker takes nothing returns nothing
set gg_trg_Bring_Spirit_Walker = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Spirit_Walker )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Spirit_Walker, 65.00 )
call TriggerAddAction( gg_trg_Bring_Spirit_Walker, function Trig_Bring_Spirit_Walker_Actions )
endfunction
function Trig_Summon_Shaman_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00J' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Shaman_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Shaman )
endfunction
//===========================================================================
function InitTrig_Summon_Shaman takes nothing returns nothing
set gg_trg_Summon_Shaman = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Shaman, gg_unit_ofor_0038, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Shaman, Condition( function Trig_Summon_Shaman_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Shaman, function Trig_Summon_Shaman_Actions )
endfunction
function Trig_Bring_Shaman_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'oshm', Player(5), GetRectCenter(gg_rct_Player_6), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Shaman takes nothing returns nothing
set gg_trg_Bring_Shaman = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Shaman )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Shaman, 50.00 )
call TriggerAddAction( gg_trg_Bring_Shaman, function Trig_Bring_Shaman_Actions )
endfunction
function Trig_Summon_Witch_Doctor_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00K' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Witch_Doctor_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Witch_Doctor )
endfunction
//===========================================================================
function InitTrig_Summon_Witch_Doctor takes nothing returns nothing
set gg_trg_Summon_Witch_Doctor = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Witch_Doctor, gg_unit_ofor_0038, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Witch_Doctor, Condition( function Trig_Summon_Witch_Doctor_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Witch_Doctor, function Trig_Summon_Witch_Doctor_Actions )
endfunction
function Trig_Bring_Witch_Doctor_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'odoc', Player(5), GetRectCenter(gg_rct_Player_6), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Witch_Doctor takes nothing returns nothing
set gg_trg_Bring_Witch_Doctor = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Witch_Doctor )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Witch_Doctor, 45.00 )
call TriggerAddAction( gg_trg_Bring_Witch_Doctor, function Trig_Bring_Witch_Doctor_Actions )
endfunction
function Trig_Summon_Headhunter_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00L' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Headhunter_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Headhunter )
endfunction
//===========================================================================
function InitTrig_Summon_Headhunter takes nothing returns nothing
set gg_trg_Summon_Headhunter = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Headhunter, gg_unit_ofor_0038, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Headhunter, Condition( function Trig_Summon_Headhunter_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Headhunter, function Trig_Summon_Headhunter_Actions )
endfunction
function Trig_Bring_Headhunter_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ohun', Player(5), GetRectCenter(gg_rct_Player_6), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Headhunter takes nothing returns nothing
set gg_trg_Bring_Headhunter = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Headhunter )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Headhunter, 20.00 )
call TriggerAddAction( gg_trg_Bring_Headhunter, function Trig_Bring_Headhunter_Actions )
endfunction
function Trig_Summon_Tauren_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00M' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Tauren_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Tauren )
endfunction
//===========================================================================
function InitTrig_Summon_Tauren takes nothing returns nothing
set gg_trg_Summon_Tauren = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Tauren, gg_unit_ofor_0038, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Tauren, Condition( function Trig_Summon_Tauren_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Tauren, function Trig_Summon_Tauren_Actions )
endfunction
function Trig_Bring_Tauren_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'otau', Player(5), GetRectCenter(gg_rct_Player_6), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Tauren takes nothing returns nothing
set gg_trg_Bring_Tauren = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Tauren )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Tauren, 65.00 )
call TriggerAddAction( gg_trg_Bring_Tauren, function Trig_Bring_Tauren_Actions )
endfunction
function Trig_Summon_Demolisher_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00N' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Demolisher_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Demolisher )
endfunction
//===========================================================================
function InitTrig_Summon_Demolisher takes nothing returns nothing
set gg_trg_Summon_Demolisher = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Demolisher, gg_unit_ofor_0038, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Demolisher, Condition( function Trig_Summon_Demolisher_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Demolisher, function Trig_Summon_Demolisher_Actions )
endfunction
function Trig_Bring_Demolisher_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ocat', Player(5), GetRectCenter(gg_rct_Player_6), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Demolisher takes nothing returns nothing
set gg_trg_Bring_Demolisher = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Demolisher )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Demolisher, 155.00 )
call TriggerAddAction( gg_trg_Bring_Demolisher, function Trig_Bring_Demolisher_Actions )
endfunction
function Trig_Summon_Wind_Rider_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00O' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Wind_Rider_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Wind_Rider )
endfunction
//===========================================================================
function InitTrig_Summon_Wind_Rider takes nothing returns nothing
set gg_trg_Summon_Wind_Rider = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Wind_Rider, gg_unit_ofor_0038, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Wind_Rider, Condition( function Trig_Summon_Wind_Rider_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Wind_Rider, function Trig_Summon_Wind_Rider_Actions )
endfunction
function Trig_Bring_Wind_Rider_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'owyv', Player(5), GetRectCenter(gg_rct_Player_6), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Wind_Rider takes nothing returns nothing
set gg_trg_Bring_Wind_Rider = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Wind_Rider )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Wind_Rider, 60.00 )
call TriggerAddAction( gg_trg_Bring_Wind_Rider, function Trig_Bring_Wind_Rider_Actions )
endfunction
function Trig_Summon_Bat_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00Z' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Bat_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Bat )
endfunction
//===========================================================================
function InitTrig_Summon_Bat takes nothing returns nothing
set gg_trg_Summon_Bat = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Bat, gg_unit_ofor_0038, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Bat, Condition( function Trig_Summon_Bat_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Bat, function Trig_Summon_Bat_Actions )
endfunction
function Trig_Bring_Bat_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'otbr', Player(5), GetRectCenter(gg_rct_Player_6), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Bat takes nothing returns nothing
set gg_trg_Bring_Bat = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Bat )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Bat, 95.00 )
call TriggerAddAction( gg_trg_Bring_Bat, function Trig_Bring_Bat_Actions )
endfunction
function Trig_Summon_Red_Dragon_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R01H' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Red_Dragon_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Red_Dragon )
endfunction
//===========================================================================
function InitTrig_Summon_Red_Dragon takes nothing returns nothing
set gg_trg_Summon_Red_Dragon = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Red_Dragon, gg_unit_ofor_0038, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Red_Dragon, Condition( function Trig_Summon_Red_Dragon_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Red_Dragon, function Trig_Summon_Red_Dragon_Actions )
endfunction
function Trig_Bring_Red_Dragon_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'nrwm', Player(5), GetRectCenter(gg_rct_Player_6), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Red_Dragon takes nothing returns nothing
set gg_trg_Bring_Red_Dragon = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Red_Dragon )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Red_Dragon, 300.00 )
call TriggerAddAction( gg_trg_Bring_Red_Dragon, function Trig_Bring_Red_Dragon_Actions )
endfunction
function Trig_Summon_Ogre_Lord_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R01A' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Ogre_Lord_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Ogre_Lord )
endfunction
//===========================================================================
function InitTrig_Summon_Ogre_Lord takes nothing returns nothing
set gg_trg_Summon_Ogre_Lord = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Ogre_Lord, gg_unit_ofor_0038, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Ogre_Lord, Condition( function Trig_Summon_Ogre_Lord_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Ogre_Lord, function Trig_Summon_Ogre_Lord_Actions )
endfunction
function Trig_Bring_Ogre_Lord_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'nogl', Player(5), GetRectCenter(gg_rct_Player_6), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Ogre_Lord takes nothing returns nothing
set gg_trg_Bring_Ogre_Lord = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Ogre_Lord )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Ogre_Lord, 160.00 )
call TriggerAddAction( gg_trg_Bring_Ogre_Lord, function Trig_Bring_Ogre_Lord_Actions )
endfunction
function Trig_Summon_Raider_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R010' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Raider_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Raider )
endfunction
//===========================================================================
function InitTrig_Summon_Raider takes nothing returns nothing
set gg_trg_Summon_Raider = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Raider, gg_unit_ofor_0038, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Raider, Condition( function Trig_Summon_Raider_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Raider, function Trig_Summon_Raider_Actions )
endfunction
function Trig_Bring_Raider_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'orai', Player(5), GetRectCenter(gg_rct_Player_6), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Raider takes nothing returns nothing
set gg_trg_Bring_Raider = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Raider )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Raider, 45.00 )
call TriggerAddAction( gg_trg_Bring_Raider, function Trig_Bring_Raider_Actions )
endfunction
function Trig_Summon_Kobo_Beast_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R015' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Kobo_Beast_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Kobo_Beast )
endfunction
//===========================================================================
function InitTrig_Summon_Kobo_Beast takes nothing returns nothing
set gg_trg_Summon_Kobo_Beast = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Kobo_Beast, gg_unit_ofor_0038, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Kobo_Beast, Condition( function Trig_Summon_Kobo_Beast_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Kobo_Beast, function Trig_Summon_Kobo_Beast_Actions )
endfunction
function Trig_Bring_Kobo_Beast_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'okod', Player(5), GetRectCenter(gg_rct_Player_6), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Kobo_Beast takes nothing returns nothing
set gg_trg_Bring_Kobo_Beast = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Kobo_Beast )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Kobo_Beast, 115.00 )
call TriggerAddAction( gg_trg_Bring_Kobo_Beast, function Trig_Bring_Kobo_Beast_Actions )
endfunction
function Trig_Summon_Abom_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00P' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Abom_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Abom )
endfunction
//===========================================================================
function InitTrig_Summon_Abom takes nothing returns nothing
set gg_trg_Summon_Abom = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Abom, gg_unit_ugrv_0039, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Abom, Condition( function Trig_Summon_Abom_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Abom, function Trig_Summon_Abom_Actions )
endfunction
function Trig_Bring_Abom_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'uabo', Player(5), GetRectCenter(gg_rct_Player_6), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Abom takes nothing returns nothing
set gg_trg_Bring_Abom = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Abom )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Abom, 75.00 )
call TriggerAddAction( gg_trg_Bring_Abom, function Trig_Bring_Abom_Actions )
endfunction
function Trig_Summon_Banshee_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00R' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Banshee_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Banshee )
endfunction
//===========================================================================
function InitTrig_Summon_Banshee takes nothing returns nothing
set gg_trg_Summon_Banshee = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Banshee, gg_unit_ugrv_0039, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Banshee, Condition( function Trig_Summon_Banshee_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Banshee, function Trig_Summon_Banshee_Actions )
endfunction
function Trig_Bring_Banshee_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'uban', Player(5), GetRectCenter(gg_rct_Player_6), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Banshee takes nothing returns nothing
set gg_trg_Bring_Banshee = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Banshee )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Banshee, 45.00 )
call TriggerAddAction( gg_trg_Bring_Banshee, function Trig_Bring_Banshee_Actions )
endfunction
function Trig_Summon_Necromancer_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00Q' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Necromancer_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Necromancer )
endfunction
//===========================================================================
function InitTrig_Summon_Necromancer takes nothing returns nothing
set gg_trg_Summon_Necromancer = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Necromancer, gg_unit_ugrv_0039, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Necromancer, Condition( function Trig_Summon_Necromancer_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Necromancer, function Trig_Summon_Necromancer_Actions )
endfunction
function Trig_Bring_Necromancer_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'unec', Player(5), GetRectCenter(gg_rct_Player_6), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Necromancer takes nothing returns nothing
set gg_trg_Bring_Necromancer = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Necromancer )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Necromancer, 45.00 )
call TriggerAddAction( gg_trg_Bring_Necromancer, function Trig_Bring_Necromancer_Actions )
endfunction
function Trig_Summon_Fiend_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00S' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Fiend_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Fiend )
endfunction
//===========================================================================
function InitTrig_Summon_Fiend takes nothing returns nothing
set gg_trg_Summon_Fiend = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Fiend, gg_unit_ugrv_0039, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Fiend, Condition( function Trig_Summon_Fiend_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Fiend, function Trig_Summon_Fiend_Actions )
endfunction
function Trig_Bring_Fiend_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ucry', Player(5), GetRectCenter(gg_rct_Player_6), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Fiend takes nothing returns nothing
set gg_trg_Bring_Fiend = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Fiend )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Fiend, 45.00 )
call TriggerAddAction( gg_trg_Bring_Fiend, function Trig_Bring_Fiend_Actions )
endfunction
function Trig_Summon_Ghouls_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00T' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Ghouls_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Ghouls )
endfunction
//===========================================================================
function InitTrig_Summon_Ghouls takes nothing returns nothing
set gg_trg_Summon_Ghouls = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Ghouls, gg_unit_ugrv_0039, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Ghouls, Condition( function Trig_Summon_Ghouls_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Ghouls, function Trig_Summon_Ghouls_Actions )
endfunction
function Trig_Bring_Ghouls_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ugho', Player(5), GetRectCenter(gg_rct_Player_6), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Ghouls takes nothing returns nothing
set gg_trg_Bring_Ghouls = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Ghouls )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Ghouls, 11.00 )
call TriggerAddAction( gg_trg_Bring_Ghouls, function Trig_Bring_Ghouls_Actions )
endfunction
function Trig_Summon_Meat_Wagon_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00U' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Meat_Wagon_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Meat_Wagon )
endfunction
//===========================================================================
function InitTrig_Summon_Meat_Wagon takes nothing returns nothing
set gg_trg_Summon_Meat_Wagon = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Meat_Wagon, gg_unit_ugrv_0039, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Meat_Wagon, Condition( function Trig_Summon_Meat_Wagon_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Meat_Wagon, function Trig_Summon_Meat_Wagon_Actions )
endfunction
function Trig_Bring_Meat_Wagon_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'umtw', Player(5), GetRectCenter(gg_rct_Player_6), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Meat_Wagon takes nothing returns nothing
set gg_trg_Bring_Meat_Wagon = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Meat_Wagon )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Meat_Wagon, 135.00 )
call TriggerAddAction( gg_trg_Bring_Meat_Wagon, function Trig_Bring_Meat_Wagon_Actions )
endfunction
function Trig_Summon_Frost_Wyrm_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R006' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Frost_Wyrm_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Frost_Wyrm )
endfunction
//===========================================================================
function InitTrig_Summon_Frost_Wyrm takes nothing returns nothing
set gg_trg_Summon_Frost_Wyrm = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Frost_Wyrm, gg_unit_ugrv_0039, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Frost_Wyrm, Condition( function Trig_Summon_Frost_Wyrm_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Frost_Wyrm, function Trig_Summon_Frost_Wyrm_Actions )
endfunction
function Trig_Bring_Frost_Wyrm_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ufro', Player(5), GetRectCenter(gg_rct_Player_6), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Frost_Wyrm takes nothing returns nothing
set gg_trg_Bring_Frost_Wyrm = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Frost_Wyrm )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Frost_Wyrm, 135.00 )
call TriggerAddAction( gg_trg_Bring_Frost_Wyrm, function Trig_Bring_Frost_Wyrm_Actions )
endfunction
function Trig_Summon_Destroyer_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00X' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Destroyer_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Destroyer )
endfunction
//===========================================================================
function InitTrig_Summon_Destroyer takes nothing returns nothing
set gg_trg_Summon_Destroyer = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Destroyer, gg_unit_ugrv_0039, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Destroyer, Condition( function Trig_Summon_Destroyer_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Destroyer, function Trig_Summon_Destroyer_Actions )
endfunction
function Trig_Bring_Destroyer_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ubsp', Player(5), GetRectCenter(gg_rct_Player_6), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Destroyer takes nothing returns nothing
set gg_trg_Bring_Destroyer = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Destroyer )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Destroyer, 125.00 )
call TriggerAddAction( gg_trg_Bring_Destroyer, function Trig_Bring_Destroyer_Actions )
endfunction
function Trig_Summon_Gargoyle_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R017' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Gargoyle_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Gargoyle )
endfunction
//===========================================================================
function InitTrig_Summon_Gargoyle takes nothing returns nothing
set gg_trg_Summon_Gargoyle = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Gargoyle, gg_unit_ugrv_0039, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Gargoyle, Condition( function Trig_Summon_Gargoyle_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Gargoyle, function Trig_Summon_Gargoyle_Actions )
endfunction
function Trig_Bring_Gargoyle_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ugar', Player(5), GetRectCenter(gg_rct_Player_6), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Gargoyle takes nothing returns nothing
set gg_trg_Bring_Gargoyle = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Gargoyle )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Gargoyle, 50.00 )
call TriggerAddAction( gg_trg_Bring_Gargoyle, function Trig_Bring_Gargoyle_Actions )
endfunction
function Trig_Summon_Statue_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R016' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Statue_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Statue )
endfunction
//===========================================================================
function InitTrig_Summon_Statue takes nothing returns nothing
set gg_trg_Summon_Statue = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Statue, gg_unit_ugrv_0039, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Statue, Condition( function Trig_Summon_Statue_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Statue, function Trig_Summon_Statue_Actions )
endfunction
function Trig_Bring_Statue_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'uobs', Player(5), GetRectCenter(gg_rct_Player_6), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Statue takes nothing returns nothing
set gg_trg_Bring_Statue = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Statue )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Statue, 115.00 )
call TriggerAddAction( gg_trg_Bring_Statue, function Trig_Bring_Statue_Actions )
endfunction
function Trig_Summon_Black_Dragon_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R01G' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Black_Dragon_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Black_Dragon )
endfunction
//===========================================================================
function InitTrig_Summon_Black_Dragon takes nothing returns nothing
set gg_trg_Summon_Black_Dragon = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Black_Dragon, gg_unit_ugrv_0039, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Black_Dragon, Condition( function Trig_Summon_Black_Dragon_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Black_Dragon, function Trig_Summon_Black_Dragon_Actions )
endfunction
function Trig_Bring_Black_Dragon_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'nbwm', Player(5), GetRectCenter(gg_rct_Player_6), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Black_Dragon takes nothing returns nothing
set gg_trg_Bring_Black_Dragon = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Black_Dragon )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Black_Dragon, 300.00 )
call TriggerAddAction( gg_trg_Bring_Black_Dragon, function Trig_Bring_Black_Dragon_Actions )
endfunction
function Trig_Summon_Frost_Archer_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R01B' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Frost_Archer_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Frost_Archer )
endfunction
//===========================================================================
function InitTrig_Summon_Frost_Archer takes nothing returns nothing
set gg_trg_Summon_Frost_Archer = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Frost_Archer, gg_unit_ugrv_0039, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Frost_Archer, Condition( function Trig_Summon_Frost_Archer_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Frost_Archer, function Trig_Summon_Frost_Archer_Actions )
endfunction
function Trig_Bring_Frost_Archer_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'nskm', Player(5), GetRectCenter(gg_rct_Player_6), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Frost_Archer takes nothing returns nothing
set gg_trg_Bring_Frost_Archer = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Frost_Archer )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Frost_Archer, 125.00 )
call TriggerAddAction( gg_trg_Bring_Frost_Archer, function Trig_Bring_Frost_Archer_Actions )
endfunction
function Trig_Summon_Spirit_Walker_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00I' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Spirit_Walker_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Spirit_Walker_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Spirit_Walker_Copy takes nothing returns nothing
set gg_trg_Summon_Spirit_Walker_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Spirit_Walker_Copy, gg_unit_ofor_0041, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Spirit_Walker_Copy, Condition( function Trig_Summon_Spirit_Walker_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Spirit_Walker_Copy, function Trig_Summon_Spirit_Walker_Copy_Actions )
endfunction
function Trig_Bring_Spirit_Walker_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ospw', Player(6), GetRectCenter(gg_rct_Player_7), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Spirit_Walker_Copy takes nothing returns nothing
set gg_trg_Bring_Spirit_Walker_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Spirit_Walker_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Spirit_Walker_Copy, 65.00 )
call TriggerAddAction( gg_trg_Bring_Spirit_Walker_Copy, function Trig_Bring_Spirit_Walker_Copy_Actions )
endfunction
function Trig_Summon_Shaman_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00J' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Shaman_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Shaman_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Shaman_Copy takes nothing returns nothing
set gg_trg_Summon_Shaman_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Shaman_Copy, gg_unit_ofor_0041, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Shaman_Copy, Condition( function Trig_Summon_Shaman_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Shaman_Copy, function Trig_Summon_Shaman_Copy_Actions )
endfunction
function Trig_Bring_Shaman_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'oshm', Player(6), GetRectCenter(gg_rct_Player_7), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Shaman_Copy takes nothing returns nothing
set gg_trg_Bring_Shaman_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Shaman_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Shaman_Copy, 50.00 )
call TriggerAddAction( gg_trg_Bring_Shaman_Copy, function Trig_Bring_Shaman_Copy_Actions )
endfunction
function Trig_Summon_Witch_Doctor_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00K' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Witch_Doctor_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Witch_Doctor_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Witch_Doctor_Copy takes nothing returns nothing
set gg_trg_Summon_Witch_Doctor_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Witch_Doctor_Copy, gg_unit_ofor_0041, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Witch_Doctor_Copy, Condition( function Trig_Summon_Witch_Doctor_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Witch_Doctor_Copy, function Trig_Summon_Witch_Doctor_Copy_Actions )
endfunction
function Trig_Bring_Witch_Doctor_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'odoc', Player(6), GetRectCenter(gg_rct_Player_7), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Witch_Doctor_Copy takes nothing returns nothing
set gg_trg_Bring_Witch_Doctor_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Witch_Doctor_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Witch_Doctor_Copy, 45.00 )
call TriggerAddAction( gg_trg_Bring_Witch_Doctor_Copy, function Trig_Bring_Witch_Doctor_Copy_Actions )
endfunction
function Trig_Summon_Headhunter_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00L' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Headhunter_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Headhunter_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Headhunter_Copy takes nothing returns nothing
set gg_trg_Summon_Headhunter_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Headhunter_Copy, gg_unit_ofor_0041, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Headhunter_Copy, Condition( function Trig_Summon_Headhunter_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Headhunter_Copy, function Trig_Summon_Headhunter_Copy_Actions )
endfunction
function Trig_Bring_Headhunter_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ohun', Player(6), GetRectCenter(gg_rct_Player_7), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Headhunter_Copy takes nothing returns nothing
set gg_trg_Bring_Headhunter_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Headhunter_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Headhunter_Copy, 20.00 )
call TriggerAddAction( gg_trg_Bring_Headhunter_Copy, function Trig_Bring_Headhunter_Copy_Actions )
endfunction
function Trig_Summon_Tauren_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00M' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Tauren_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Tauren_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Tauren_Copy takes nothing returns nothing
set gg_trg_Summon_Tauren_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Tauren_Copy, gg_unit_ofor_0041, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Tauren_Copy, Condition( function Trig_Summon_Tauren_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Tauren_Copy, function Trig_Summon_Tauren_Copy_Actions )
endfunction
function Trig_Bring_Tauren_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'otau', Player(6), GetRectCenter(gg_rct_Player_7), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Tauren_Copy takes nothing returns nothing
set gg_trg_Bring_Tauren_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Tauren_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Tauren_Copy, 65.00 )
call TriggerAddAction( gg_trg_Bring_Tauren_Copy, function Trig_Bring_Tauren_Copy_Actions )
endfunction
function Trig_Summon_Demolisher_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00N' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Demolisher_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Demolisher_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Demolisher_Copy takes nothing returns nothing
set gg_trg_Summon_Demolisher_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Demolisher_Copy, gg_unit_ofor_0041, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Demolisher_Copy, Condition( function Trig_Summon_Demolisher_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Demolisher_Copy, function Trig_Summon_Demolisher_Copy_Actions )
endfunction
function Trig_Bring_Demolisher_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ocat', Player(6), GetRectCenter(gg_rct_Player_7), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Demolisher_Copy takes nothing returns nothing
set gg_trg_Bring_Demolisher_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Demolisher_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Demolisher_Copy, 155.00 )
call TriggerAddAction( gg_trg_Bring_Demolisher_Copy, function Trig_Bring_Demolisher_Copy_Actions )
endfunction
function Trig_Summon_Wind_Rider_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00O' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Wind_Rider_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Wind_Rider_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Wind_Rider_Copy takes nothing returns nothing
set gg_trg_Summon_Wind_Rider_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Wind_Rider_Copy, gg_unit_ofor_0041, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Wind_Rider_Copy, Condition( function Trig_Summon_Wind_Rider_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Wind_Rider_Copy, function Trig_Summon_Wind_Rider_Copy_Actions )
endfunction
function Trig_Bring_Wind_Rider_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'owyv', Player(6), GetRectCenter(gg_rct_Player_7), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Wind_Rider_Copy takes nothing returns nothing
set gg_trg_Bring_Wind_Rider_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Wind_Rider_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Wind_Rider_Copy, 60.00 )
call TriggerAddAction( gg_trg_Bring_Wind_Rider_Copy, function Trig_Bring_Wind_Rider_Copy_Actions )
endfunction
function Trig_Summon_Bat_1_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00Z' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Bat_1_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Bat_1 )
endfunction
//===========================================================================
function InitTrig_Summon_Bat_1 takes nothing returns nothing
set gg_trg_Summon_Bat_1 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Bat_1, gg_unit_ofor_0041, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Bat_1, Condition( function Trig_Summon_Bat_1_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Bat_1, function Trig_Summon_Bat_1_Actions )
endfunction
function Trig_Bring_Bat_1_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'otbr', Player(6), GetRectCenter(gg_rct_Player_7), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Bat_1 takes nothing returns nothing
set gg_trg_Bring_Bat_1 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Bat_1 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Bat_1, 95.00 )
call TriggerAddAction( gg_trg_Bring_Bat_1, function Trig_Bring_Bat_1_Actions )
endfunction
function Trig_Summon_Red_Dragon_1_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R01H' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Red_Dragon_1_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Red_Dragon_1 )
endfunction
//===========================================================================
function InitTrig_Summon_Red_Dragon_1 takes nothing returns nothing
set gg_trg_Summon_Red_Dragon_1 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Red_Dragon_1, gg_unit_ofor_0041, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Red_Dragon_1, Condition( function Trig_Summon_Red_Dragon_1_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Red_Dragon_1, function Trig_Summon_Red_Dragon_1_Actions )
endfunction
function Trig_Bring_Red_Dragon_1_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'nrwm', Player(6), GetRectCenter(gg_rct_Player_7), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Red_Dragon_1 takes nothing returns nothing
set gg_trg_Bring_Red_Dragon_1 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Red_Dragon_1 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Red_Dragon_1, 300.00 )
call TriggerAddAction( gg_trg_Bring_Red_Dragon_1, function Trig_Bring_Red_Dragon_1_Actions )
endfunction
function Trig_Summon_Ogre_Lord_1_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R01A' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Ogre_Lord_1_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Ogre_Lord_1 )
endfunction
//===========================================================================
function InitTrig_Summon_Ogre_Lord_1 takes nothing returns nothing
set gg_trg_Summon_Ogre_Lord_1 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Ogre_Lord_1, gg_unit_ofor_0041, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Ogre_Lord_1, Condition( function Trig_Summon_Ogre_Lord_1_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Ogre_Lord_1, function Trig_Summon_Ogre_Lord_1_Actions )
endfunction
function Trig_Bring_Ogre_Lord_1_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'nogl', Player(6), GetRectCenter(gg_rct_Player_7), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Ogre_Lord_1 takes nothing returns nothing
set gg_trg_Bring_Ogre_Lord_1 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Ogre_Lord_1 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Ogre_Lord_1, 160.00 )
call TriggerAddAction( gg_trg_Bring_Ogre_Lord_1, function Trig_Bring_Ogre_Lord_1_Actions )
endfunction
function Trig_Summon_Raider_1_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R010' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Raider_1_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Raider_1 )
endfunction
//===========================================================================
function InitTrig_Summon_Raider_1 takes nothing returns nothing
set gg_trg_Summon_Raider_1 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Raider_1, gg_unit_ofor_0041, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Raider_1, Condition( function Trig_Summon_Raider_1_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Raider_1, function Trig_Summon_Raider_1_Actions )
endfunction
function Trig_Bring_Raider_1_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'orai', Player(6), GetRectCenter(gg_rct_Player_7), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Raider_1 takes nothing returns nothing
set gg_trg_Bring_Raider_1 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Raider_1 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Raider_1, 45.00 )
call TriggerAddAction( gg_trg_Bring_Raider_1, function Trig_Bring_Raider_1_Actions )
endfunction
function Trig_Summon_Kobo_Beast_1_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R015' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Kobo_Beast_1_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Kobo_Beast_1 )
endfunction
//===========================================================================
function InitTrig_Summon_Kobo_Beast_1 takes nothing returns nothing
set gg_trg_Summon_Kobo_Beast_1 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Kobo_Beast_1, gg_unit_ofor_0041, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Kobo_Beast_1, Condition( function Trig_Summon_Kobo_Beast_1_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Kobo_Beast_1, function Trig_Summon_Kobo_Beast_1_Actions )
endfunction
function Trig_Bring_Kobo_Beast_1_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'okod', Player(6), GetRectCenter(gg_rct_Player_7), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Kobo_Beast_1 takes nothing returns nothing
set gg_trg_Bring_Kobo_Beast_1 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Kobo_Beast_1 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Kobo_Beast_1, 115.00 )
call TriggerAddAction( gg_trg_Bring_Kobo_Beast_1, function Trig_Bring_Kobo_Beast_1_Actions )
endfunction
function Trig_Summon_Abom_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00P' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Abom_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Abom_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Abom_Copy takes nothing returns nothing
set gg_trg_Summon_Abom_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Abom_Copy, gg_unit_ugrv_0042, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Abom_Copy, Condition( function Trig_Summon_Abom_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Abom_Copy, function Trig_Summon_Abom_Copy_Actions )
endfunction
function Trig_Bring_Abom_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'uabo', Player(6), GetRectCenter(gg_rct_Player_7), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Abom_Copy takes nothing returns nothing
set gg_trg_Bring_Abom_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Abom_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Abom_Copy, 75.00 )
call TriggerAddAction( gg_trg_Bring_Abom_Copy, function Trig_Bring_Abom_Copy_Actions )
endfunction
function Trig_Summon_Banshee_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00R' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Banshee_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Banshee_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Banshee_Copy takes nothing returns nothing
set gg_trg_Summon_Banshee_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Banshee_Copy, gg_unit_ugrv_0042, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Banshee_Copy, Condition( function Trig_Summon_Banshee_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Banshee_Copy, function Trig_Summon_Banshee_Copy_Actions )
endfunction
function Trig_Bring_Banshee_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'uban', Player(6), GetRectCenter(gg_rct_Player_7), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Banshee_Copy takes nothing returns nothing
set gg_trg_Bring_Banshee_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Banshee_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Banshee_Copy, 45.00 )
call TriggerAddAction( gg_trg_Bring_Banshee_Copy, function Trig_Bring_Banshee_Copy_Actions )
endfunction
function Trig_Summon_Necromancer_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00Q' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Necromancer_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Necromancer_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Necromancer_Copy takes nothing returns nothing
set gg_trg_Summon_Necromancer_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Necromancer_Copy, gg_unit_ugrv_0042, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Necromancer_Copy, Condition( function Trig_Summon_Necromancer_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Necromancer_Copy, function Trig_Summon_Necromancer_Copy_Actions )
endfunction
function Trig_Bring_Necromancer_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'unec', Player(6), GetRectCenter(gg_rct_Player_7), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Necromancer_Copy takes nothing returns nothing
set gg_trg_Bring_Necromancer_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Necromancer_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Necromancer_Copy, 45.00 )
call TriggerAddAction( gg_trg_Bring_Necromancer_Copy, function Trig_Bring_Necromancer_Copy_Actions )
endfunction
function Trig_Summon_Fiend_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00S' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Fiend_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Fiend_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Fiend_Copy takes nothing returns nothing
set gg_trg_Summon_Fiend_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Fiend_Copy, gg_unit_ugrv_0042, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Fiend_Copy, Condition( function Trig_Summon_Fiend_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Fiend_Copy, function Trig_Summon_Fiend_Copy_Actions )
endfunction
function Trig_Bring_Fiend_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ucry', Player(6), GetRectCenter(gg_rct_Player_7), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Fiend_Copy takes nothing returns nothing
set gg_trg_Bring_Fiend_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Fiend_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Fiend_Copy, 45.00 )
call TriggerAddAction( gg_trg_Bring_Fiend_Copy, function Trig_Bring_Fiend_Copy_Actions )
endfunction
function Trig_Summon_Ghouls_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00T' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Ghouls_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Ghouls_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Ghouls_Copy takes nothing returns nothing
set gg_trg_Summon_Ghouls_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Ghouls_Copy, gg_unit_ugrv_0042, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Ghouls_Copy, Condition( function Trig_Summon_Ghouls_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Ghouls_Copy, function Trig_Summon_Ghouls_Copy_Actions )
endfunction
function Trig_Bring_Ghouls_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ugho', Player(6), GetRectCenter(gg_rct_Player_7), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Ghouls_Copy takes nothing returns nothing
set gg_trg_Bring_Ghouls_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Ghouls_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Ghouls_Copy, 11.00 )
call TriggerAddAction( gg_trg_Bring_Ghouls_Copy, function Trig_Bring_Ghouls_Copy_Actions )
endfunction
function Trig_Summon_Meat_Wagon_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00U' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Meat_Wagon_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Meat_Wagon_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Meat_Wagon_Copy takes nothing returns nothing
set gg_trg_Summon_Meat_Wagon_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Meat_Wagon_Copy, gg_unit_ugrv_0042, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Meat_Wagon_Copy, Condition( function Trig_Summon_Meat_Wagon_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Meat_Wagon_Copy, function Trig_Summon_Meat_Wagon_Copy_Actions )
endfunction
function Trig_Bring_Meat_Wagon_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'umtw', Player(6), GetRectCenter(gg_rct_Player_7), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Meat_Wagon_Copy takes nothing returns nothing
set gg_trg_Bring_Meat_Wagon_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Meat_Wagon_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Meat_Wagon_Copy, 135.00 )
call TriggerAddAction( gg_trg_Bring_Meat_Wagon_Copy, function Trig_Bring_Meat_Wagon_Copy_Actions )
endfunction
function Trig_Summon_Frost_Wyrm_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R006' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Frost_Wyrm_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Frost_Wyrm_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Frost_Wyrm_Copy takes nothing returns nothing
set gg_trg_Summon_Frost_Wyrm_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Frost_Wyrm_Copy, gg_unit_ugrv_0042, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Frost_Wyrm_Copy, Condition( function Trig_Summon_Frost_Wyrm_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Frost_Wyrm_Copy, function Trig_Summon_Frost_Wyrm_Copy_Actions )
endfunction
function Trig_Bring_Frost_Wyrm_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ufro', Player(6), GetRectCenter(gg_rct_Player_7), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Frost_Wyrm_Copy takes nothing returns nothing
set gg_trg_Bring_Frost_Wyrm_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Frost_Wyrm_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Frost_Wyrm_Copy, 135.00 )
call TriggerAddAction( gg_trg_Bring_Frost_Wyrm_Copy, function Trig_Bring_Frost_Wyrm_Copy_Actions )
endfunction
function Trig_Summon_Destroyer_1_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00X' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Destroyer_1_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Destroyer_1 )
endfunction
//===========================================================================
function InitTrig_Summon_Destroyer_1 takes nothing returns nothing
set gg_trg_Summon_Destroyer_1 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Destroyer_1, gg_unit_ugrv_0042, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Destroyer_1, Condition( function Trig_Summon_Destroyer_1_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Destroyer_1, function Trig_Summon_Destroyer_1_Actions )
endfunction
function Trig_Bring_Destroyer_1_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ubsp', Player(6), GetRectCenter(gg_rct_Player_7), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Destroyer_1 takes nothing returns nothing
set gg_trg_Bring_Destroyer_1 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Destroyer_1 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Destroyer_1, 125.00 )
call TriggerAddAction( gg_trg_Bring_Destroyer_1, function Trig_Bring_Destroyer_1_Actions )
endfunction
function Trig_Summon_Gargoyle_1_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R017' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Gargoyle_1_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Gargoyle_1 )
endfunction
//===========================================================================
function InitTrig_Summon_Gargoyle_1 takes nothing returns nothing
set gg_trg_Summon_Gargoyle_1 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Gargoyle_1, gg_unit_ugrv_0042, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Gargoyle_1, Condition( function Trig_Summon_Gargoyle_1_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Gargoyle_1, function Trig_Summon_Gargoyle_1_Actions )
endfunction
function Trig_Bring_Gargoyle_1_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ugar', Player(6), GetRectCenter(gg_rct_Player_7), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Gargoyle_1 takes nothing returns nothing
set gg_trg_Bring_Gargoyle_1 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Gargoyle_1 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Gargoyle_1, 50.00 )
call TriggerAddAction( gg_trg_Bring_Gargoyle_1, function Trig_Bring_Gargoyle_1_Actions )
endfunction
function Trig_Summon_Statue_1_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R016' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Statue_1_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Statue_1 )
endfunction
//===========================================================================
function InitTrig_Summon_Statue_1 takes nothing returns nothing
set gg_trg_Summon_Statue_1 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Statue_1, gg_unit_ugrv_0042, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Statue_1, Condition( function Trig_Summon_Statue_1_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Statue_1, function Trig_Summon_Statue_1_Actions )
endfunction
function Trig_Bring_Statue_1_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'uobs', Player(6), GetRectCenter(gg_rct_Player_7), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Statue_1 takes nothing returns nothing
set gg_trg_Bring_Statue_1 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Statue_1 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Statue_1, 115.00 )
call TriggerAddAction( gg_trg_Bring_Statue_1, function Trig_Bring_Statue_1_Actions )
endfunction
function Trig_Summon_Black_Dragon_1_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R01G' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Black_Dragon_1_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Black_Dragon_1 )
endfunction
//===========================================================================
function InitTrig_Summon_Black_Dragon_1 takes nothing returns nothing
set gg_trg_Summon_Black_Dragon_1 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Black_Dragon_1, gg_unit_ugrv_0042, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Black_Dragon_1, Condition( function Trig_Summon_Black_Dragon_1_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Black_Dragon_1, function Trig_Summon_Black_Dragon_1_Actions )
endfunction
function Trig_Bring_Black_Dragon_1_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'nbwm', Player(6), GetRectCenter(gg_rct_Player_7), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Black_Dragon_1 takes nothing returns nothing
set gg_trg_Bring_Black_Dragon_1 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Black_Dragon_1 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Black_Dragon_1, 300.00 )
call TriggerAddAction( gg_trg_Bring_Black_Dragon_1, function Trig_Bring_Black_Dragon_1_Actions )
endfunction
function Trig_Summon_Frost_Archer_1_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R01B' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Frost_Archer_1_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Frost_Archer_1 )
endfunction
//===========================================================================
function InitTrig_Summon_Frost_Archer_1 takes nothing returns nothing
set gg_trg_Summon_Frost_Archer_1 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Frost_Archer_1, gg_unit_ugrv_0042, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Frost_Archer_1, Condition( function Trig_Summon_Frost_Archer_1_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Frost_Archer_1, function Trig_Summon_Frost_Archer_1_Actions )
endfunction
function Trig_Bring_Frost_Archer_1_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'nskm', Player(6), GetRectCenter(gg_rct_Player_7), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Frost_Archer_1 takes nothing returns nothing
set gg_trg_Bring_Frost_Archer_1 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Frost_Archer_1 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Frost_Archer_1, 125.00 )
call TriggerAddAction( gg_trg_Bring_Frost_Archer_1, function Trig_Bring_Frost_Archer_1_Actions )
endfunction
function Trig_Summon_Spirit_Walker_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00I' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Spirit_Walker_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Spirit_Walker_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Spirit_Walker_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Spirit_Walker_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Spirit_Walker_Copy_Copy, gg_unit_ofor_0044, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Spirit_Walker_Copy_Copy, Condition( function Trig_Summon_Spirit_Walker_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Spirit_Walker_Copy_Copy, function Trig_Summon_Spirit_Walker_Copy_Copy_Actions )
endfunction
function Trig_Bring_Spirit_Walker_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ospw', Player(7), GetRectCenter(gg_rct_Player_8), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Spirit_Walker_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Spirit_Walker_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Spirit_Walker_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Spirit_Walker_Copy_Copy, 65.00 )
call TriggerAddAction( gg_trg_Bring_Spirit_Walker_Copy_Copy, function Trig_Bring_Spirit_Walker_Copy_Copy_Actions )
endfunction
function Trig_Summon_Shaman_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00J' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Shaman_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Shaman_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Shaman_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Shaman_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Shaman_Copy_Copy, gg_unit_ofor_0044, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Shaman_Copy_Copy, Condition( function Trig_Summon_Shaman_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Shaman_Copy_Copy, function Trig_Summon_Shaman_Copy_Copy_Actions )
endfunction
function Trig_Bring_Shaman_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'oshm', Player(7), GetRectCenter(gg_rct_Player_8), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Shaman_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Shaman_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Shaman_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Shaman_Copy_Copy, 50.00 )
call TriggerAddAction( gg_trg_Bring_Shaman_Copy_Copy, function Trig_Bring_Shaman_Copy_Copy_Actions )
endfunction
function Trig_Summon_Witch_Doctor_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00K' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Witch_Doctor_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Witch_Doctor_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Witch_Doctor_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Witch_Doctor_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Witch_Doctor_Copy_Copy, gg_unit_ofor_0044, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Witch_Doctor_Copy_Copy, Condition( function Trig_Summon_Witch_Doctor_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Witch_Doctor_Copy_Copy, function Trig_Summon_Witch_Doctor_Copy_Copy_Actions )
endfunction
function Trig_Bring_Witch_Doctor_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'odoc', Player(7), GetRectCenter(gg_rct_Player_8), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Witch_Doctor_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Witch_Doctor_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Witch_Doctor_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Witch_Doctor_Copy_Copy, 45.00 )
call TriggerAddAction( gg_trg_Bring_Witch_Doctor_Copy_Copy, function Trig_Bring_Witch_Doctor_Copy_Copy_Actions )
endfunction
function Trig_Summon_Headhunter_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00L' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Headhunter_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Headhunter_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Headhunter_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Headhunter_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Headhunter_Copy_Copy, gg_unit_ofor_0044, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Headhunter_Copy_Copy, Condition( function Trig_Summon_Headhunter_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Headhunter_Copy_Copy, function Trig_Summon_Headhunter_Copy_Copy_Actions )
endfunction
function Trig_Bring_Headhunter_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ohun', Player(7), GetRectCenter(gg_rct_Player_8), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Headhunter_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Headhunter_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Headhunter_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Headhunter_Copy_Copy, 20.00 )
call TriggerAddAction( gg_trg_Bring_Headhunter_Copy_Copy, function Trig_Bring_Headhunter_Copy_Copy_Actions )
endfunction
function Trig_Summon_Tauren_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00M' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Tauren_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Tauren_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Tauren_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Tauren_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Tauren_Copy_Copy, gg_unit_ofor_0044, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Tauren_Copy_Copy, Condition( function Trig_Summon_Tauren_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Tauren_Copy_Copy, function Trig_Summon_Tauren_Copy_Copy_Actions )
endfunction
function Trig_Bring_Tauren_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'otau', Player(7), GetRectCenter(gg_rct_Player_8), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Tauren_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Tauren_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Tauren_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Tauren_Copy_Copy, 65.00 )
call TriggerAddAction( gg_trg_Bring_Tauren_Copy_Copy, function Trig_Bring_Tauren_Copy_Copy_Actions )
endfunction
function Trig_Summon_Demolisher_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00N' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Demolisher_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Demolisher_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Demolisher_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Demolisher_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Demolisher_Copy_Copy, gg_unit_ofor_0044, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Demolisher_Copy_Copy, Condition( function Trig_Summon_Demolisher_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Demolisher_Copy_Copy, function Trig_Summon_Demolisher_Copy_Copy_Actions )
endfunction
function Trig_Bring_Demolisher_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ocat', Player(7), GetRectCenter(gg_rct_Player_8), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Demolisher_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Demolisher_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Demolisher_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Demolisher_Copy_Copy, 155.00 )
call TriggerAddAction( gg_trg_Bring_Demolisher_Copy_Copy, function Trig_Bring_Demolisher_Copy_Copy_Actions )
endfunction
function Trig_Summon_Wind_Rider_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00O' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Wind_Rider_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Wind_Rider_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Wind_Rider_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Wind_Rider_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Wind_Rider_Copy_Copy, gg_unit_ofor_0044, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Wind_Rider_Copy_Copy, Condition( function Trig_Summon_Wind_Rider_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Wind_Rider_Copy_Copy, function Trig_Summon_Wind_Rider_Copy_Copy_Actions )
endfunction
function Trig_Bring_Wind_Rider_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'owyv', Player(7), GetRectCenter(gg_rct_Player_8), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Wind_Rider_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Wind_Rider_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Wind_Rider_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Wind_Rider_Copy_Copy, 60.00 )
call TriggerAddAction( gg_trg_Bring_Wind_Rider_Copy_Copy, function Trig_Bring_Wind_Rider_Copy_Copy_Actions )
endfunction
function Trig_Summon_Bat_2_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00Z' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Bat_2_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Bat_2 )
endfunction
//===========================================================================
function InitTrig_Summon_Bat_2 takes nothing returns nothing
set gg_trg_Summon_Bat_2 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Bat_2, gg_unit_ofor_0044, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Bat_2, Condition( function Trig_Summon_Bat_2_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Bat_2, function Trig_Summon_Bat_2_Actions )
endfunction
function Trig_Bring_Bat_2_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'otbr', Player(7), GetRectCenter(gg_rct_Player_8), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Bat_2 takes nothing returns nothing
set gg_trg_Bring_Bat_2 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Bat_2 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Bat_2, 95.00 )
call TriggerAddAction( gg_trg_Bring_Bat_2, function Trig_Bring_Bat_2_Actions )
endfunction
function Trig_Summon_Red_Dragon_2_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R01H' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Red_Dragon_2_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Red_Dragon_2 )
endfunction
//===========================================================================
function InitTrig_Summon_Red_Dragon_2 takes nothing returns nothing
set gg_trg_Summon_Red_Dragon_2 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Red_Dragon_2, gg_unit_ofor_0044, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Red_Dragon_2, Condition( function Trig_Summon_Red_Dragon_2_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Red_Dragon_2, function Trig_Summon_Red_Dragon_2_Actions )
endfunction
function Trig_Bring_Red_Dragon_2_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'nrwm', Player(7), GetRectCenter(gg_rct_Player_8), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Red_Dragon_2 takes nothing returns nothing
set gg_trg_Bring_Red_Dragon_2 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Red_Dragon_2 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Red_Dragon_2, 300.00 )
call TriggerAddAction( gg_trg_Bring_Red_Dragon_2, function Trig_Bring_Red_Dragon_2_Actions )
endfunction
function Trig_Summon_Ogre_Lord_2_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R01A' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Ogre_Lord_2_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Ogre_Lord_2 )
endfunction
//===========================================================================
function InitTrig_Summon_Ogre_Lord_2 takes nothing returns nothing
set gg_trg_Summon_Ogre_Lord_2 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Ogre_Lord_2, gg_unit_ofor_0044, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Ogre_Lord_2, Condition( function Trig_Summon_Ogre_Lord_2_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Ogre_Lord_2, function Trig_Summon_Ogre_Lord_2_Actions )
endfunction
function Trig_Bring_Ogre_Lord_2_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'nogl', Player(7), GetRectCenter(gg_rct_Player_8), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Ogre_Lord_2 takes nothing returns nothing
set gg_trg_Bring_Ogre_Lord_2 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Ogre_Lord_2 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Ogre_Lord_2, 160.00 )
call TriggerAddAction( gg_trg_Bring_Ogre_Lord_2, function Trig_Bring_Ogre_Lord_2_Actions )
endfunction
function Trig_Summon_Raider_2_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R010' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Raider_2_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Raider_2 )
endfunction
//===========================================================================
function InitTrig_Summon_Raider_2 takes nothing returns nothing
set gg_trg_Summon_Raider_2 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Raider_2, gg_unit_ofor_0044, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Raider_2, Condition( function Trig_Summon_Raider_2_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Raider_2, function Trig_Summon_Raider_2_Actions )
endfunction
function Trig_Bring_Raider_2_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'orai', Player(7), GetRectCenter(gg_rct_Player_8), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Raider_2 takes nothing returns nothing
set gg_trg_Bring_Raider_2 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Raider_2 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Raider_2, 45.00 )
call TriggerAddAction( gg_trg_Bring_Raider_2, function Trig_Bring_Raider_2_Actions )
endfunction
function Trig_Summon_Kobo_Beast_2_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R015' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Kobo_Beast_2_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Kobo_Beast_2 )
endfunction
//===========================================================================
function InitTrig_Summon_Kobo_Beast_2 takes nothing returns nothing
set gg_trg_Summon_Kobo_Beast_2 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Kobo_Beast_2, gg_unit_ofor_0044, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Kobo_Beast_2, Condition( function Trig_Summon_Kobo_Beast_2_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Kobo_Beast_2, function Trig_Summon_Kobo_Beast_2_Actions )
endfunction
function Trig_Bring_Kobo_Beast_2_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'okod', Player(7), GetRectCenter(gg_rct_Player_8), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Kobo_Beast_2 takes nothing returns nothing
set gg_trg_Bring_Kobo_Beast_2 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Kobo_Beast_2 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Kobo_Beast_2, 115.00 )
call TriggerAddAction( gg_trg_Bring_Kobo_Beast_2, function Trig_Bring_Kobo_Beast_2_Actions )
endfunction
function Trig_Summon_Abom_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00P' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Abom_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Abom_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Abom_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Abom_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Abom_Copy_Copy, gg_unit_ugrv_0045, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Abom_Copy_Copy, Condition( function Trig_Summon_Abom_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Abom_Copy_Copy, function Trig_Summon_Abom_Copy_Copy_Actions )
endfunction
function Trig_Bring_Abom_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'uabo', Player(7), GetRectCenter(gg_rct_Player_8), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Abom_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Abom_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Abom_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Abom_Copy_Copy, 75.00 )
call TriggerAddAction( gg_trg_Bring_Abom_Copy_Copy, function Trig_Bring_Abom_Copy_Copy_Actions )
endfunction
function Trig_Summon_Banshee_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00R' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Banshee_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Banshee_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Banshee_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Banshee_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Banshee_Copy_Copy, gg_unit_ugrv_0045, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Banshee_Copy_Copy, Condition( function Trig_Summon_Banshee_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Banshee_Copy_Copy, function Trig_Summon_Banshee_Copy_Copy_Actions )
endfunction
function Trig_Bring_Banshee_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'uban', Player(7), GetRectCenter(gg_rct_Player_8), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Banshee_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Banshee_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Banshee_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Banshee_Copy_Copy, 45.00 )
call TriggerAddAction( gg_trg_Bring_Banshee_Copy_Copy, function Trig_Bring_Banshee_Copy_Copy_Actions )
endfunction
function Trig_Summon_Necromancer_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00Q' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Necromancer_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Necromancer_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Necromancer_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Necromancer_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Necromancer_Copy_Copy, gg_unit_ugrv_0045, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Necromancer_Copy_Copy, Condition( function Trig_Summon_Necromancer_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Necromancer_Copy_Copy, function Trig_Summon_Necromancer_Copy_Copy_Actions )
endfunction
function Trig_Bring_Necromancer_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'unec', Player(7), GetRectCenter(gg_rct_Player_8), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Necromancer_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Necromancer_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Necromancer_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Necromancer_Copy_Copy, 45.00 )
call TriggerAddAction( gg_trg_Bring_Necromancer_Copy_Copy, function Trig_Bring_Necromancer_Copy_Copy_Actions )
endfunction
function Trig_Summon_Fiend_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00S' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Fiend_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Fiend_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Fiend_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Fiend_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Fiend_Copy_Copy, gg_unit_ugrv_0045, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Fiend_Copy_Copy, Condition( function Trig_Summon_Fiend_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Fiend_Copy_Copy, function Trig_Summon_Fiend_Copy_Copy_Actions )
endfunction
function Trig_Bring_Fiend_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ucry', Player(7), GetRectCenter(gg_rct_Player_8), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Fiend_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Fiend_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Fiend_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Fiend_Copy_Copy, 45.00 )
call TriggerAddAction( gg_trg_Bring_Fiend_Copy_Copy, function Trig_Bring_Fiend_Copy_Copy_Actions )
endfunction
function Trig_Summon_Ghouls_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00T' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Ghouls_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Ghouls_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Ghouls_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Ghouls_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Ghouls_Copy_Copy, gg_unit_ugrv_0045, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Ghouls_Copy_Copy, Condition( function Trig_Summon_Ghouls_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Ghouls_Copy_Copy, function Trig_Summon_Ghouls_Copy_Copy_Actions )
endfunction
function Trig_Bring_Ghouls_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ugho', Player(7), GetRectCenter(gg_rct_Player_8), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Ghouls_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Ghouls_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Ghouls_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Ghouls_Copy_Copy, 11.00 )
call TriggerAddAction( gg_trg_Bring_Ghouls_Copy_Copy, function Trig_Bring_Ghouls_Copy_Copy_Actions )
endfunction
function Trig_Summon_Meat_Wagon_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00U' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Meat_Wagon_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Meat_Wagon_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Meat_Wagon_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Meat_Wagon_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Meat_Wagon_Copy_Copy, gg_unit_ugrv_0045, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Meat_Wagon_Copy_Copy, Condition( function Trig_Summon_Meat_Wagon_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Meat_Wagon_Copy_Copy, function Trig_Summon_Meat_Wagon_Copy_Copy_Actions )
endfunction
function Trig_Bring_Meat_Wagon_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'umtw', Player(7), GetRectCenter(gg_rct_Player_8), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Meat_Wagon_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Meat_Wagon_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Meat_Wagon_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Meat_Wagon_Copy_Copy, 135.00 )
call TriggerAddAction( gg_trg_Bring_Meat_Wagon_Copy_Copy, function Trig_Bring_Meat_Wagon_Copy_Copy_Actions )
endfunction
function Trig_Summon_Frost_Wyrm_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R006' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Frost_Wyrm_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Frost_Wyrm_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Frost_Wyrm_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Frost_Wyrm_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Frost_Wyrm_Copy_Copy, gg_unit_ugrv_0045, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Frost_Wyrm_Copy_Copy, Condition( function Trig_Summon_Frost_Wyrm_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Frost_Wyrm_Copy_Copy, function Trig_Summon_Frost_Wyrm_Copy_Copy_Actions )
endfunction
function Trig_Bring_Frost_Wyrm_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ufro', Player(7), GetRectCenter(gg_rct_Player_8), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Frost_Wyrm_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Frost_Wyrm_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Frost_Wyrm_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Frost_Wyrm_Copy_Copy, 135.00 )
call TriggerAddAction( gg_trg_Bring_Frost_Wyrm_Copy_Copy, function Trig_Bring_Frost_Wyrm_Copy_Copy_Actions )
endfunction
function Trig_Summon_Destroyer_2_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00X' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Destroyer_2_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Destroyer_2 )
endfunction
//===========================================================================
function InitTrig_Summon_Destroyer_2 takes nothing returns nothing
set gg_trg_Summon_Destroyer_2 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Destroyer_2, gg_unit_ugrv_0045, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Destroyer_2, Condition( function Trig_Summon_Destroyer_2_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Destroyer_2, function Trig_Summon_Destroyer_2_Actions )
endfunction
function Trig_Bring_Destroyer_2_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ubsp', Player(7), GetRectCenter(gg_rct_Player_8), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Destroyer_2 takes nothing returns nothing
set gg_trg_Bring_Destroyer_2 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Destroyer_2 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Destroyer_2, 125.00 )
call TriggerAddAction( gg_trg_Bring_Destroyer_2, function Trig_Bring_Destroyer_2_Actions )
endfunction
function Trig_Summon_Gargoyle_2_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R017' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Gargoyle_2_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Gargoyle_2 )
endfunction
//===========================================================================
function InitTrig_Summon_Gargoyle_2 takes nothing returns nothing
set gg_trg_Summon_Gargoyle_2 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Gargoyle_2, gg_unit_ugrv_0045, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Gargoyle_2, Condition( function Trig_Summon_Gargoyle_2_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Gargoyle_2, function Trig_Summon_Gargoyle_2_Actions )
endfunction
function Trig_Bring_Gargoyle_2_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ugar', Player(7), GetRectCenter(gg_rct_Player_8), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Gargoyle_2 takes nothing returns nothing
set gg_trg_Bring_Gargoyle_2 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Gargoyle_2 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Gargoyle_2, 50.00 )
call TriggerAddAction( gg_trg_Bring_Gargoyle_2, function Trig_Bring_Gargoyle_2_Actions )
endfunction
function Trig_Summon_Statue_2_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R016' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Statue_2_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Statue_2 )
endfunction
//===========================================================================
function InitTrig_Summon_Statue_2 takes nothing returns nothing
set gg_trg_Summon_Statue_2 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Statue_2, gg_unit_ugrv_0045, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Statue_2, Condition( function Trig_Summon_Statue_2_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Statue_2, function Trig_Summon_Statue_2_Actions )
endfunction
function Trig_Bring_Statue_2_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'uobs', Player(7), GetRectCenter(gg_rct_Player_8), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Statue_2 takes nothing returns nothing
set gg_trg_Bring_Statue_2 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Statue_2 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Statue_2, 115.00 )
call TriggerAddAction( gg_trg_Bring_Statue_2, function Trig_Bring_Statue_2_Actions )
endfunction
function Trig_Summon_Black_Dragon_2_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R01G' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Black_Dragon_2_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Black_Dragon_2 )
endfunction
//===========================================================================
function InitTrig_Summon_Black_Dragon_2 takes nothing returns nothing
set gg_trg_Summon_Black_Dragon_2 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Black_Dragon_2, gg_unit_ugrv_0045, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Black_Dragon_2, Condition( function Trig_Summon_Black_Dragon_2_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Black_Dragon_2, function Trig_Summon_Black_Dragon_2_Actions )
endfunction
function Trig_Bring_Black_Dragon_2_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'nbwm', Player(7), GetRectCenter(gg_rct_Player_8), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Black_Dragon_2 takes nothing returns nothing
set gg_trg_Bring_Black_Dragon_2 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Black_Dragon_2 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Black_Dragon_2, 300.00 )
call TriggerAddAction( gg_trg_Bring_Black_Dragon_2, function Trig_Bring_Black_Dragon_2_Actions )
endfunction
function Trig_Summon_Frost_Archer_2_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R01B' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Frost_Archer_2_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Frost_Archer_2 )
endfunction
//===========================================================================
function InitTrig_Summon_Frost_Archer_2 takes nothing returns nothing
set gg_trg_Summon_Frost_Archer_2 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Frost_Archer_2, gg_unit_ugrv_0045, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Frost_Archer_2, Condition( function Trig_Summon_Frost_Archer_2_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Frost_Archer_2, function Trig_Summon_Frost_Archer_2_Actions )
endfunction
function Trig_Bring_Frost_Archer_2_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'nskm', Player(7), GetRectCenter(gg_rct_Player_8), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Frost_Archer_2 takes nothing returns nothing
set gg_trg_Bring_Frost_Archer_2 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Frost_Archer_2 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Frost_Archer_2, 125.00 )
call TriggerAddAction( gg_trg_Bring_Frost_Archer_2, function Trig_Bring_Frost_Archer_2_Actions )
endfunction
function Trig_Summon_Spirit_Walker_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00I' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Spirit_Walker_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Spirit_Walker_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Spirit_Walker_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Spirit_Walker_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Spirit_Walker_Copy_Copy_Copy, gg_unit_ofor_0047, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Spirit_Walker_Copy_Copy_Copy, Condition( function Trig_Summon_Spirit_Walker_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Spirit_Walker_Copy_Copy_Copy, function Trig_Summon_Spirit_Walker_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Spirit_Walker_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ospw', Player(8), GetRectCenter(gg_rct_Player_9), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Spirit_Walker_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Spirit_Walker_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Spirit_Walker_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Spirit_Walker_Copy_Copy_Copy, 65.00 )
call TriggerAddAction( gg_trg_Bring_Spirit_Walker_Copy_Copy_Copy, function Trig_Bring_Spirit_Walker_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Shaman_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00J' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Shaman_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Shaman_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Shaman_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Shaman_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Shaman_Copy_Copy_Copy, gg_unit_ofor_0047, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Shaman_Copy_Copy_Copy, Condition( function Trig_Summon_Shaman_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Shaman_Copy_Copy_Copy, function Trig_Summon_Shaman_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Shaman_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'oshm', Player(8), GetRectCenter(gg_rct_Player_9), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Shaman_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Shaman_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Shaman_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Shaman_Copy_Copy_Copy, 50.00 )
call TriggerAddAction( gg_trg_Bring_Shaman_Copy_Copy_Copy, function Trig_Bring_Shaman_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Witch_Doctor_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00K' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Witch_Doctor_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Witch_Doctor_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Witch_Doctor_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Witch_Doctor_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Witch_Doctor_Copy_Copy_Copy, gg_unit_ofor_0047, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Witch_Doctor_Copy_Copy_Copy, Condition( function Trig_Summon_Witch_Doctor_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Witch_Doctor_Copy_Copy_Copy, function Trig_Summon_Witch_Doctor_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Witch_Doctor_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'odoc', Player(8), GetRectCenter(gg_rct_Player_9), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Witch_Doctor_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Witch_Doctor_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Witch_Doctor_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Witch_Doctor_Copy_Copy_Copy, 45.00 )
call TriggerAddAction( gg_trg_Bring_Witch_Doctor_Copy_Copy_Copy, function Trig_Bring_Witch_Doctor_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Headhunter_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00L' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Headhunter_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Headhunter_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Headhunter_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Headhunter_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Headhunter_Copy_Copy_Copy, gg_unit_ofor_0047, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Headhunter_Copy_Copy_Copy, Condition( function Trig_Summon_Headhunter_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Headhunter_Copy_Copy_Copy, function Trig_Summon_Headhunter_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Headhunter_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ohun', Player(8), GetRectCenter(gg_rct_Player_9), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Headhunter_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Headhunter_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Headhunter_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Headhunter_Copy_Copy_Copy, 20.00 )
call TriggerAddAction( gg_trg_Bring_Headhunter_Copy_Copy_Copy, function Trig_Bring_Headhunter_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Tauren_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00M' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Tauren_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Tauren_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Tauren_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Tauren_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Tauren_Copy_Copy_Copy, gg_unit_ofor_0047, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Tauren_Copy_Copy_Copy, Condition( function Trig_Summon_Tauren_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Tauren_Copy_Copy_Copy, function Trig_Summon_Tauren_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Tauren_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'otau', Player(8), GetRectCenter(gg_rct_Player_9), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Tauren_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Tauren_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Tauren_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Tauren_Copy_Copy_Copy, 65.00 )
call TriggerAddAction( gg_trg_Bring_Tauren_Copy_Copy_Copy, function Trig_Bring_Tauren_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Demolisher_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00N' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Demolisher_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Demolisher_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Demolisher_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Demolisher_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Demolisher_Copy_Copy_Copy, gg_unit_ofor_0047, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Demolisher_Copy_Copy_Copy, Condition( function Trig_Summon_Demolisher_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Demolisher_Copy_Copy_Copy, function Trig_Summon_Demolisher_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Demolisher_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ocat', Player(8), GetRectCenter(gg_rct_Player_9), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Demolisher_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Demolisher_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Demolisher_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Demolisher_Copy_Copy_Copy, 155.00 )
call TriggerAddAction( gg_trg_Bring_Demolisher_Copy_Copy_Copy, function Trig_Bring_Demolisher_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Wind_Rider_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00O' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Wind_Rider_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Wind_Rider_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Wind_Rider_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Wind_Rider_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Wind_Rider_Copy_Copy_Copy, gg_unit_ofor_0047, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Wind_Rider_Copy_Copy_Copy, Condition( function Trig_Summon_Wind_Rider_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Wind_Rider_Copy_Copy_Copy, function Trig_Summon_Wind_Rider_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Wind_Rider_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'owyv', Player(8), GetRectCenter(gg_rct_Player_9), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Wind_Rider_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Wind_Rider_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Wind_Rider_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Wind_Rider_Copy_Copy_Copy, 60.00 )
call TriggerAddAction( gg_trg_Bring_Wind_Rider_Copy_Copy_Copy, function Trig_Bring_Wind_Rider_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Bat_3_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00Z' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Bat_3_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Bat_3 )
endfunction
//===========================================================================
function InitTrig_Summon_Bat_3 takes nothing returns nothing
set gg_trg_Summon_Bat_3 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Bat_3, gg_unit_ofor_0047, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Bat_3, Condition( function Trig_Summon_Bat_3_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Bat_3, function Trig_Summon_Bat_3_Actions )
endfunction
function Trig_Bring_Bat_3_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'otbr', Player(8), GetRectCenter(gg_rct_Player_9), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Bat_3 takes nothing returns nothing
set gg_trg_Bring_Bat_3 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Bat_3 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Bat_3, 95.00 )
call TriggerAddAction( gg_trg_Bring_Bat_3, function Trig_Bring_Bat_3_Actions )
endfunction
function Trig_Summon_Red_Dragon_3_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R01H' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Red_Dragon_3_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Red_Dragon_3 )
endfunction
//===========================================================================
function InitTrig_Summon_Red_Dragon_3 takes nothing returns nothing
set gg_trg_Summon_Red_Dragon_3 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Red_Dragon_3, gg_unit_ofor_0047, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Red_Dragon_3, Condition( function Trig_Summon_Red_Dragon_3_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Red_Dragon_3, function Trig_Summon_Red_Dragon_3_Actions )
endfunction
function Trig_Bring_Red_Dragon_3_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'nrwm', Player(8), GetRectCenter(gg_rct_Player_9), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Red_Dragon_3 takes nothing returns nothing
set gg_trg_Bring_Red_Dragon_3 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Red_Dragon_3 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Red_Dragon_3, 300.00 )
call TriggerAddAction( gg_trg_Bring_Red_Dragon_3, function Trig_Bring_Red_Dragon_3_Actions )
endfunction
function Trig_Summon_Ogre_Lord_3_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R01A' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Ogre_Lord_3_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Ogre_Lord_3 )
endfunction
//===========================================================================
function InitTrig_Summon_Ogre_Lord_3 takes nothing returns nothing
set gg_trg_Summon_Ogre_Lord_3 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Ogre_Lord_3, gg_unit_ofor_0047, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Ogre_Lord_3, Condition( function Trig_Summon_Ogre_Lord_3_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Ogre_Lord_3, function Trig_Summon_Ogre_Lord_3_Actions )
endfunction
function Trig_Bring_Ogre_Lord_3_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'nogl', Player(8), GetRectCenter(gg_rct_Player_9), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Ogre_Lord_3 takes nothing returns nothing
set gg_trg_Bring_Ogre_Lord_3 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Ogre_Lord_3 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Ogre_Lord_3, 160.00 )
call TriggerAddAction( gg_trg_Bring_Ogre_Lord_3, function Trig_Bring_Ogre_Lord_3_Actions )
endfunction
function Trig_Summon_Raider_3_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R010' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Raider_3_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Raider_3 )
endfunction
//===========================================================================
function InitTrig_Summon_Raider_3 takes nothing returns nothing
set gg_trg_Summon_Raider_3 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Raider_3, gg_unit_ofor_0047, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Raider_3, Condition( function Trig_Summon_Raider_3_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Raider_3, function Trig_Summon_Raider_3_Actions )
endfunction
function Trig_Bring_Raider_3_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'orai', Player(8), GetRectCenter(gg_rct_Player_9), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Raider_3 takes nothing returns nothing
set gg_trg_Bring_Raider_3 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Raider_3 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Raider_3, 45.00 )
call TriggerAddAction( gg_trg_Bring_Raider_3, function Trig_Bring_Raider_3_Actions )
endfunction
function Trig_Summon_Kobo_Beast_3_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R015' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Kobo_Beast_3_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Kobo_Beast_3 )
endfunction
//===========================================================================
function InitTrig_Summon_Kobo_Beast_3 takes nothing returns nothing
set gg_trg_Summon_Kobo_Beast_3 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Kobo_Beast_3, gg_unit_ofor_0047, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Kobo_Beast_3, Condition( function Trig_Summon_Kobo_Beast_3_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Kobo_Beast_3, function Trig_Summon_Kobo_Beast_3_Actions )
endfunction
function Trig_Bring_Kobo_Beast_3_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'okod', Player(8), GetRectCenter(gg_rct_Player_9), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Kobo_Beast_3 takes nothing returns nothing
set gg_trg_Bring_Kobo_Beast_3 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Kobo_Beast_3 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Kobo_Beast_3, 115.00 )
call TriggerAddAction( gg_trg_Bring_Kobo_Beast_3, function Trig_Bring_Kobo_Beast_3_Actions )
endfunction
function Trig_Summon_Abom_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00P' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Abom_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Abom_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Abom_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Abom_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Abom_Copy_Copy_Copy, gg_unit_ugrv_0048, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Abom_Copy_Copy_Copy, Condition( function Trig_Summon_Abom_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Abom_Copy_Copy_Copy, function Trig_Summon_Abom_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Abom_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'uabo', Player(8), GetRectCenter(gg_rct_Player_9), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Abom_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Abom_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Abom_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Abom_Copy_Copy_Copy, 75.00 )
call TriggerAddAction( gg_trg_Bring_Abom_Copy_Copy_Copy, function Trig_Bring_Abom_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Banshee_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00R' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Banshee_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Banshee_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Banshee_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Banshee_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Banshee_Copy_Copy_Copy, gg_unit_ugrv_0048, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Banshee_Copy_Copy_Copy, Condition( function Trig_Summon_Banshee_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Banshee_Copy_Copy_Copy, function Trig_Summon_Banshee_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Banshee_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'uban', Player(8), GetRectCenter(gg_rct_Player_9), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Banshee_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Banshee_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Banshee_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Banshee_Copy_Copy_Copy, 45.00 )
call TriggerAddAction( gg_trg_Bring_Banshee_Copy_Copy_Copy, function Trig_Bring_Banshee_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Necromancer_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00Q' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Necromancer_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Necromancer_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Necromancer_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Necromancer_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Necromancer_Copy_Copy_Copy, gg_unit_ugrv_0048, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Necromancer_Copy_Copy_Copy, Condition( function Trig_Summon_Necromancer_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Necromancer_Copy_Copy_Copy, function Trig_Summon_Necromancer_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Necromancer_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'unec', Player(8), GetRectCenter(gg_rct_Player_9), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Necromancer_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Necromancer_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Necromancer_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Necromancer_Copy_Copy_Copy, 45.00 )
call TriggerAddAction( gg_trg_Bring_Necromancer_Copy_Copy_Copy, function Trig_Bring_Necromancer_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Fiend_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00S' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Fiend_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Fiend_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Fiend_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Fiend_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Fiend_Copy_Copy_Copy, gg_unit_ugrv_0048, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Fiend_Copy_Copy_Copy, Condition( function Trig_Summon_Fiend_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Fiend_Copy_Copy_Copy, function Trig_Summon_Fiend_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Fiend_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ucry', Player(8), GetRectCenter(gg_rct_Player_9), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Fiend_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Fiend_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Fiend_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Fiend_Copy_Copy_Copy, 45.00 )
call TriggerAddAction( gg_trg_Bring_Fiend_Copy_Copy_Copy, function Trig_Bring_Fiend_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Ghouls_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00T' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Ghouls_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Ghouls_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Ghouls_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Ghouls_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Ghouls_Copy_Copy_Copy, gg_unit_ugrv_0048, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Ghouls_Copy_Copy_Copy, Condition( function Trig_Summon_Ghouls_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Ghouls_Copy_Copy_Copy, function Trig_Summon_Ghouls_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Ghouls_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ugho', Player(8), GetRectCenter(gg_rct_Player_9), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Ghouls_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Ghouls_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Ghouls_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Ghouls_Copy_Copy_Copy, 11.00 )
call TriggerAddAction( gg_trg_Bring_Ghouls_Copy_Copy_Copy, function Trig_Bring_Ghouls_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Meat_Wagon_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00U' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Meat_Wagon_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Meat_Wagon_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Meat_Wagon_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Meat_Wagon_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Meat_Wagon_Copy_Copy_Copy, gg_unit_ugrv_0048, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Meat_Wagon_Copy_Copy_Copy, Condition( function Trig_Summon_Meat_Wagon_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Meat_Wagon_Copy_Copy_Copy, function Trig_Summon_Meat_Wagon_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Meat_Wagon_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'umtw', Player(8), GetRectCenter(gg_rct_Player_9), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Meat_Wagon_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Meat_Wagon_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Meat_Wagon_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Meat_Wagon_Copy_Copy_Copy, 135.00 )
call TriggerAddAction( gg_trg_Bring_Meat_Wagon_Copy_Copy_Copy, function Trig_Bring_Meat_Wagon_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Frost_Wyrm_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R006' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Frost_Wyrm_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Frost_Wyrm_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Frost_Wyrm_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Frost_Wyrm_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Frost_Wyrm_Copy_Copy_Copy, gg_unit_ugrv_0048, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Frost_Wyrm_Copy_Copy_Copy, Condition( function Trig_Summon_Frost_Wyrm_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Frost_Wyrm_Copy_Copy_Copy, function Trig_Summon_Frost_Wyrm_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Frost_Wyrm_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ufro', Player(8), GetRectCenter(gg_rct_Player_9), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Frost_Wyrm_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Frost_Wyrm_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Frost_Wyrm_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Frost_Wyrm_Copy_Copy_Copy, 135.00 )
call TriggerAddAction( gg_trg_Bring_Frost_Wyrm_Copy_Copy_Copy, function Trig_Bring_Frost_Wyrm_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Destroyer_3_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00X' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Destroyer_3_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Destroyer_3 )
endfunction
//===========================================================================
function InitTrig_Summon_Destroyer_3 takes nothing returns nothing
set gg_trg_Summon_Destroyer_3 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Destroyer_3, gg_unit_ugrv_0048, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Destroyer_3, Condition( function Trig_Summon_Destroyer_3_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Destroyer_3, function Trig_Summon_Destroyer_3_Actions )
endfunction
function Trig_Bring_Destroyer_3_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ubsp', Player(8), GetRectCenter(gg_rct_Player_9), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Destroyer_3 takes nothing returns nothing
set gg_trg_Bring_Destroyer_3 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Destroyer_3 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Destroyer_3, 125.00 )
call TriggerAddAction( gg_trg_Bring_Destroyer_3, function Trig_Bring_Destroyer_3_Actions )
endfunction
function Trig_Summon_Gargoyle_3_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R017' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Gargoyle_3_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Gargoyle_3 )
endfunction
//===========================================================================
function InitTrig_Summon_Gargoyle_3 takes nothing returns nothing
set gg_trg_Summon_Gargoyle_3 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Gargoyle_3, gg_unit_ugrv_0048, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Gargoyle_3, Condition( function Trig_Summon_Gargoyle_3_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Gargoyle_3, function Trig_Summon_Gargoyle_3_Actions )
endfunction
function Trig_Bring_Gargoyle_3_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ugar', Player(8), GetRectCenter(gg_rct_Player_9), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Gargoyle_3 takes nothing returns nothing
set gg_trg_Bring_Gargoyle_3 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Gargoyle_3 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Gargoyle_3, 50.00 )
call TriggerAddAction( gg_trg_Bring_Gargoyle_3, function Trig_Bring_Gargoyle_3_Actions )
endfunction
function Trig_Summon_Statue_3_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R016' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Statue_3_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Statue_3 )
endfunction
//===========================================================================
function InitTrig_Summon_Statue_3 takes nothing returns nothing
set gg_trg_Summon_Statue_3 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Statue_3, gg_unit_ugrv_0048, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Statue_3, Condition( function Trig_Summon_Statue_3_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Statue_3, function Trig_Summon_Statue_3_Actions )
endfunction
function Trig_Bring_Statue_3_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'uobs', Player(8), GetRectCenter(gg_rct_Player_9), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Statue_3 takes nothing returns nothing
set gg_trg_Bring_Statue_3 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Statue_3 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Statue_3, 115.00 )
call TriggerAddAction( gg_trg_Bring_Statue_3, function Trig_Bring_Statue_3_Actions )
endfunction
function Trig_Summon_Black_Dragon_3_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R01G' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Black_Dragon_3_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Black_Dragon_3 )
endfunction
//===========================================================================
function InitTrig_Summon_Black_Dragon_3 takes nothing returns nothing
set gg_trg_Summon_Black_Dragon_3 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Black_Dragon_3, gg_unit_ugrv_0048, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Black_Dragon_3, Condition( function Trig_Summon_Black_Dragon_3_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Black_Dragon_3, function Trig_Summon_Black_Dragon_3_Actions )
endfunction
function Trig_Bring_Black_Dragon_3_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'nbwm', Player(8), GetRectCenter(gg_rct_Player_9), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Black_Dragon_3 takes nothing returns nothing
set gg_trg_Bring_Black_Dragon_3 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Black_Dragon_3 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Black_Dragon_3, 300.00 )
call TriggerAddAction( gg_trg_Bring_Black_Dragon_3, function Trig_Bring_Black_Dragon_3_Actions )
endfunction
function Trig_Summon_Frost_Archer_3_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R01B' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Frost_Archer_3_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Frost_Archer_3 )
endfunction
//===========================================================================
function InitTrig_Summon_Frost_Archer_3 takes nothing returns nothing
set gg_trg_Summon_Frost_Archer_3 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Frost_Archer_3, gg_unit_ugrv_0048, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Frost_Archer_3, Condition( function Trig_Summon_Frost_Archer_3_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Frost_Archer_3, function Trig_Summon_Frost_Archer_3_Actions )
endfunction
function Trig_Bring_Frost_Archer_3_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'nskm', Player(8), GetRectCenter(gg_rct_Player_9), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Frost_Archer_3 takes nothing returns nothing
set gg_trg_Bring_Frost_Archer_3 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Frost_Archer_3 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Frost_Archer_3, 125.00 )
call TriggerAddAction( gg_trg_Bring_Frost_Archer_3, function Trig_Bring_Frost_Archer_3_Actions )
endfunction
function Trig_Summon_Spirit_Walker_Copy_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00I' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Spirit_Walker_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Spirit_Walker_Copy_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Spirit_Walker_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Spirit_Walker_Copy_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Spirit_Walker_Copy_Copy_Copy_Copy, gg_unit_ofor_0050, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Spirit_Walker_Copy_Copy_Copy_Copy, Condition( function Trig_Summon_Spirit_Walker_Copy_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Spirit_Walker_Copy_Copy_Copy_Copy, function Trig_Summon_Spirit_Walker_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Spirit_Walker_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ospw', Player(9), GetRectCenter(gg_rct_Player_10), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Spirit_Walker_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Spirit_Walker_Copy_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Spirit_Walker_Copy_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Spirit_Walker_Copy_Copy_Copy_Copy, 65.00 )
call TriggerAddAction( gg_trg_Bring_Spirit_Walker_Copy_Copy_Copy_Copy, function Trig_Bring_Spirit_Walker_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Shaman_Copy_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00J' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Shaman_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Shaman_Copy_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Shaman_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Shaman_Copy_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Shaman_Copy_Copy_Copy_Copy, gg_unit_ofor_0050, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Shaman_Copy_Copy_Copy_Copy, Condition( function Trig_Summon_Shaman_Copy_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Shaman_Copy_Copy_Copy_Copy, function Trig_Summon_Shaman_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Shaman_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'oshm', Player(9), GetRectCenter(gg_rct_Player_10), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Shaman_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Shaman_Copy_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Shaman_Copy_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Shaman_Copy_Copy_Copy_Copy, 50.00 )
call TriggerAddAction( gg_trg_Bring_Shaman_Copy_Copy_Copy_Copy, function Trig_Bring_Shaman_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Witch_Doctor_Copy_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00K' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Witch_Doctor_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Witch_Doctor_Copy_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Witch_Doctor_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Witch_Doctor_Copy_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Witch_Doctor_Copy_Copy_Copy_Copy, gg_unit_ofor_0050, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Witch_Doctor_Copy_Copy_Copy_Copy, Condition( function Trig_Summon_Witch_Doctor_Copy_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Witch_Doctor_Copy_Copy_Copy_Copy, function Trig_Summon_Witch_Doctor_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Witch_Doctor_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'odoc', Player(9), GetRectCenter(gg_rct_Player_10), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Witch_Doctor_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Witch_Doctor_Copy_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Witch_Doctor_Copy_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Witch_Doctor_Copy_Copy_Copy_Copy, 45.00 )
call TriggerAddAction( gg_trg_Bring_Witch_Doctor_Copy_Copy_Copy_Copy, function Trig_Bring_Witch_Doctor_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Headhunter_Copy_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00L' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Headhunter_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Headhunter_Copy_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Headhunter_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Headhunter_Copy_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Headhunter_Copy_Copy_Copy_Copy, gg_unit_ofor_0050, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Headhunter_Copy_Copy_Copy_Copy, Condition( function Trig_Summon_Headhunter_Copy_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Headhunter_Copy_Copy_Copy_Copy, function Trig_Summon_Headhunter_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Headhunter_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ohun', Player(9), GetRectCenter(gg_rct_Player_10), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Headhunter_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Headhunter_Copy_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Headhunter_Copy_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Headhunter_Copy_Copy_Copy_Copy, 20.00 )
call TriggerAddAction( gg_trg_Bring_Headhunter_Copy_Copy_Copy_Copy, function Trig_Bring_Headhunter_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Tauren_Copy_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00M' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Tauren_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Tauren_Copy_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Tauren_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Tauren_Copy_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Tauren_Copy_Copy_Copy_Copy, gg_unit_ofor_0050, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Tauren_Copy_Copy_Copy_Copy, Condition( function Trig_Summon_Tauren_Copy_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Tauren_Copy_Copy_Copy_Copy, function Trig_Summon_Tauren_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Tauren_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'otau', Player(9), GetRectCenter(gg_rct_Player_10), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Tauren_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Tauren_Copy_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Tauren_Copy_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Tauren_Copy_Copy_Copy_Copy, 65.00 )
call TriggerAddAction( gg_trg_Bring_Tauren_Copy_Copy_Copy_Copy, function Trig_Bring_Tauren_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Demolisher_Copy_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00N' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Demolisher_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Demolisher_Copy_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Demolisher_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Demolisher_Copy_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Demolisher_Copy_Copy_Copy_Copy, gg_unit_ofor_0050, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Demolisher_Copy_Copy_Copy_Copy, Condition( function Trig_Summon_Demolisher_Copy_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Demolisher_Copy_Copy_Copy_Copy, function Trig_Summon_Demolisher_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Demolisher_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ocat', Player(9), GetRectCenter(gg_rct_Player_10), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Demolisher_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Demolisher_Copy_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Demolisher_Copy_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Demolisher_Copy_Copy_Copy_Copy, 155.00 )
call TriggerAddAction( gg_trg_Bring_Demolisher_Copy_Copy_Copy_Copy, function Trig_Bring_Demolisher_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Wind_Rider_Copy_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00O' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Wind_Rider_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Wind_Rider_Copy_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Wind_Rider_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Wind_Rider_Copy_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Wind_Rider_Copy_Copy_Copy_Copy, gg_unit_ofor_0050, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Wind_Rider_Copy_Copy_Copy_Copy, Condition( function Trig_Summon_Wind_Rider_Copy_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Wind_Rider_Copy_Copy_Copy_Copy, function Trig_Summon_Wind_Rider_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Wind_Rider_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'owyv', Player(9), GetRectCenter(gg_rct_Player_10), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Wind_Rider_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Wind_Rider_Copy_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Wind_Rider_Copy_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Wind_Rider_Copy_Copy_Copy_Copy, 60.00 )
call TriggerAddAction( gg_trg_Bring_Wind_Rider_Copy_Copy_Copy_Copy, function Trig_Bring_Wind_Rider_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Bat_4_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00Z' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Bat_4_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Bat_4 )
endfunction
//===========================================================================
function InitTrig_Summon_Bat_4 takes nothing returns nothing
set gg_trg_Summon_Bat_4 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Bat_4, gg_unit_ofor_0050, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Bat_4, Condition( function Trig_Summon_Bat_4_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Bat_4, function Trig_Summon_Bat_4_Actions )
endfunction
function Trig_Bring_Bat_4_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'otbr', Player(9), GetRectCenter(gg_rct_Player_10), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Bat_4 takes nothing returns nothing
set gg_trg_Bring_Bat_4 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Bat_4 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Bat_4, 95.00 )
call TriggerAddAction( gg_trg_Bring_Bat_4, function Trig_Bring_Bat_4_Actions )
endfunction
function Trig_Summon_Red_Dragon_4_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R01H' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Red_Dragon_4_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Red_Dragon_4 )
endfunction
//===========================================================================
function InitTrig_Summon_Red_Dragon_4 takes nothing returns nothing
set gg_trg_Summon_Red_Dragon_4 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Red_Dragon_4, gg_unit_ofor_0050, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Red_Dragon_4, Condition( function Trig_Summon_Red_Dragon_4_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Red_Dragon_4, function Trig_Summon_Red_Dragon_4_Actions )
endfunction
function Trig_Bring_Red_Dragon_4_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'nrwm', Player(9), GetRectCenter(gg_rct_Player_10), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Red_Dragon_4 takes nothing returns nothing
set gg_trg_Bring_Red_Dragon_4 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Red_Dragon_4 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Red_Dragon_4, 300.00 )
call TriggerAddAction( gg_trg_Bring_Red_Dragon_4, function Trig_Bring_Red_Dragon_4_Actions )
endfunction
function Trig_Summon_Ogre_Lord_4_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R01A' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Ogre_Lord_4_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Ogre_Lord_4 )
endfunction
//===========================================================================
function InitTrig_Summon_Ogre_Lord_4 takes nothing returns nothing
set gg_trg_Summon_Ogre_Lord_4 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Ogre_Lord_4, gg_unit_ofor_0050, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Ogre_Lord_4, Condition( function Trig_Summon_Ogre_Lord_4_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Ogre_Lord_4, function Trig_Summon_Ogre_Lord_4_Actions )
endfunction
function Trig_Bring_Ogre_Lord_4_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'nogl', Player(9), GetRectCenter(gg_rct_Player_10), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Ogre_Lord_4 takes nothing returns nothing
set gg_trg_Bring_Ogre_Lord_4 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Ogre_Lord_4 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Ogre_Lord_4, 160.00 )
call TriggerAddAction( gg_trg_Bring_Ogre_Lord_4, function Trig_Bring_Ogre_Lord_4_Actions )
endfunction
function Trig_Summon_Raider_4_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R010' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Raider_4_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Raider_4 )
endfunction
//===========================================================================
function InitTrig_Summon_Raider_4 takes nothing returns nothing
set gg_trg_Summon_Raider_4 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Raider_4, gg_unit_ofor_0050, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Raider_4, Condition( function Trig_Summon_Raider_4_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Raider_4, function Trig_Summon_Raider_4_Actions )
endfunction
function Trig_Bring_Raider_4_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'orai', Player(9), GetRectCenter(gg_rct_Player_10), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Raider_4 takes nothing returns nothing
set gg_trg_Bring_Raider_4 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Raider_4 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Raider_4, 45.00 )
call TriggerAddAction( gg_trg_Bring_Raider_4, function Trig_Bring_Raider_4_Actions )
endfunction
function Trig_Summon_Kobo_Beast_4_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R015' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Kobo_Beast_4_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Kobo_Beast_4 )
endfunction
//===========================================================================
function InitTrig_Summon_Kobo_Beast_4 takes nothing returns nothing
set gg_trg_Summon_Kobo_Beast_4 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Kobo_Beast_4, gg_unit_ofor_0050, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Kobo_Beast_4, Condition( function Trig_Summon_Kobo_Beast_4_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Kobo_Beast_4, function Trig_Summon_Kobo_Beast_4_Actions )
endfunction
function Trig_Bring_Kobo_Beast_4_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'okod', Player(9), GetRectCenter(gg_rct_Player_10), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Kobo_Beast_4 takes nothing returns nothing
set gg_trg_Bring_Kobo_Beast_4 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Kobo_Beast_4 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Kobo_Beast_4, 115.00 )
call TriggerAddAction( gg_trg_Bring_Kobo_Beast_4, function Trig_Bring_Kobo_Beast_4_Actions )
endfunction
function Trig_Summon_Abom_Copy_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00P' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Abom_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Abom_Copy_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Abom_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Abom_Copy_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Abom_Copy_Copy_Copy_Copy, gg_unit_ugrv_0051, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Abom_Copy_Copy_Copy_Copy, Condition( function Trig_Summon_Abom_Copy_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Abom_Copy_Copy_Copy_Copy, function Trig_Summon_Abom_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Abom_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'uabo', Player(9), GetRectCenter(gg_rct_Player_10), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Abom_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Abom_Copy_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Abom_Copy_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Abom_Copy_Copy_Copy_Copy, 75.00 )
call TriggerAddAction( gg_trg_Bring_Abom_Copy_Copy_Copy_Copy, function Trig_Bring_Abom_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Banshee_Copy_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00R' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Banshee_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Banshee_Copy_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Banshee_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Banshee_Copy_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Banshee_Copy_Copy_Copy_Copy, gg_unit_ugrv_0051, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Banshee_Copy_Copy_Copy_Copy, Condition( function Trig_Summon_Banshee_Copy_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Banshee_Copy_Copy_Copy_Copy, function Trig_Summon_Banshee_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Banshee_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'uban', Player(9), GetRectCenter(gg_rct_Player_10), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Banshee_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Banshee_Copy_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Banshee_Copy_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Banshee_Copy_Copy_Copy_Copy, 45.00 )
call TriggerAddAction( gg_trg_Bring_Banshee_Copy_Copy_Copy_Copy, function Trig_Bring_Banshee_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Necromancer_Copy_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00Q' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Necromancer_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Necromancer_Copy_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Necromancer_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Necromancer_Copy_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Necromancer_Copy_Copy_Copy_Copy, gg_unit_ugrv_0051, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Necromancer_Copy_Copy_Copy_Copy, Condition( function Trig_Summon_Necromancer_Copy_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Necromancer_Copy_Copy_Copy_Copy, function Trig_Summon_Necromancer_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Necromancer_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'unec', Player(9), GetRectCenter(gg_rct_Player_10), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Necromancer_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Necromancer_Copy_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Necromancer_Copy_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Necromancer_Copy_Copy_Copy_Copy, 45.00 )
call TriggerAddAction( gg_trg_Bring_Necromancer_Copy_Copy_Copy_Copy, function Trig_Bring_Necromancer_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Fiend_Copy_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00S' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Fiend_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Fiend_Copy_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Fiend_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Fiend_Copy_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Fiend_Copy_Copy_Copy_Copy, gg_unit_ugrv_0051, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Fiend_Copy_Copy_Copy_Copy, Condition( function Trig_Summon_Fiend_Copy_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Fiend_Copy_Copy_Copy_Copy, function Trig_Summon_Fiend_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Fiend_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ucry', Player(9), GetRectCenter(gg_rct_Player_10), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Fiend_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Fiend_Copy_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Fiend_Copy_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Fiend_Copy_Copy_Copy_Copy, 45.00 )
call TriggerAddAction( gg_trg_Bring_Fiend_Copy_Copy_Copy_Copy, function Trig_Bring_Fiend_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Ghouls_Copy_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00T' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Ghouls_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Ghouls_Copy_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Ghouls_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Ghouls_Copy_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Ghouls_Copy_Copy_Copy_Copy, gg_unit_ugrv_0051, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Ghouls_Copy_Copy_Copy_Copy, Condition( function Trig_Summon_Ghouls_Copy_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Ghouls_Copy_Copy_Copy_Copy, function Trig_Summon_Ghouls_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Ghouls_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ugho', Player(9), GetRectCenter(gg_rct_Player_10), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Ghouls_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Ghouls_Copy_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Ghouls_Copy_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Ghouls_Copy_Copy_Copy_Copy, 11.00 )
call TriggerAddAction( gg_trg_Bring_Ghouls_Copy_Copy_Copy_Copy, function Trig_Bring_Ghouls_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Meat_Wagon_Copy_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00U' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Meat_Wagon_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Meat_Wagon_Copy_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Meat_Wagon_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Meat_Wagon_Copy_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Meat_Wagon_Copy_Copy_Copy_Copy, gg_unit_ugrv_0051, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Meat_Wagon_Copy_Copy_Copy_Copy, Condition( function Trig_Summon_Meat_Wagon_Copy_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Meat_Wagon_Copy_Copy_Copy_Copy, function Trig_Summon_Meat_Wagon_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Meat_Wagon_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'umtw', Player(9), GetRectCenter(gg_rct_Player_10), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Meat_Wagon_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Meat_Wagon_Copy_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Meat_Wagon_Copy_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Meat_Wagon_Copy_Copy_Copy_Copy, 135.00 )
call TriggerAddAction( gg_trg_Bring_Meat_Wagon_Copy_Copy_Copy_Copy, function Trig_Bring_Meat_Wagon_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Frost_Wyrm_Copy_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R006' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Frost_Wyrm_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Frost_Wyrm_Copy_Copy_Copy_Copy )
endfunction
//===========================================================================
function InitTrig_Summon_Frost_Wyrm_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Summon_Frost_Wyrm_Copy_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Frost_Wyrm_Copy_Copy_Copy_Copy, gg_unit_ugrv_0051, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Frost_Wyrm_Copy_Copy_Copy_Copy, Condition( function Trig_Summon_Frost_Wyrm_Copy_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Frost_Wyrm_Copy_Copy_Copy_Copy, function Trig_Summon_Frost_Wyrm_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Bring_Frost_Wyrm_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ufro', Player(9), GetRectCenter(gg_rct_Player_10), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Frost_Wyrm_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_Bring_Frost_Wyrm_Copy_Copy_Copy_Copy = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Frost_Wyrm_Copy_Copy_Copy_Copy )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Frost_Wyrm_Copy_Copy_Copy_Copy, 135.00 )
call TriggerAddAction( gg_trg_Bring_Frost_Wyrm_Copy_Copy_Copy_Copy, function Trig_Bring_Frost_Wyrm_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Summon_Destroyer_4_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R00X' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Destroyer_4_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Destroyer_4 )
endfunction
//===========================================================================
function InitTrig_Summon_Destroyer_4 takes nothing returns nothing
set gg_trg_Summon_Destroyer_4 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Destroyer_4, gg_unit_ugrv_0051, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Destroyer_4, Condition( function Trig_Summon_Destroyer_4_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Destroyer_4, function Trig_Summon_Destroyer_4_Actions )
endfunction
function Trig_Bring_Destroyer_4_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ubsp', Player(9), GetRectCenter(gg_rct_Player_10), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Destroyer_4 takes nothing returns nothing
set gg_trg_Bring_Destroyer_4 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Destroyer_4 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Destroyer_4, 125.00 )
call TriggerAddAction( gg_trg_Bring_Destroyer_4, function Trig_Bring_Destroyer_4_Actions )
endfunction
function Trig_Summon_Gargoyle_4_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R017' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Gargoyle_4_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Gargoyle_4 )
endfunction
//===========================================================================
function InitTrig_Summon_Gargoyle_4 takes nothing returns nothing
set gg_trg_Summon_Gargoyle_4 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Gargoyle_4, gg_unit_ugrv_0051, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Gargoyle_4, Condition( function Trig_Summon_Gargoyle_4_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Gargoyle_4, function Trig_Summon_Gargoyle_4_Actions )
endfunction
function Trig_Bring_Gargoyle_4_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ugar', Player(9), GetRectCenter(gg_rct_Player_10), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Gargoyle_4 takes nothing returns nothing
set gg_trg_Bring_Gargoyle_4 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Gargoyle_4 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Gargoyle_4, 50.00 )
call TriggerAddAction( gg_trg_Bring_Gargoyle_4, function Trig_Bring_Gargoyle_4_Actions )
endfunction
function Trig_Summon_Statue_4_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R016' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Statue_4_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Statue_4 )
endfunction
//===========================================================================
function InitTrig_Summon_Statue_4 takes nothing returns nothing
set gg_trg_Summon_Statue_4 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Statue_4, gg_unit_ugrv_0051, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Statue_4, Condition( function Trig_Summon_Statue_4_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Statue_4, function Trig_Summon_Statue_4_Actions )
endfunction
function Trig_Bring_Statue_4_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'uobs', Player(9), GetRectCenter(gg_rct_Player_10), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Statue_4 takes nothing returns nothing
set gg_trg_Bring_Statue_4 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Statue_4 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Statue_4, 115.00 )
call TriggerAddAction( gg_trg_Bring_Statue_4, function Trig_Bring_Statue_4_Actions )
endfunction
function Trig_Summon_Black_Dragon_4_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R01G' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Black_Dragon_4_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Black_Dragon_4 )
endfunction
//===========================================================================
function InitTrig_Summon_Black_Dragon_4 takes nothing returns nothing
set gg_trg_Summon_Black_Dragon_4 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Black_Dragon_4, gg_unit_ugrv_0051, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Black_Dragon_4, Condition( function Trig_Summon_Black_Dragon_4_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Black_Dragon_4, function Trig_Summon_Black_Dragon_4_Actions )
endfunction
function Trig_Bring_Black_Dragon_4_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'nbwm', Player(9), GetRectCenter(gg_rct_Player_10), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Black_Dragon_4 takes nothing returns nothing
set gg_trg_Bring_Black_Dragon_4 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Black_Dragon_4 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Black_Dragon_4, 300.00 )
call TriggerAddAction( gg_trg_Bring_Black_Dragon_4, function Trig_Bring_Black_Dragon_4_Actions )
endfunction
function Trig_Summon_Frost_Archer_4_Conditions takes nothing returns boolean
if ( not ( GetResearched() == 'R01B' ) ) then
return false
endif
return true
endfunction
function Trig_Summon_Frost_Archer_4_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_Bring_Frost_Archer_4 )
endfunction
//===========================================================================
function InitTrig_Summon_Frost_Archer_4 takes nothing returns nothing
set gg_trg_Summon_Frost_Archer_4 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Summon_Frost_Archer_4, gg_unit_ugrv_0051, EVENT_UNIT_RESEARCH_FINISH )
call TriggerAddCondition( gg_trg_Summon_Frost_Archer_4, Condition( function Trig_Summon_Frost_Archer_4_Conditions ) )
call TriggerAddAction( gg_trg_Summon_Frost_Archer_4, function Trig_Summon_Frost_Archer_4_Actions )
endfunction
function Trig_Bring_Frost_Archer_4_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'nskm', Player(9), GetRectCenter(gg_rct_Player_10), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_Bring_Frost_Archer_4 takes nothing returns nothing
set gg_trg_Bring_Frost_Archer_4 = CreateTrigger( )
call DisableTrigger( gg_trg_Bring_Frost_Archer_4 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Bring_Frost_Archer_4, 125.00 )
call TriggerAddAction( gg_trg_Bring_Frost_Archer_4, function Trig_Bring_Frost_Archer_4_Actions )
endfunction
function Trig_Melee_Initialization_Actions takes nothing returns nothing
call MeleeStartingHeroLimit( )
call MeleeGrantHeroItems( )
call SetPlayerStateBJ( Player(0), PLAYER_STATE_RESOURCE_GOLD, 900 )
call SetPlayerStateBJ( Player(1), PLAYER_STATE_RESOURCE_GOLD, 900 )
call SetPlayerStateBJ( Player(2), PLAYER_STATE_RESOURCE_GOLD, 900 )
call SetPlayerStateBJ( Player(3), PLAYER_STATE_RESOURCE_GOLD, 900 )
call SetPlayerStateBJ( Player(4), PLAYER_STATE_RESOURCE_GOLD, 900 )
call SetPlayerStateBJ( Player(5), PLAYER_STATE_RESOURCE_GOLD, 900 )
call SetPlayerStateBJ( Player(6), PLAYER_STATE_RESOURCE_GOLD, 900 )
call SetPlayerStateBJ( Player(7), PLAYER_STATE_RESOURCE_GOLD, 900 )
call SetPlayerStateBJ( Player(8), PLAYER_STATE_RESOURCE_GOLD, 900 )
call SetPlayerStateBJ( Player(9), PLAYER_STATE_RESOURCE_GOLD, 900 )
call ForceAddPlayerSimple( Player(0), udg_Human )
call ForceAddPlayerSimple( Player(1), udg_Human )
call ForceAddPlayerSimple( Player(2), udg_Human )
call ForceAddPlayerSimple( Player(3), udg_Human )
call ForceAddPlayerSimple( Player(4), udg_Human )
call ForceAddPlayerSimple( Player(5), udg_Orc )
call ForceAddPlayerSimple( Player(6), udg_Orc )
call ForceAddPlayerSimple( Player(7), udg_Orc )
call ForceAddPlayerSimple( Player(8), udg_Orc )
call ForceAddPlayerSimple( Player(9), udg_Orc )
call ForceAddPlayerSimple( Player(10), udg_Human )
call ForceAddPlayerSimple( Player(11), udg_Orc )
endfunction
//===========================================================================
function InitTrig_Melee_Initialization takes nothing returns nothing
set gg_trg_Melee_Initialization = CreateTrigger( )
call TriggerAddAction( gg_trg_Melee_Initialization, function Trig_Melee_Initialization_Actions )
endfunction
function Trig_Map_Actions takes nothing returns nothing
call SetPlayerName( Player(10), "TRIGSTR_155" )
call SetPlayerName( Player(11), "TRIGSTR_156" )
endfunction
//===========================================================================
function InitTrig_Map takes nothing returns nothing
set gg_trg_Map = CreateTrigger( )
call TriggerAddAction( gg_trg_Map, function Trig_Map_Actions )
endfunction
function Trig_Starting_Func001001001 takes nothing returns boolean
return ( GetPlayerSlotState(GetFilterPlayer()) != PLAYER_SLOT_STATE_PLAYING )
endfunction
function Trig_Starting_Func001Func001A takes nothing returns nothing
call RemoveUnit( GetEnumUnit() )
endfunction
function Trig_Starting_Func001A takes nothing returns nothing
call ForGroupBJ( GetUnitsOfPlayerAll(GetEnumPlayer()), function Trig_Starting_Func001Func001A )
endfunction
function Trig_Starting_Actions takes nothing returns nothing
call ForForce( GetPlayersMatching(Condition(function Trig_Starting_Func001001001)), function Trig_Starting_Func001A )
endfunction
//===========================================================================
function InitTrig_Starting takes nothing returns nothing
set gg_trg_Starting = CreateTrigger( )
call TriggerAddAction( gg_trg_Starting, function Trig_Starting_Actions )
endfunction
function Trig_Player_1_Conditions takes nothing returns boolean
if ( not ( GetPlayerSlotState(Player(0)) == PLAYER_SLOT_STATE_PLAYING ) ) then
return false
endif
return true
endfunction
function Trig_Player_1_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hfoo', Player(0), GetRectCenter(gg_rct_Player_1), bj_UNIT_FACING )
call AdjustPlayerStateBJ( 25, Player(0), PLAYER_STATE_RESOURCE_GOLD )
endfunction
//===========================================================================
function InitTrig_Player_1 takes nothing returns nothing
set gg_trg_Player_1 = CreateTrigger( )
call TriggerRegisterTimerEventPeriodic( gg_trg_Player_1, 10.00 )
call TriggerAddCondition( gg_trg_Player_1, Condition( function Trig_Player_1_Conditions ) )
call TriggerAddAction( gg_trg_Player_1, function Trig_Player_1_Actions )
endfunction
function Trig_Player_2_Conditions takes nothing returns boolean
if ( not ( GetPlayerSlotState(Player(1)) == PLAYER_SLOT_STATE_PLAYING ) ) then
return false
endif
return true
endfunction
function Trig_Player_2_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hfoo', Player(1), GetRectCenter(gg_rct_Player_2), bj_UNIT_FACING )
call AdjustPlayerStateBJ( 25, Player(1), PLAYER_STATE_RESOURCE_GOLD )
endfunction
//===========================================================================
function InitTrig_Player_2 takes nothing returns nothing
set gg_trg_Player_2 = CreateTrigger( )
call TriggerRegisterTimerEventPeriodic( gg_trg_Player_2, 10.00 )
call TriggerAddCondition( gg_trg_Player_2, Condition( function Trig_Player_2_Conditions ) )
call TriggerAddAction( gg_trg_Player_2, function Trig_Player_2_Actions )
endfunction
function Trig_Palyer_3_Conditions takes nothing returns boolean
if ( not ( GetPlayerSlotState(Player(2)) == PLAYER_SLOT_STATE_PLAYING ) ) then
return false
endif
return true
endfunction
function Trig_Palyer_3_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hfoo', Player(2), GetRectCenter(gg_rct_Player_3), bj_UNIT_FACING )
call AdjustPlayerStateBJ( 25, Player(2), PLAYER_STATE_RESOURCE_GOLD )
endfunction
//===========================================================================
function InitTrig_Palyer_3 takes nothing returns nothing
set gg_trg_Palyer_3 = CreateTrigger( )
call TriggerRegisterTimerEventPeriodic( gg_trg_Palyer_3, 10.00 )
call TriggerAddCondition( gg_trg_Palyer_3, Condition( function Trig_Palyer_3_Conditions ) )
call TriggerAddAction( gg_trg_Palyer_3, function Trig_Palyer_3_Actions )
endfunction
function Trig_Player_4_Conditions takes nothing returns boolean
if ( not ( GetPlayerSlotState(Player(3)) == PLAYER_SLOT_STATE_PLAYING ) ) then
return false
endif
return true
endfunction
function Trig_Player_4_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hfoo', Player(3), GetRectCenter(gg_rct_Player_4), bj_UNIT_FACING )
call AdjustPlayerStateBJ( 25, Player(3), PLAYER_STATE_RESOURCE_GOLD )
endfunction
//===========================================================================
function InitTrig_Player_4 takes nothing returns nothing
set gg_trg_Player_4 = CreateTrigger( )
call TriggerRegisterTimerEventPeriodic( gg_trg_Player_4, 10.00 )
call TriggerAddCondition( gg_trg_Player_4, Condition( function Trig_Player_4_Conditions ) )
call TriggerAddAction( gg_trg_Player_4, function Trig_Player_4_Actions )
endfunction
function Trig_Player_5_Conditions takes nothing returns boolean
if ( not ( GetPlayerSlotState(Player(4)) == PLAYER_SLOT_STATE_PLAYING ) ) then
return false
endif
return true
endfunction
function Trig_Player_5_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'hfoo', Player(4), GetRectCenter(gg_rct_Player_5), bj_UNIT_FACING )
call AdjustPlayerStateBJ( 25, Player(4), PLAYER_STATE_RESOURCE_GOLD )
endfunction
//===========================================================================
function InitTrig_Player_5 takes nothing returns nothing
set gg_trg_Player_5 = CreateTrigger( )
call TriggerRegisterTimerEventPeriodic( gg_trg_Player_5, 10.00 )
call TriggerAddCondition( gg_trg_Player_5, Condition( function Trig_Player_5_Conditions ) )
call TriggerAddAction( gg_trg_Player_5, function Trig_Player_5_Actions )
endfunction
function Trig_Player_6_Conditions takes nothing returns boolean
if ( not ( GetPlayerSlotState(Player(5)) == PLAYER_SLOT_STATE_PLAYING ) ) then
return false
endif
return true
endfunction
function Trig_Player_6_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ogru', Player(5), GetRectCenter(gg_rct_Player_6), bj_UNIT_FACING )
call AdjustPlayerStateBJ( 25, Player(5), PLAYER_STATE_RESOURCE_GOLD )
endfunction
//===========================================================================
function InitTrig_Player_6 takes nothing returns nothing
set gg_trg_Player_6 = CreateTrigger( )
call TriggerRegisterTimerEventPeriodic( gg_trg_Player_6, 10.00 )
call TriggerAddCondition( gg_trg_Player_6, Condition( function Trig_Player_6_Conditions ) )
call TriggerAddAction( gg_trg_Player_6, function Trig_Player_6_Actions )
endfunction
function Trig_Player_7_Conditions takes nothing returns boolean
if ( not ( GetPlayerSlotState(Player(6)) == PLAYER_SLOT_STATE_PLAYING ) ) then
return false
endif
return true
endfunction
function Trig_Player_7_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ogru', Player(6), GetRectCenter(gg_rct_Player_7), bj_UNIT_FACING )
call AdjustPlayerStateBJ( 25, Player(6), PLAYER_STATE_RESOURCE_GOLD )
endfunction
//===========================================================================
function InitTrig_Player_7 takes nothing returns nothing
set gg_trg_Player_7 = CreateTrigger( )
call TriggerRegisterTimerEventPeriodic( gg_trg_Player_7, 10.00 )
call TriggerAddCondition( gg_trg_Player_7, Condition( function Trig_Player_7_Conditions ) )
call TriggerAddAction( gg_trg_Player_7, function Trig_Player_7_Actions )
endfunction
function Trig_Player_8_Conditions takes nothing returns boolean
if ( not ( GetPlayerSlotState(Player(7)) == PLAYER_SLOT_STATE_PLAYING ) ) then
return false
endif
return true
endfunction
function Trig_Player_8_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ogru', Player(7), GetRectCenter(gg_rct_Player_8), bj_UNIT_FACING )
call AdjustPlayerStateBJ( 25, Player(7), PLAYER_STATE_RESOURCE_GOLD )
endfunction
//===========================================================================
function InitTrig_Player_8 takes nothing returns nothing
set gg_trg_Player_8 = CreateTrigger( )
call TriggerRegisterTimerEventPeriodic( gg_trg_Player_8, 10.00 )
call TriggerAddCondition( gg_trg_Player_8, Condition( function Trig_Player_8_Conditions ) )
call TriggerAddAction( gg_trg_Player_8, function Trig_Player_8_Actions )
endfunction
function Trig_Player_9_Conditions takes nothing returns boolean
if ( not ( GetPlayerSlotState(Player(8)) == PLAYER_SLOT_STATE_PLAYING ) ) then
return false
endif
return true
endfunction
function Trig_Player_9_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ogru', Player(8), GetRectCenter(gg_rct_Player_9), bj_UNIT_FACING )
call AdjustPlayerStateBJ( 25, Player(8), PLAYER_STATE_RESOURCE_GOLD )
endfunction
//===========================================================================
function InitTrig_Player_9 takes nothing returns nothing
set gg_trg_Player_9 = CreateTrigger( )
call TriggerRegisterTimerEventPeriodic( gg_trg_Player_9, 10.00 )
call TriggerAddCondition( gg_trg_Player_9, Condition( function Trig_Player_9_Conditions ) )
call TriggerAddAction( gg_trg_Player_9, function Trig_Player_9_Actions )
endfunction
function Trig_Player_10_Conditions takes nothing returns boolean
if ( not ( GetPlayerSlotState(Player(9)) == PLAYER_SLOT_STATE_PLAYING ) ) then
return false
endif
return true
endfunction
function Trig_Player_10_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'ogru', Player(9), GetRectCenter(gg_rct_Player_10), bj_UNIT_FACING )
call AdjustPlayerStateBJ( 25, Player(9), PLAYER_STATE_RESOURCE_GOLD )
endfunction
//===========================================================================
function InitTrig_Player_10 takes nothing returns nothing
set gg_trg_Player_10 = CreateTrigger( )
call TriggerRegisterTimerEventPeriodic( gg_trg_Player_10, 10.00 )
call TriggerAddCondition( gg_trg_Player_10, Condition( function Trig_Player_10_Conditions ) )
call TriggerAddAction( gg_trg_Player_10, function Trig_Player_10_Actions )
endfunction
function Trig_Leaving_Players_Func001A takes nothing returns nothing
call RemoveUnit( GetEnumUnit() )
endfunction
function Trig_Leaving_Players_Actions takes nothing returns nothing
call ForGroupBJ( GetUnitsOfPlayerAll(GetTriggerPlayer()), function Trig_Leaving_Players_Func001A )
endfunction
//===========================================================================
function InitTrig_Leaving_Players takes nothing returns nothing
set gg_trg_Leaving_Players = CreateTrigger( )
call TriggerRegisterPlayerEventLeave( gg_trg_Leaving_Players, Player(0) )
call TriggerRegisterPlayerEventLeave( gg_trg_Leaving_Players, Player(1) )
call TriggerRegisterPlayerEventLeave( gg_trg_Leaving_Players, Player(2) )
call TriggerRegisterPlayerEventLeave( gg_trg_Leaving_Players, Player(3) )
call TriggerRegisterPlayerEventLeave( gg_trg_Leaving_Players, Player(4) )
call TriggerRegisterPlayerEventLeave( gg_trg_Leaving_Players, Player(5) )
call TriggerRegisterPlayerEventLeave( gg_trg_Leaving_Players, Player(6) )
call TriggerRegisterPlayerEventLeave( gg_trg_Leaving_Players, Player(7) )
call TriggerRegisterPlayerEventLeave( gg_trg_Leaving_Players, Player(8) )
call TriggerRegisterPlayerEventLeave( gg_trg_Leaving_Players, Player(9) )
call TriggerAddAction( gg_trg_Leaving_Players, function Trig_Leaving_Players_Actions )
endfunction
function Trig_Player_Red_Actions takes nothing returns nothing
call DisableTrigger( gg_trg_Bring_Archer )
call DisableTrigger( gg_trg_Bring_Chimaera )
call DisableTrigger( gg_trg_Bring_Druid_of_Claw )
call DisableTrigger( gg_trg_Bring_Dryad )
call DisableTrigger( gg_trg_Bring_Gryphon )
call DisableTrigger( gg_trg_Bring_Huntress )
call DisableTrigger( gg_trg_Bring_Knight )
call DisableTrigger( gg_trg_Bring_Mortar )
call DisableTrigger( gg_trg_Bring_MtGiant )
call DisableTrigger( gg_trg_Bring_Preist )
call DisableTrigger( gg_trg_Bring_Rifle )
call DisableTrigger( gg_trg_Bring_Sorc )
call DisableTrigger( gg_trg_Bring_Spell_Breaker )
call DisableTrigger( gg_trg_Bring_Talon )
call DisableTrigger( gg_trg_Bring_Dragonhawk_Rider )
call DisableTrigger( gg_trg_Bring_Hippo )
call DisableTrigger( gg_trg_Bring_Glaive_Thrower )
call DisableTrigger( gg_trg_Bring_Faerie_Dragon )
call DisableTrigger( gg_trg_Bring_Siege_Engine )
call DisableTrigger( gg_trg_Bring_Flying_Machine )
call DisableTrigger( gg_trg_Bring_Noble_Knight )
call DisableTrigger( gg_trg_Bring_Ancient_Protector )
call DisableTrigger( gg_trg_Bring_Bronze_Dragon )
call DisableTrigger( gg_trg_Bring_Green_Dragon )
endfunction
//===========================================================================
function InitTrig_Player_Red takes nothing returns nothing
set gg_trg_Player_Red = CreateTrigger( )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_Red, Player(0) )
call TriggerAddAction( gg_trg_Player_Red, function Trig_Player_Red_Actions )
endfunction
function Trig_Player_Blue_Actions takes nothing returns nothing
call DisableTrigger( gg_trg_Bring_Archer_Copy )
call DisableTrigger( gg_trg_Bring_Chimaera_Copy )
call DisableTrigger( gg_trg_Bring_Druid_of_Claw_Copy )
call DisableTrigger( gg_trg_Bring_Dryad_Copy )
call DisableTrigger( gg_trg_Bring_Gryphon_Copy )
call DisableTrigger( gg_trg_Bring_Huntress_Copy )
call DisableTrigger( gg_trg_Bring_Knight_Copy )
call DisableTrigger( gg_trg_Bring_Mortar_Copy )
call DisableTrigger( gg_trg_Bring_MtGiant_Copy )
call DisableTrigger( gg_trg_Bring_Preist_Copy )
call DisableTrigger( gg_trg_Bring_Rifle_Copy )
call DisableTrigger( gg_trg_Bring_Sorc_Copy )
call DisableTrigger( gg_trg_Bring_Spell_Breaker_Copy )
call DisableTrigger( gg_trg_Bring_Talon_Copy )
call DisableTrigger( gg_trg_Bring_Dragonhawk_Rider_1 )
call DisableTrigger( gg_trg_Bring_Hippo_1 )
call DisableTrigger( gg_trg_Bring_Glaive_Thrower_1 )
call DisableTrigger( gg_trg_Bring_Faerie_Dragon_1 )
call DisableTrigger( gg_trg_Bring_Flying_Machine_1 )
call DisableTrigger( gg_trg_Bring_Siege_Engine_1 )
call DisableTrigger( gg_trg_Bring_Noble_Knight_1 )
call DisableTrigger( gg_trg_Bring_Ancient_Protector_1 )
call DisableTrigger( gg_trg_Bring_Bronze_Dragon_1 )
call DisableTrigger( gg_trg_Bring_Green_Dragon_1 )
endfunction
//===========================================================================
function InitTrig_Player_Blue takes nothing returns nothing
set gg_trg_Player_Blue = CreateTrigger( )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_Blue, Player(1) )
call TriggerAddAction( gg_trg_Player_Blue, function Trig_Player_Blue_Actions )
endfunction
function Trig_Player_Teal_Actions takes nothing returns nothing
call DisableTrigger( gg_trg_Bring_Archer_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Chimaera_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Druid_of_Claw_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Dryad_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Gryphon_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Huntress_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Knight_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Mortar_Copy_Copy )
call DisableTrigger( gg_trg_Bring_MtGiant_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Preist_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Rifle_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Sorc_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Spell_Breaker_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Talon_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Dragonhawk_Rider_2 )
call DisableTrigger( gg_trg_Bring_Hippo_2 )
call DisableTrigger( gg_trg_Bring_Glaive_Thrower_2 )
call DisableTrigger( gg_trg_Bring_Faerie_Dragon_2 )
call DisableTrigger( gg_trg_Bring_Flying_Machine_2 )
call DisableTrigger( gg_trg_Bring_Siege_Engine_2 )
call DisableTrigger( gg_trg_Bring_Noble_Knight_2 )
call DisableTrigger( gg_trg_Bring_Ancient_Protector_2 )
call DisableTrigger( gg_trg_Bring_Bronze_Dragon_2 )
call DisableTrigger( gg_trg_Bring_Green_Dragon_2 )
endfunction
//===========================================================================
function InitTrig_Player_Teal takes nothing returns nothing
set gg_trg_Player_Teal = CreateTrigger( )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_Teal, Player(2) )
call TriggerAddAction( gg_trg_Player_Teal, function Trig_Player_Teal_Actions )
endfunction
function Trig_Player_Purple_Actions takes nothing returns nothing
call DisableTrigger( gg_trg_Bring_Archer_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Chimaera_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Druid_of_Claw_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Dryad_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Gryphon_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Huntress_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Knight_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Mortar_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_MtGiant_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Preist_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Rifle_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Sorc_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Spell_Breaker_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Talon_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Dragonhawk_Rider_3 )
call DisableTrigger( gg_trg_Bring_Hippo_3 )
call DisableTrigger( gg_trg_Bring_Glaive_Thrower_3 )
call DisableTrigger( gg_trg_Bring_Faerie_Dragon_3 )
call DisableTrigger( gg_trg_Bring_Flying_Machine_3 )
call DisableTrigger( gg_trg_Bring_Siege_Engine_3 )
call DisableTrigger( gg_trg_Bring_Noble_Knight_3 )
call DisableTrigger( gg_trg_Bring_Ancient_Protector_3 )
call DisableTrigger( gg_trg_Bring_Bronze_Dragon_3 )
call DisableTrigger( gg_trg_Bring_Green_Dragon_3 )
endfunction
//===========================================================================
function InitTrig_Player_Purple takes nothing returns nothing
set gg_trg_Player_Purple = CreateTrigger( )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_Purple, Player(3) )
call TriggerAddAction( gg_trg_Player_Purple, function Trig_Player_Purple_Actions )
endfunction
function Trig_Player_Yellow_Actions takes nothing returns nothing
call DisableTrigger( gg_trg_Bring_Archer_Copy_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Chimaera_Copy_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Druid_of_Claw_Copy_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Dryad_Copy_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Gryphon_Copy_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Huntress_Copy_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Knight_Copy_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Mortar_Copy_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_MtGiant_Copy_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Preist_Copy_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Rifle_Copy_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Sorc_Copy_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Spell_Breaker_Copy_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Talon_Copy_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Dragonhawk_Rider_4 )
call DisableTrigger( gg_trg_Bring_Hippo_4 )
call DisableTrigger( gg_trg_Bring_Glaive_Thrower_4 )
call DisableTrigger( gg_trg_Bring_Faerie_Dragon_4 )
call DisableTrigger( gg_trg_Bring_Flying_Machine_4 )
call DisableTrigger( gg_trg_Bring_Siege_Engine_4 )
call DisableTrigger( gg_trg_Bring_Noble_Knight_4 )
call DisableTrigger( gg_trg_Bring_Ancient_Protector_4 )
call DisableTrigger( gg_trg_Bring_Bronze_Dragon_4 )
call DisableTrigger( gg_trg_Bring_Green_Dragon_4 )
endfunction
//===========================================================================
function InitTrig_Player_Yellow takes nothing returns nothing
set gg_trg_Player_Yellow = CreateTrigger( )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_Yellow, Player(4) )
call TriggerAddAction( gg_trg_Player_Yellow, function Trig_Player_Yellow_Actions )
endfunction
function Trig_Player_Orange_Actions takes nothing returns nothing
call DisableTrigger( gg_trg_Bring_Abom )
call DisableTrigger( gg_trg_Bring_Banshee )
call DisableTrigger( gg_trg_Bring_Demolisher )
call DisableTrigger( gg_trg_Bring_Fiend )
call DisableTrigger( gg_trg_Bring_Frost_Wyrm )
call DisableTrigger( gg_trg_Bring_Ghouls )
call DisableTrigger( gg_trg_Bring_Headhunter )
call DisableTrigger( gg_trg_Bring_Meat_Wagon )
call DisableTrigger( gg_trg_Bring_Necromancer )
call DisableTrigger( gg_trg_Bring_Shaman )
call DisableTrigger( gg_trg_Bring_Spirit_Walker )
call DisableTrigger( gg_trg_Bring_Tauren )
call DisableTrigger( gg_trg_Bring_Wind_Rider )
call DisableTrigger( gg_trg_Bring_Witch_Doctor )
call DisableTrigger( gg_trg_Bring_Destroyer )
call DisableTrigger( gg_trg_Bring_Bat )
call DisableTrigger( gg_trg_Bring_Raider )
call DisableTrigger( gg_trg_Bring_Kobo_Beast )
call DisableTrigger( gg_trg_Bring_Gargoyle )
call DisableTrigger( gg_trg_Bring_Statue )
call DisableTrigger( gg_trg_Bring_Ogre_Lord )
call DisableTrigger( gg_trg_Bring_Frost_Archer )
call DisableTrigger( gg_trg_Bring_Black_Dragon )
call DisableTrigger( gg_trg_Bring_Red_Dragon )
endfunction
//===========================================================================
function InitTrig_Player_Orange takes nothing returns nothing
set gg_trg_Player_Orange = CreateTrigger( )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_Orange, Player(5) )
call TriggerAddAction( gg_trg_Player_Orange, function Trig_Player_Orange_Actions )
endfunction
function Trig_Player_Green_Actions takes nothing returns nothing
call DisableTrigger( gg_trg_Bring_Abom_Copy )
call DisableTrigger( gg_trg_Bring_Banshee_Copy )
call DisableTrigger( gg_trg_Bring_Demolisher_Copy )
call DisableTrigger( gg_trg_Bring_Fiend_Copy )
call DisableTrigger( gg_trg_Bring_Frost_Wyrm_Copy )
call DisableTrigger( gg_trg_Bring_Ghouls_Copy )
call DisableTrigger( gg_trg_Bring_Headhunter_Copy )
call DisableTrigger( gg_trg_Bring_Meat_Wagon_Copy )
call DisableTrigger( gg_trg_Bring_Necromancer_Copy )
call DisableTrigger( gg_trg_Bring_Shaman_Copy )
call DisableTrigger( gg_trg_Bring_Spirit_Walker_Copy )
call DisableTrigger( gg_trg_Bring_Tauren_Copy )
call DisableTrigger( gg_trg_Bring_Wind_Rider_Copy )
call DisableTrigger( gg_trg_Bring_Witch_Doctor_Copy )
call DisableTrigger( gg_trg_Bring_Destroyer_1 )
call DisableTrigger( gg_trg_Bring_Bat_1 )
call DisableTrigger( gg_trg_Bring_Raider_1 )
call DisableTrigger( gg_trg_Bring_Kobo_Beast_1 )
call DisableTrigger( gg_trg_Bring_Gargoyle_1 )
call DisableTrigger( gg_trg_Bring_Statue_1 )
call DisableTrigger( gg_trg_Bring_Ogre_Lord_1 )
call DisableTrigger( gg_trg_Bring_Frost_Archer_1 )
call DisableTrigger( gg_trg_Bring_Black_Dragon_1 )
call DisableTrigger( gg_trg_Bring_Red_Dragon_1 )
endfunction
//===========================================================================
function InitTrig_Player_Green takes nothing returns nothing
set gg_trg_Player_Green = CreateTrigger( )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_Green, Player(6) )
call TriggerAddAction( gg_trg_Player_Green, function Trig_Player_Green_Actions )
endfunction
function Trig_Player_Pink_Actions takes nothing returns nothing
call DisableTrigger( gg_trg_Bring_Abom_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Banshee_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Demolisher_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Fiend_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Frost_Wyrm_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Ghouls_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Headhunter_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Meat_Wagon_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Necromancer_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Shaman_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Spirit_Walker_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Tauren_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Wind_Rider_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Witch_Doctor_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Destroyer_2 )
call DisableTrigger( gg_trg_Bring_Bat_2 )
call DisableTrigger( gg_trg_Bring_Raider_2 )
call DisableTrigger( gg_trg_Bring_Kobo_Beast_2 )
call DisableTrigger( gg_trg_Bring_Gargoyle_2 )
call DisableTrigger( gg_trg_Bring_Statue_2 )
call DisableTrigger( gg_trg_Bring_Ogre_Lord_2 )
call DisableTrigger( gg_trg_Bring_Frost_Archer_2 )
call DisableTrigger( gg_trg_Bring_Black_Dragon_2 )
call DisableTrigger( gg_trg_Bring_Red_Dragon_2 )
endfunction
//===========================================================================
function InitTrig_Player_Pink takes nothing returns nothing
set gg_trg_Player_Pink = CreateTrigger( )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_Pink, Player(7) )
call TriggerAddAction( gg_trg_Player_Pink, function Trig_Player_Pink_Actions )
endfunction
function Trig_Player_Gray_Actions takes nothing returns nothing
call DisableTrigger( gg_trg_Bring_Abom_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Banshee_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Demolisher_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Fiend_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Frost_Wyrm_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Ghouls_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Headhunter_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Meat_Wagon_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Necromancer_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Shaman_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Spirit_Walker_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Tauren_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Wind_Rider_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Witch_Doctor_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Destroyer_3 )
call DisableTrigger( gg_trg_Bring_Bat_3 )
call DisableTrigger( gg_trg_Bring_Raider_3 )
call DisableTrigger( gg_trg_Bring_Kobo_Beast_3 )
call DisableTrigger( gg_trg_Bring_Gargoyle_3 )
call DisableTrigger( gg_trg_Bring_Statue_3 )
call DisableTrigger( gg_trg_Bring_Ogre_Lord_3 )
call DisableTrigger( gg_trg_Bring_Frost_Archer_3 )
call DisableTrigger( gg_trg_Bring_Black_Dragon_3 )
call DisableTrigger( gg_trg_Bring_Red_Dragon_3 )
endfunction
//===========================================================================
function InitTrig_Player_Gray takes nothing returns nothing
set gg_trg_Player_Gray = CreateTrigger( )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_Gray, Player(8) )
call TriggerAddAction( gg_trg_Player_Gray, function Trig_Player_Gray_Actions )
endfunction
function Trig_Player_Light_Blue_Actions takes nothing returns nothing
call DisableTrigger( gg_trg_Bring_Abom_Copy_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Banshee_Copy_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Demolisher_Copy_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Fiend_Copy_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Frost_Wyrm_Copy_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Ghouls_Copy_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Headhunter_Copy_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Meat_Wagon_Copy_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Necromancer_Copy_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Shaman_Copy_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Spirit_Walker_Copy_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Tauren_Copy_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Wind_Rider_Copy_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Witch_Doctor_Copy_Copy_Copy_Copy )
call DisableTrigger( gg_trg_Bring_Destroyer_4 )
call DisableTrigger( gg_trg_Bring_Bat_4 )
call DisableTrigger( gg_trg_Bring_Raider_4 )
call DisableTrigger( gg_trg_Bring_Kobo_Beast_4 )
call DisableTrigger( gg_trg_Bring_Statue_4 )
call DisableTrigger( gg_trg_Bring_Gargoyle_4 )
call DisableTrigger( gg_trg_Bring_Ogre_Lord_4 )
call DisableTrigger( gg_trg_Bring_Frost_Archer_4 )
call DisableTrigger( gg_trg_Bring_Black_Dragon_4 )
call DisableTrigger( gg_trg_Bring_Red_Dragon_4 )
endfunction
//===========================================================================
function InitTrig_Player_Light_Blue takes nothing returns nothing
set gg_trg_Player_Light_Blue = CreateTrigger( )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_Light_Blue, Player(9) )
call TriggerAddAction( gg_trg_Player_Light_Blue, function Trig_Player_Light_Blue_Actions )
endfunction
function Trig_Mass_Units_Red_Func001Func001002 takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnumUnit(), "attack", GetRectCenter(gg_rct_Heart_of_Horde) )
endfunction
function Trig_Mass_Units_Red_Func001C takes nothing returns boolean
if ( not ( GetOwningPlayer(GetTriggerUnit()) == Player(0) ) ) then
return false
endif
return true
endfunction
function Trig_Mass_Units_Red_Actions takes nothing returns nothing
if ( Trig_Mass_Units_Red_Func001C() ) then
call ForGroupBJ( GetUnitsInRectOfPlayer(gg_rct_Entire_Map, Player(0)), function Trig_Mass_Units_Red_Func001Func001002 )
else
endif
endfunction
//===========================================================================
function InitTrig_Mass_Units_Red takes nothing returns nothing
set gg_trg_Mass_Units_Red = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Mass_Units_Red, gg_rct_Mass_Units_Red )
call TriggerAddAction( gg_trg_Mass_Units_Red, function Trig_Mass_Units_Red_Actions )
endfunction
function Trig_Mass_Units_Blue_Func001Func001002 takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnumUnit(), "attack", GetRectCenter(gg_rct_Heart_of_Horde) )
endfunction
function Trig_Mass_Units_Blue_Func001C takes nothing returns boolean
if ( not ( GetOwningPlayer(GetTriggerUnit()) == Player(1) ) ) then
return false
endif
return true
endfunction
function Trig_Mass_Units_Blue_Actions takes nothing returns nothing
if ( Trig_Mass_Units_Blue_Func001C() ) then
call ForGroupBJ( GetUnitsInRectOfPlayer(gg_rct_Entire_Map, Player(1)), function Trig_Mass_Units_Blue_Func001Func001002 )
else
endif
endfunction
//===========================================================================
function InitTrig_Mass_Units_Blue takes nothing returns nothing
set gg_trg_Mass_Units_Blue = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Mass_Units_Blue, gg_rct_Mass_Units_Blue )
call TriggerAddAction( gg_trg_Mass_Units_Blue, function Trig_Mass_Units_Blue_Actions )
endfunction
function Trig_Mass_Units_Teal_Func001Func001002 takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnumUnit(), "attack", GetRectCenter(gg_rct_Heart_of_Horde) )
endfunction
function Trig_Mass_Units_Teal_Func001C takes nothing returns boolean
if ( not ( GetOwningPlayer(GetTriggerUnit()) == Player(2) ) ) then
return false
endif
return true
endfunction
function Trig_Mass_Units_Teal_Actions takes nothing returns nothing
if ( Trig_Mass_Units_Teal_Func001C() ) then
call ForGroupBJ( GetUnitsInRectOfPlayer(gg_rct_Entire_Map, Player(2)), function Trig_Mass_Units_Teal_Func001Func001002 )
else
endif
endfunction
//===========================================================================
function InitTrig_Mass_Units_Teal takes nothing returns nothing
set gg_trg_Mass_Units_Teal = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Mass_Units_Teal, gg_rct_Mass_Units_Teal )
call TriggerAddAction( gg_trg_Mass_Units_Teal, function Trig_Mass_Units_Teal_Actions )
endfunction
function Trig_Mass_Units_Purp_Func001Func001002 takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnumUnit(), "attack", GetRectCenter(gg_rct_Heart_of_Horde) )
endfunction
function Trig_Mass_Units_Purp_Func001C takes nothing returns boolean
if ( not ( GetOwningPlayer(GetTriggerUnit()) == Player(3) ) ) then
return false
endif
return true
endfunction
function Trig_Mass_Units_Purp_Actions takes nothing returns nothing
if ( Trig_Mass_Units_Purp_Func001C() ) then
call ForGroupBJ( GetUnitsInRectOfPlayer(gg_rct_Entire_Map, Player(3)), function Trig_Mass_Units_Purp_Func001Func001002 )
else
endif
endfunction
//===========================================================================
function InitTrig_Mass_Units_Purp takes nothing returns nothing
set gg_trg_Mass_Units_Purp = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Mass_Units_Purp, gg_rct_Mass_Units_Purp )
call TriggerAddAction( gg_trg_Mass_Units_Purp, function Trig_Mass_Units_Purp_Actions )
endfunction
function Trig_Mass_Units_Yellow_Func001Func001002 takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnumUnit(), "attack", GetRectCenter(gg_rct_Heart_of_Horde) )
endfunction
function Trig_Mass_Units_Yellow_Func001C takes nothing returns boolean
if ( not ( GetOwningPlayer(GetTriggerUnit()) == Player(4) ) ) then
return false
endif
return true
endfunction
function Trig_Mass_Units_Yellow_Actions takes nothing returns nothing
if ( Trig_Mass_Units_Yellow_Func001C() ) then
call ForGroupBJ( GetUnitsInRectOfPlayer(gg_rct_Entire_Map, Player(4)), function Trig_Mass_Units_Yellow_Func001Func001002 )
else
endif
endfunction
//===========================================================================
function InitTrig_Mass_Units_Yellow takes nothing returns nothing
set gg_trg_Mass_Units_Yellow = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Mass_Units_Yellow, gg_rct_Mass_Units_Yellow )
call TriggerAddAction( gg_trg_Mass_Units_Yellow, function Trig_Mass_Units_Yellow_Actions )
endfunction
function Trig_Mass_Units_Orange_Func001Func001002 takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnumUnit(), "attack", GetRectCenter(gg_rct_Heart_of_Alliance) )
endfunction
function Trig_Mass_Units_Orange_Func001C takes nothing returns boolean
if ( not ( GetOwningPlayer(GetTriggerUnit()) == Player(5) ) ) then
return false
endif
return true
endfunction
function Trig_Mass_Units_Orange_Actions takes nothing returns nothing
if ( Trig_Mass_Units_Orange_Func001C() ) then
call ForGroupBJ( GetUnitsInRectOfPlayer(gg_rct_Entire_Map, Player(5)), function Trig_Mass_Units_Orange_Func001Func001002 )
else
endif
endfunction
//===========================================================================
function InitTrig_Mass_Units_Orange takes nothing returns nothing
set gg_trg_Mass_Units_Orange = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Mass_Units_Orange, gg_rct_Mass_Units_Orange )
call TriggerAddAction( gg_trg_Mass_Units_Orange, function Trig_Mass_Units_Orange_Actions )
endfunction
function Trig_Mass_Units_Green_Func001Func001002 takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnumUnit(), "attack", GetRectCenter(gg_rct_Heart_of_Alliance) )
endfunction
function Trig_Mass_Units_Green_Func001C takes nothing returns boolean
if ( not ( GetOwningPlayer(GetTriggerUnit()) == Player(6) ) ) then
return false
endif
return true
endfunction
function Trig_Mass_Units_Green_Actions takes nothing returns nothing
if ( Trig_Mass_Units_Green_Func001C() ) then
call ForGroupBJ( GetUnitsInRectOfPlayer(gg_rct_Entire_Map, Player(6)), function Trig_Mass_Units_Green_Func001Func001002 )
else
endif
endfunction
//===========================================================================
function InitTrig_Mass_Units_Green takes nothing returns nothing
set gg_trg_Mass_Units_Green = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Mass_Units_Green, gg_rct_Mass_Units_Green )
call TriggerAddAction( gg_trg_Mass_Units_Green, function Trig_Mass_Units_Green_Actions )
endfunction
function Trig_Mass_Units_Pink_Func001Func001002 takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnumUnit(), "attack", GetRectCenter(gg_rct_Heart_of_Alliance) )
endfunction
function Trig_Mass_Units_Pink_Func001C takes nothing returns boolean
if ( not ( GetOwningPlayer(GetTriggerUnit()) == Player(7) ) ) then
return false
endif
return true
endfunction
function Trig_Mass_Units_Pink_Actions takes nothing returns nothing
if ( Trig_Mass_Units_Pink_Func001C() ) then
call ForGroupBJ( GetUnitsInRectOfPlayer(gg_rct_Entire_Map, Player(7)), function Trig_Mass_Units_Pink_Func001Func001002 )
else
endif
endfunction
//===========================================================================
function InitTrig_Mass_Units_Pink takes nothing returns nothing
set gg_trg_Mass_Units_Pink = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Mass_Units_Pink, gg_rct_Mass_Units_Pink )
call TriggerAddAction( gg_trg_Mass_Units_Pink, function Trig_Mass_Units_Pink_Actions )
endfunction
function Trig_Mass_Units_Grey_Func001Func001002 takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnumUnit(), "attack", GetRectCenter(gg_rct_Heart_of_Alliance) )
endfunction
function Trig_Mass_Units_Grey_Func001C takes nothing returns boolean
if ( not ( GetOwningPlayer(GetTriggerUnit()) == Player(8) ) ) then
return false
endif
return true
endfunction
function Trig_Mass_Units_Grey_Actions takes nothing returns nothing
if ( Trig_Mass_Units_Grey_Func001C() ) then
call ForGroupBJ( GetUnitsInRectOfPlayer(gg_rct_Entire_Map, Player(8)), function Trig_Mass_Units_Grey_Func001Func001002 )
else
endif
endfunction
//===========================================================================
function InitTrig_Mass_Units_Grey takes nothing returns nothing
set gg_trg_Mass_Units_Grey = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Mass_Units_Grey, gg_rct_Mass_Units_Grey )
call TriggerAddAction( gg_trg_Mass_Units_Grey, function Trig_Mass_Units_Grey_Actions )
endfunction
function Trig_Mass_Units_Light_Blue_Func001Func001002 takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnumUnit(), "attack", GetRectCenter(gg_rct_Heart_of_Alliance) )
endfunction
function Trig_Mass_Units_Light_Blue_Func001C takes nothing returns boolean
if ( not ( GetOwningPlayer(GetTriggerUnit()) == Player(9) ) ) then
return false
endif
return true
endfunction
function Trig_Mass_Units_Light_Blue_Actions takes nothing returns nothing
if ( Trig_Mass_Units_Light_Blue_Func001C() ) then
call ForGroupBJ( GetUnitsInRectOfPlayer(gg_rct_Entire_Map, Player(9)), function Trig_Mass_Units_Light_Blue_Func001Func001002 )
else
endif
endfunction
//===========================================================================
function InitTrig_Mass_Units_Light_Blue takes nothing returns nothing
set gg_trg_Mass_Units_Light_Blue = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Mass_Units_Light_Blue, gg_rct_Mass_Units_Light_Blue )
call TriggerAddAction( gg_trg_Mass_Units_Light_Blue, function Trig_Mass_Units_Light_Blue_Actions )
endfunction
function Trig_Player_one_Red_Actions takes nothing returns nothing
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(0), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(1), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(0), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(2), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(0), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(3), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(0), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(4), PLAYER_STATE_RESOURCE_GOLD )
endfunction
//===========================================================================
function InitTrig_Player_one_Red takes nothing returns nothing
set gg_trg_Player_one_Red = CreateTrigger( )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_one_Red, Player(0) )
call TriggerAddAction( gg_trg_Player_one_Red, function Trig_Player_one_Red_Actions )
endfunction
function Trig_Player_two_Blue_Actions takes nothing returns nothing
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(1), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(0), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(1), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(2), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(1), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(3), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(1), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(4), PLAYER_STATE_RESOURCE_GOLD )
endfunction
//===========================================================================
function InitTrig_Player_two_Blue takes nothing returns nothing
set gg_trg_Player_two_Blue = CreateTrigger( )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_two_Blue, Player(1) )
call TriggerAddAction( gg_trg_Player_two_Blue, function Trig_Player_two_Blue_Actions )
endfunction
function Trig_Player_three_Teal_Actions takes nothing returns nothing
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(2), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(0), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(2), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(1), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(2), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(3), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(2), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(4), PLAYER_STATE_RESOURCE_GOLD )
endfunction
//===========================================================================
function InitTrig_Player_three_Teal takes nothing returns nothing
set gg_trg_Player_three_Teal = CreateTrigger( )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_three_Teal, Player(2) )
call TriggerAddAction( gg_trg_Player_three_Teal, function Trig_Player_three_Teal_Actions )
endfunction
function Trig_Player_four_Purp_Actions takes nothing returns nothing
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(3), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(0), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(3), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(1), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(3), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(2), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(3), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(4), PLAYER_STATE_RESOURCE_GOLD )
endfunction
//===========================================================================
function InitTrig_Player_four_Purp takes nothing returns nothing
set gg_trg_Player_four_Purp = CreateTrigger( )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_four_Purp, Player(3) )
call TriggerAddAction( gg_trg_Player_four_Purp, function Trig_Player_four_Purp_Actions )
endfunction
function Trig_Player_five_Yellow_Actions takes nothing returns nothing
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(4), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(0), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(4), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(1), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(4), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(2), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(4), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(3), PLAYER_STATE_RESOURCE_GOLD )
endfunction
//===========================================================================
function InitTrig_Player_five_Yellow takes nothing returns nothing
set gg_trg_Player_five_Yellow = CreateTrigger( )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_five_Yellow, Player(4) )
call TriggerAddAction( gg_trg_Player_five_Yellow, function Trig_Player_five_Yellow_Actions )
endfunction
function Trig_Player_six_Orange_Actions takes nothing returns nothing
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(5), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(6), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(5), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(7), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(5), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(8), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(5), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(9), PLAYER_STATE_RESOURCE_GOLD )
endfunction
//===========================================================================
function InitTrig_Player_six_Orange takes nothing returns nothing
set gg_trg_Player_six_Orange = CreateTrigger( )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_six_Orange, Player(5) )
call TriggerAddAction( gg_trg_Player_six_Orange, function Trig_Player_six_Orange_Actions )
endfunction
function Trig_Player_seven_Green_Actions takes nothing returns nothing
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(6), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(5), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(6), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(7), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(6), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(8), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(6), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(9), PLAYER_STATE_RESOURCE_GOLD )
endfunction
//===========================================================================
function InitTrig_Player_seven_Green takes nothing returns nothing
set gg_trg_Player_seven_Green = CreateTrigger( )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_seven_Green, Player(6) )
call TriggerAddAction( gg_trg_Player_seven_Green, function Trig_Player_seven_Green_Actions )
endfunction
function Trig_Player_eight_Pink_Actions takes nothing returns nothing
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(7), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(5), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(7), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(6), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(7), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(8), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(7), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(9), PLAYER_STATE_RESOURCE_GOLD )
endfunction
//===========================================================================
function InitTrig_Player_eight_Pink takes nothing returns nothing
set gg_trg_Player_eight_Pink = CreateTrigger( )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_eight_Pink, Player(7) )
call TriggerAddAction( gg_trg_Player_eight_Pink, function Trig_Player_eight_Pink_Actions )
endfunction
function Trig_Player_nine_Gray_Actions takes nothing returns nothing
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(8), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(5), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(8), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(6), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(8), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(7), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(8), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(9), PLAYER_STATE_RESOURCE_GOLD )
endfunction
//===========================================================================
function InitTrig_Player_nine_Gray takes nothing returns nothing
set gg_trg_Player_nine_Gray = CreateTrigger( )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_nine_Gray, Player(8) )
call TriggerAddAction( gg_trg_Player_nine_Gray, function Trig_Player_nine_Gray_Actions )
endfunction
function Trig_Player_ten_Light_Blue_Actions takes nothing returns nothing
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(9), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(5), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(9), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(6), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(9), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(7), PLAYER_STATE_RESOURCE_GOLD )
call AdjustPlayerStateBJ( ( ( GetPlayerState(Player(9), PLAYER_STATE_RESOURCE_GOLD) + 500 ) / 2 ), Player(8), PLAYER_STATE_RESOURCE_GOLD )
endfunction
//===========================================================================
function InitTrig_Player_ten_Light_Blue takes nothing returns nothing
set gg_trg_Player_ten_Light_Blue = CreateTrigger( )
call TriggerRegisterPlayerEventLeave( gg_trg_Player_ten_Light_Blue, Player(9) )
call TriggerAddAction( gg_trg_Player_ten_Light_Blue, function Trig_Player_ten_Light_Blue_Actions )
endfunction
function Trig_Money_Issue_Actions takes nothing returns nothing
call SetPlayerFlagBJ( PLAYER_STATE_GIVES_BOUNTY, true, Player(0) )
call SetPlayerFlagBJ( PLAYER_STATE_GIVES_BOUNTY, true, Player(1) )
call SetPlayerFlagBJ( PLAYER_STATE_GIVES_BOUNTY, true, Player(2) )
call SetPlayerFlagBJ( PLAYER_STATE_GIVES_BOUNTY, true, Player(3) )
call SetPlayerFlagBJ( PLAYER_STATE_GIVES_BOUNTY, true, Player(4) )
call SetPlayerFlagBJ( PLAYER_STATE_GIVES_BOUNTY, true, Player(5) )
call SetPlayerFlagBJ( PLAYER_STATE_GIVES_BOUNTY, true, Player(6) )
call SetPlayerFlagBJ( PLAYER_STATE_GIVES_BOUNTY, true, Player(7) )
call SetPlayerFlagBJ( PLAYER_STATE_GIVES_BOUNTY, true, Player(8) )
call SetPlayerFlagBJ( PLAYER_STATE_GIVES_BOUNTY, true, Player(9) )
endfunction
//===========================================================================
function InitTrig_Money_Issue takes nothing returns nothing
set gg_trg_Money_Issue = CreateTrigger( )
call TriggerAddAction( gg_trg_Money_Issue, function Trig_Money_Issue_Actions )
endfunction