Name | Type | is_array | initial_value |
AdmiralQuest | quest | No | |
AdmiralQuestReq1 | questitem | No | |
AdmiralQuestReq2 | questitem | No | |
AluniQuestSkipped | boolean | No | |
AshenvaleRegenLeicht | weathereffect | No | |
AshenvaleRegenSchwer | weathereffect | No | |
Blizzard | weathereffect | No | |
CaptainFocaUnit | unit | No | |
DefeatSkipped | boolean | No | |
IntroOn | boolean | No | |
LichtStrahlen | weathereffect | No | |
LieutenantSign1 | effect | No | |
MainQuest1 | quest | No | |
MainQuest1Req1 | questitem | No | |
MainQuest2 | quest | No | |
MainQuest2CompletSkipped | boolean | No | |
MainQuest2Req1 | questitem | No | |
MainQuest2Skipped | boolean | No | |
MondStrahlen | weathereffect | No | |
NebelLeicht | weathereffect | No | |
NebelSchwer | weathereffect | No | |
OutlandWindLicht | weathereffect | No | |
OutlandWindSchwer | weathereffect | No | |
SchneeLeicht | weathereffect | No | |
SchneeSchwer | weathereffect | No | |
SommerRegenLeicht | weathereffect | No | |
SommerRegenSchwer | weathereffect | No | |
UnitMisha | unit | No | |
VictorySkipped | boolean | No | |
WindSchwer | weathereffect | No |
function Trig_Main_Initialization_Actions takes nothing returns nothing
call CinematicModeBJ( true, bj_FORCE_PLAYER[1] )
call CameraSetupApplyForPlayer( true, gg_cam_StartKam1, Player(1), 0 )
call CinematicFadeBJ( bj_CINEFADETYPE_FADEIN, 3.00, "ReplaceableTextures\\CameraMasks\\Black_mask.blp", 0, 0, 0, 0 )
call AddSpecialEffectTargetUnitBJ( "origin", gg_unit_H007_0089, "war3mapImported\\FrostyAura.mdx" )
call AddSpecialEffectTargetUnitBJ( "origin", gg_unit_E001_0381, "war3mapImported\\BluePentagram.mdx" )
call IssuePointOrderLocBJ( gg_unit_h00U_0083, "patrol", GetRectCenter(gg_rct_patrol_place_1) )
call IssuePointOrderLocBJ( gg_unit_h00U_0086, "patrol", GetRectCenter(gg_rct_patrol_place_2) )
call SetSkyModel( "Environment\\Sky\\LordaeronSummerSky\\LordaeronSummerSky.mdl" )
call SetPlayerColorBJ( Player(4), PLAYER_COLOR_CYAN, true )
call SetPlayerColorBJ( Player(5), PLAYER_COLOR_RED, true )
call SetPlayerColorBJ( Player(7), PLAYER_COLOR_CYAN, true )
call SetPlayerColorBJ( Player(8), PLAYER_COLOR_CYAN, true )
call SetPlayerColorBJ( Player(10), PLAYER_COLOR_CYAN, true )
call SetPlayerColorBJ( Player(11), ConvertPlayerColor(12), true )
call SetPlayerColorBJ( Player(3), PLAYER_COLOR_LIGHT_BLUE, true )
call SetPlayerOnScoreScreenBJ( false, Player(3) )
call SetPlayerOnScoreScreenBJ( false, Player(4) )
call SetPlayerOnScoreScreenBJ( false, Player(5) )
call SetPlayerOnScoreScreenBJ( false, Player(6) )
call SetPlayerOnScoreScreenBJ( false, Player(7) )
call SetPlayerOnScoreScreenBJ( false, Player(8) )
call SetPlayerOnScoreScreenBJ( false, Player(9) )
call SetPlayerOnScoreScreenBJ( false, Player(10) )
call SetPlayerOnScoreScreenBJ( false, Player(11) )
call SetPlayerStateBJ( Player(1), PLAYER_STATE_RESOURCE_FOOD_CAP, 40 )
call SetTimeOfDay( 6.00 )
call SetPlayerAllianceStateBJ( Player(1), Player(10), bj_ALLIANCE_NEUTRAL )
call SetPlayerAllianceStateBJ( Player(10), Player(1), bj_ALLIANCE_NEUTRAL )
call SetPlayerAllianceStateBJ( Player(1), Player(11), bj_ALLIANCE_NEUTRAL )
call SetPlayerAllianceStateBJ( Player(11), Player(1), bj_ALLIANCE_NEUTRAL )
call SetPlayerAllianceStateBJ( Player(0), Player(10), bj_ALLIANCE_NEUTRAL )
call SetPlayerAllianceStateBJ( Player(10), Player(0), bj_ALLIANCE_NEUTRAL )
call SetPlayerAllianceStateBJ( Player(0), Player(11), bj_ALLIANCE_NEUTRAL )
call SetPlayerAllianceStateBJ( Player(11), Player(0), bj_ALLIANCE_NEUTRAL )
call SetPlayerAllianceStateBJ( Player(1), Player(9), bj_ALLIANCE_NEUTRAL )
call SetPlayerAllianceStateBJ( Player(9), Player(1), bj_ALLIANCE_NEUTRAL )
call SetPlayerAllianceStateBJ( Player(0), Player(9), bj_ALLIANCE_NEUTRAL )
call SetPlayerAllianceStateBJ( Player(9), Player(0), bj_ALLIANCE_NEUTRAL )
call SetPlayerAllianceStateBJ( Player(1), Player(2), bj_ALLIANCE_NEUTRAL )
call SetPlayerAllianceStateBJ( Player(2), Player(1), bj_ALLIANCE_NEUTRAL )
call SetPlayerAllianceStateBJ( Player(1), Player(4), bj_ALLIANCE_NEUTRAL )
call SetPlayerAllianceStateBJ( Player(4), Player(1), bj_ALLIANCE_NEUTRAL )
call SetPlayerAllianceStateBJ( Player(1), Player(7), bj_ALLIANCE_NEUTRAL )
call SetPlayerAllianceStateBJ( Player(7), Player(1), bj_ALLIANCE_NEUTRAL )
call SetPlayerAllianceStateBJ( Player(1), Player(8), bj_ALLIANCE_NEUTRAL )
call SetPlayerAllianceStateBJ( Player(8), Player(1), bj_ALLIANCE_NEUTRAL )
call SetPlayerAllianceStateBJ( Player(1), Player(5), bj_ALLIANCE_NEUTRAL )
call SetPlayerAllianceStateBJ( Player(1), Player(6), bj_ALLIANCE_NEUTRAL )
call SetPlayerAllianceStateBJ( Player(1), Player(3), bj_ALLIANCE_NEUTRAL )
call SetPlayerAllianceStateBJ( Player(3), Player(1), bj_ALLIANCE_NEUTRAL )
call SetPlayerAllianceStateBJ( Player(0), Player(2), bj_ALLIANCE_NEUTRAL )
call SetPlayerAllianceStateBJ( Player(2), Player(0), bj_ALLIANCE_NEUTRAL )
call SetUnitInvulnerable( gg_unit_H00H_0137, true )
call SetUnitInvulnerable( gg_unit_h00O_0103, true )
call SetUnitInvulnerable( gg_unit_h00O_0131, true )
call SetUnitInvulnerable( gg_unit_h00O_0135, true )
call SetUnitInvulnerable( gg_unit_h00O_0136, true )
call SetUnitInvulnerable( gg_unit_h003_0070, true )
call SetUnitInvulnerable( gg_unit_h003_0071, true )
call SetUnitInvulnerable( gg_unit_h004_0064, true )
call SetUnitInvulnerable( gg_unit_h00U_0086, true )
call SetUnitInvulnerable( gg_unit_h00U_0083, true )
call SetUnitInvulnerable( gg_unit_h015_0201, true )
call SetUnitInvulnerable( gg_unit_h015_0202, true )
call SetUnitInvulnerable( gg_unit_h00N_0087, true )
call SetUnitInvulnerable( gg_unit_h00N_0108, true )
call SetUnitInvulnerable( gg_unit_h010_0088, true )
call SetUnitInvulnerable( gg_unit_h010_0091, true )
call SetUnitInvulnerable( gg_unit_h010_0205, true )
call SetUnitInvulnerable( gg_unit_h010_0206, true )
call SetUnitInvulnerable( gg_unit_h010_0238, true )
call SetUnitInvulnerable( gg_unit_h00R_0081, true )
call SetUnitInvulnerable( gg_unit_h00R_0082, true )
call SetUnitInvulnerable( gg_unit_h00R_0085, true )
call SetUnitInvulnerable( gg_unit_h00R_0129, true )
call SetUnitInvulnerable( gg_unit_h00R_0197, true )
call SetUnitInvulnerable( gg_unit_h00O_0084, true )
call SetUnitInvulnerable( gg_unit_h00O_0128, true )
call SetUnitInvulnerable( gg_unit_h00O_0198, true )
call SetUnitInvulnerable( gg_unit_h00O_0199, true )
call SetUnitInvulnerable( gg_unit_h00O_0200, true )
call SetUnitInvulnerable( gg_unit_h00Y_0153, true )
call SetUnitInvulnerable( gg_unit_h00Y_0154, true )
call SetUnitInvulnerable( gg_unit_h00Y_0155, true )
call SetUnitInvulnerable( gg_unit_h00Y_0156, true )
call SetItemInvulnerableBJ( gg_item_I001_0180, true )
call SetUnitInvulnerable( gg_unit_h002_0079, true )
call SetUnitInvulnerable( gg_unit_h002_0078, true )
call SetUnitInvulnerable( gg_unit_h005_0072, true )
call SetUnitInvulnerable( gg_unit_h005_0073, true )
call SetUnitInvulnerable( gg_unit_h005_0074, true )
call SetUnitInvulnerable( gg_unit_h005_0075, true )
call SetUnitInvulnerable( gg_unit_h005_0076, true )
call SetUnitInvulnerable( gg_unit_h005_0077, true )
call SetDestructableInvulnerableBJ( gg_dest_B007_0318, true )
call SetUnitAnimation( gg_unit_h01O_0291, "stand alternate" )
call SetDoodadAnimationRectBJ( "death", 'D001', GetPlayableMapRect() )
call IssueImmediateOrderBJ( gg_unit_O002_0322, "holdposition" )
endfunction
//===========================================================================
function InitTrig_Main_Initialization takes nothing returns nothing
set gg_trg_Main_Initialization = CreateTrigger( )
call TriggerAddAction( gg_trg_Main_Initialization, function Trig_Main_Initialization_Actions )
endfunction
function Trig_Toter_Conditions takes nothing returns boolean
if ( not ( GetTriggerUnit() == gg_unit_Orex_0002 ) ) then
return false
endif
return true
endfunction
function Trig_Toter_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'n001', Player(PLAYER_NEUTRAL_PASSIVE), GetRectCenter(gg_rct_corpse), 135.00 )
endfunction
//===========================================================================
function InitTrig_Toter takes nothing returns nothing
set gg_trg_Toter = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_Toter, gg_rct_rexxar_corpse_place )
call TriggerAddCondition( gg_trg_Toter, Condition( function Trig_Toter_Conditions ) )
call TriggerAddAction( gg_trg_Toter, function Trig_Toter_Actions )
endfunction
function Trig_Flying_Irrlicht_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'e002' ) ) then
return false
endif
return true
endfunction
function Trig_Flying_Irrlicht_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRandomLocInRect(gg_rct_fly_place) )
endfunction
//===========================================================================
function InitTrig_Flying_Irrlicht takes nothing returns nothing
set gg_trg_Flying_Irrlicht = CreateTrigger( )
call TriggerRegisterLeaveRectSimple( gg_trg_Flying_Irrlicht, gg_rct_fly_place )
call TriggerAddCondition( gg_trg_Flying_Irrlicht, Condition( function Trig_Flying_Irrlicht_Conditions ) )
call TriggerAddAction( gg_trg_Flying_Irrlicht, function Trig_Flying_Irrlicht_Actions )
endfunction
function Trig_Duke_return_Actions takes nothing returns nothing
call IssueTrainOrderByIdBJ( gg_unit_h008_0114, GetUnitTypeId(gg_unit_H007_0089) )
endfunction
//===========================================================================
function InitTrig_Duke_return takes nothing returns nothing
set gg_trg_Duke_return = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Duke_return, gg_unit_H007_0089, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Duke_return, function Trig_Duke_return_Actions )
endfunction
function Trig_Irrlicht_Trigger_2_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'e002' ) ) then
return false
endif
return true
endfunction
function Trig_Irrlicht_Trigger_2_Actions takes nothing returns nothing
call CreateNUnitsAtLocFacingLocBJ( 1, 'e002', Player(PLAYER_NEUTRAL_PASSIVE), GetRandomLocInRect(gg_rct_fly_place), GetUnitLoc(GetTriggerUnit()) )
endfunction
//===========================================================================
function InitTrig_Irrlicht_Trigger_2 takes nothing returns nothing
set gg_trg_Irrlicht_Trigger_2 = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_Irrlicht_Trigger_2, EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Irrlicht_Trigger_2, Condition( function Trig_Irrlicht_Trigger_2_Conditions ) )
call TriggerAddAction( gg_trg_Irrlicht_Trigger_2, function Trig_Irrlicht_Trigger_2_Actions )
endfunction
function Trig_Intro_Func003001 takes nothing returns boolean
return ( udg_IntroOn == false )
endfunction
function Trig_Intro_Func005001 takes nothing returns boolean
return ( udg_IntroOn == false )
endfunction
function Trig_Intro_Func008001 takes nothing returns boolean
return ( udg_IntroOn == false )
endfunction
function Trig_Intro_Func010001 takes nothing returns boolean
return ( udg_IntroOn == false )
endfunction
function Trig_Intro_Func012001 takes nothing returns boolean
return ( udg_IntroOn == false )
endfunction
function Trig_Intro_Func014001 takes nothing returns boolean
return ( udg_IntroOn == false )
endfunction
function Trig_Intro_Func016001 takes nothing returns boolean
return ( udg_IntroOn == false )
endfunction
function Trig_Intro_Func018001 takes nothing returns boolean
return ( udg_IntroOn == false )
endfunction
function Trig_Intro_Func020001 takes nothing returns boolean
return ( udg_IntroOn == false )
endfunction
function Trig_Intro_Func022001 takes nothing returns boolean
return ( udg_IntroOn == false )
endfunction
function Trig_Intro_Func024001 takes nothing returns boolean
return ( udg_IntroOn == false )
endfunction
function Trig_Intro_Func026001 takes nothing returns boolean
return ( udg_IntroOn == false )
endfunction
function Trig_Intro_Func028001 takes nothing returns boolean
return ( udg_IntroOn == false )
endfunction
function Trig_Intro_Actions takes nothing returns nothing
set udg_IntroOn = true
if ( Trig_Intro_Func003001() ) then
return
else
call DoNothing( )
endif
call CameraSetupApplyForPlayer( true, gg_cam_StartKam2, Player(1), 9.00 )
if ( Trig_Intro_Func005001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1061", GetRectCenter(GetPlayableMapRect()), gg_snd_Introsound, "TRIGSTR_1062", bj_TIMETYPE_ADD, 0.00, false )
call WaitForSoundBJ( gg_snd_Introsound, 0 )
if ( Trig_Intro_Func008001() ) then
return
else
call DoNothing( )
endif
call TriggerSleepAction( 1.00 )
if ( Trig_Intro_Func010001() ) then
return
else
call DoNothing( )
endif
call CinematicFadeBJ( bj_CINEFADETYPE_FADEOUT, 3.00, "ReplaceableTextures\\CameraMasks\\Black_mask.blp", 0, 0, 0, 0 )
if ( Trig_Intro_Func012001() ) then
return
else
call DoNothing( )
endif
call CameraSetupApplyForPlayer( true, gg_cam_reset_start_cam, Player(1), 0.00 )
if ( Trig_Intro_Func014001() ) then
return
else
call DoNothing( )
endif
call RemoveUnit( gg_unit_ngzc_0405 )
if ( Trig_Intro_Func016001() ) then
return
else
call DoNothing( )
endif
call CinematicModeBJ( false, bj_FORCE_PLAYER[1] )
if ( Trig_Intro_Func018001() ) then
return
else
call DoNothing( )
endif
call CinematicFadeBJ( bj_CINEFADETYPE_FADEIN, 3.00, "ReplaceableTextures\\CameraMasks\\Black_mask.blp", 0, 0, 0, 0 )
if ( Trig_Intro_Func020001() ) then
return
else
call DoNothing( )
endif
call ConditionalTriggerExecute( gg_trg_Main_Quest_1_create )
if ( Trig_Intro_Func022001() ) then
return
else
call DoNothing( )
endif
call QuestSetDiscoveredBJ( udg_MainQuest1, true )
if ( Trig_Intro_Func024001() ) then
return
else
call DoNothing( )
endif
call QuestMessageBJ( bj_FORCE_PLAYER[1], bj_QUESTMESSAGE_DISCOVERED, "TRIGSTR_008" )
if ( Trig_Intro_Func026001() ) then
return
else
call DoNothing( )
endif
call EnableTrigger( gg_trg_Mini_Map_Ping_1 )
if ( Trig_Intro_Func028001() ) then
return
else
call DoNothing( )
endif
call DisableTrigger( gg_trg_Intro_skipped )
endfunction
//===========================================================================
function InitTrig_Intro takes nothing returns nothing
set gg_trg_Intro = CreateTrigger( )
call TriggerRegisterTimerEventSingle( gg_trg_Intro, 0.00 )
call TriggerAddAction( gg_trg_Intro, function Trig_Intro_Actions )
endfunction
function Trig_Intro_skipped_Conditions takes nothing returns boolean
if ( not ( udg_IntroOn == true ) ) then
return false
endif
return true
endfunction
function Trig_Intro_skipped_Actions takes nothing returns nothing
set udg_IntroOn = false
call CameraSetupApplyForPlayer( true, gg_cam_reset_start_cam, Player(1), 0.00 )
call CinematicModeBJ( false, bj_FORCE_PLAYER[1] )
call RemoveUnit( gg_unit_ngzc_0405 )
call CinematicFadeBJ( bj_CINEFADETYPE_FADEIN, 3.00, "ReplaceableTextures\\CameraMasks\\Black_mask.blp", 0, 0, 0, 0 )
call ConditionalTriggerExecute( gg_trg_Main_Quest_1_create )
call QuestSetDiscoveredBJ( udg_MainQuest1, true )
call QuestMessageBJ( bj_FORCE_PLAYER[1], bj_QUESTMESSAGE_DISCOVERED, "TRIGSTR_009" )
call EnableTrigger( gg_trg_Mini_Map_Ping_1 )
call DisableTrigger( GetTriggeringTrigger() )
endfunction
//===========================================================================
function InitTrig_Intro_skipped takes nothing returns nothing
set gg_trg_Intro_skipped = CreateTrigger( )
call TriggerRegisterPlayerEventEndCinematic( gg_trg_Intro_skipped, Player(1) )
call TriggerAddCondition( gg_trg_Intro_skipped, Condition( function Trig_Intro_skipped_Conditions ) )
call TriggerAddAction( gg_trg_Intro_skipped, function Trig_Intro_skipped_Actions )
endfunction
function Trig_Light_Day_Actions takes nothing returns nothing
call SetDoodadAnimationRectBJ( "death", 'NOfg', GetPlayableMapRect() )
call SetDoodadAnimationRectBJ( "death", 'D00E', GetPlayableMapRect() )
call SetDoodadAnimationRectBJ( "death", 'LOtz', GetPlayableMapRect() )
endfunction
//===========================================================================
function InitTrig_Light_Day takes nothing returns nothing
set gg_trg_Light_Day = CreateTrigger( )
call TriggerRegisterGameStateEventTimeOfDay( gg_trg_Light_Day, EQUAL, 6.00 )
call TriggerAddAction( gg_trg_Light_Day, function Trig_Light_Day_Actions )
endfunction
function Trig_Light_Night_Actions takes nothing returns nothing
call SetDoodadAnimationRectBJ( "stand", 'NOfg', GetPlayableMapRect() )
call SetDoodadAnimationRectBJ( "stand", 'D00E', GetPlayableMapRect() )
call SetDoodadAnimationRectBJ( "stand", 'LOtz', GetPlayableMapRect() )
endfunction
//===========================================================================
function InitTrig_Light_Night takes nothing returns nothing
set gg_trg_Light_Night = CreateTrigger( )
call TriggerRegisterGameStateEventTimeOfDay( gg_trg_Light_Night, EQUAL, 20.00 )
call TriggerAddAction( gg_trg_Light_Night, function Trig_Light_Night_Actions )
endfunction
function Trig_War_ship_revive_Actions takes nothing returns nothing
call TriggerSleepAction( 8.00 )
call ReviveHeroLoc( gg_unit_O002_0322, GetRectCenter(gg_rct_war_ship_revive), true )
endfunction
//===========================================================================
function InitTrig_War_ship_revive takes nothing returns nothing
set gg_trg_War_ship_revive = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_War_ship_revive, gg_unit_O002_0322, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_War_ship_revive, function Trig_War_ship_revive_Actions )
endfunction
function Trig_Grosszerstoerer_revive_Actions takes nothing returns nothing
call TriggerSleepAction( 60.00 )
call ReviveHeroLoc( gg_unit_H01P_0313, GetRectCenter(gg_rct_destroyer_revive), true )
endfunction
//===========================================================================
function InitTrig_Grosszerstoerer_revive takes nothing returns nothing
set gg_trg_Grosszerstoerer_revive = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Grosszerstoerer_revive, gg_unit_H01P_0313, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Grosszerstoerer_revive, function Trig_Grosszerstoerer_revive_Actions )
endfunction
function Trig_Buerger_Dies_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call SetPlayerAllianceStateBJ( Player(7), Player(1), bj_ALLIANCE_UNALLIED )
call SetPlayerAllianceStateBJ( Player(1), Player(7), bj_ALLIANCE_UNALLIED )
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(2), 'H00S', "TRIGSTR_585", GetRectCenter(GetPlayableMapRect()), gg_snd_Obergendarmerist003, "TRIGSTR_586", bj_TIMETYPE_ADD, 0.00, false )
call WaitForSoundBJ( gg_snd_Obergendarmerist003, 0 )
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(2), 'H007', "TRIGSTR_914", GetRectCenter(GetPlayableMapRect()), gg_snd_Duke001, "TRIGSTR_913", bj_TIMETYPE_ADD, 0.00, false )
call WaitForSoundBJ( gg_snd_Duke001, 0 )
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(2), 'H00S', "TRIGSTR_768", GetRectCenter(GetPlayableMapRect()), gg_snd_Obergendarmerist004, "TRIGSTR_769", bj_TIMETYPE_ADD, 0.00, false )
call WaitForSoundBJ( gg_snd_Obergendarmerist004, 0 )
endfunction
//===========================================================================
function InitTrig_Buerger_Dies takes nothing returns nothing
set gg_trg_Buerger_Dies = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Buerger_Dies, Player(7), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddAction( gg_trg_Buerger_Dies, function Trig_Buerger_Dies_Actions )
endfunction
function Trig_Foca_Dies_Conditions takes nothing returns boolean
if ( not ( GetTriggerUnit() == udg_CaptainFocaUnit ) ) then
return false
endif
return true
endfunction
function Trig_Foca_Dies_Actions takes nothing returns nothing
call DisableTrigger( gg_trg_Foca_speaks_1 )
call DisableTrigger( gg_trg_Foca_speaks_2 )
endfunction
//===========================================================================
function InitTrig_Foca_Dies takes nothing returns nothing
set gg_trg_Foca_Dies = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_Foca_Dies, EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Foca_Dies, Condition( function Trig_Foca_Dies_Conditions ) )
call TriggerAddAction( gg_trg_Foca_Dies, function Trig_Foca_Dies_Actions )
endfunction
function Trig_Enter_the_City_Func001001 takes nothing returns boolean
return ( GetOwningPlayer(GetTriggerUnit()) == Player(1) )
endfunction
function Trig_Enter_the_City_Func001002 takes nothing returns boolean
return ( GetOwningPlayer(GetTriggerUnit()) == Player(0) )
endfunction
function Trig_Enter_the_City_Conditions takes nothing returns boolean
if ( not GetBooleanOr( Trig_Enter_the_City_Func001001(), Trig_Enter_the_City_Func001002() ) ) then
return false
endif
return true
endfunction
function Trig_Enter_the_City_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call DisableTrigger( gg_trg_Buerger_Dies )
call DisableTrigger( gg_trg_Buerger_Dies )
call SetPlayerAllianceStateBJ( Player(1), Player(7), bj_ALLIANCE_UNALLIED )
call SetPlayerAllianceStateBJ( Player(7), Player(1), bj_ALLIANCE_UNALLIED )
call SetPlayerAllianceStateBJ( Player(1), Player(4), bj_ALLIANCE_UNALLIED )
call SetPlayerAllianceStateBJ( Player(4), Player(1), bj_ALLIANCE_UNALLIED )
call SetPlayerAllianceStateBJ( Player(0), Player(4), bj_ALLIANCE_UNALLIED )
call SetPlayerAllianceStateBJ( Player(4), Player(0), bj_ALLIANCE_UNALLIED )
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(2), 'H00S', "TRIGSTR_867", GetRectCenter(GetPlayableMapRect()), gg_snd_Obergendarmerist005, "TRIGSTR_868", bj_TIMETYPE_ADD, 0.00, false )
call WaitForSoundBJ( gg_snd_Obergendarmerist005, 0 )
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(2), 'H007', "TRIGSTR_918", GetRectCenter(GetPlayableMapRect()), gg_snd_Duke002, "TRIGSTR_917", bj_TIMETYPE_ADD, 0.00, false )
call WaitForSoundBJ( gg_snd_Duke002, 0 )
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(2), 'H00S', "TRIGSTR_871", GetRectCenter(GetPlayableMapRect()), gg_snd_Obergendarmerist006, "TRIGSTR_872", bj_TIMETYPE_ADD, 0.00, false )
call WaitForSoundBJ( gg_snd_Obergendarmerist006, 0 )
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(2), 'H00W', "TRIGSTR_878", GetRectCenter(GetPlayableMapRect()), gg_snd_Foca001, "TRIGSTR_879", bj_TIMETYPE_ADD, 0.00, false )
call WaitForSoundBJ( gg_snd_Foca001, 0 )
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(2), 'H00W', "TRIGSTR_880", GetRectCenter(GetPlayableMapRect()), gg_snd_Foca002, "TRIGSTR_881", bj_TIMETYPE_ADD, 0.00, false )
call WaitForSoundBJ( gg_snd_Foca002, 0 )
call CreateNUnitsAtLocFacingLocBJ( 1, 'h00G', Player(4), GetRectCenter(gg_rct_Gebiet_145), GetUnitLoc(GetTriggerUnit()) )
call CreateNUnitsAtLocFacingLocBJ( 1, 'h00G', Player(4), GetRectCenter(gg_rct_Gebiet_072), GetUnitLoc(GetTriggerUnit()) )
call CreateNUnitsAtLocFacingLocBJ( 1, 'H00W', Player(4), GetRectCenter(gg_rct_create_captain), GetUnitLoc(GetTriggerUnit()) )
set udg_CaptainFocaUnit = GetLastCreatedUnit()
call StartMeleeAI( Player(4), "war3mapImported\\Dominanz Elite Streitkraefte.ai" )
call EnableTrigger( gg_trg_Foca_speaks_1 )
endfunction
//===========================================================================
function InitTrig_Enter_the_City takes nothing returns nothing
set gg_trg_Enter_the_City = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Enter_the_City, gg_rct_enter_the_city )
call TriggerAddCondition( gg_trg_Enter_the_City, Condition( function Trig_Enter_the_City_Conditions ) )
call TriggerAddAction( gg_trg_Enter_the_City, function Trig_Enter_the_City_Actions )
endfunction
function Trig_Foca_speaks_1_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(2), 'H00W', "TRIGSTR_882", GetRectCenter(GetPlayableMapRect()), gg_snd_Foca003, "TRIGSTR_883", bj_TIMETYPE_ADD, 0.00, false )
call WaitForSoundBJ( gg_snd_Foca003, 0 )
call EnableTrigger( gg_trg_Foca_speaks_2 )
endfunction
//===========================================================================
function InitTrig_Foca_speaks_1 takes nothing returns nothing
set gg_trg_Foca_speaks_1 = CreateTrigger( )
call DisableTrigger( gg_trg_Foca_speaks_1 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Foca_speaks_1, 25.00 )
call TriggerAddAction( gg_trg_Foca_speaks_1, function Trig_Foca_speaks_1_Actions )
endfunction
function Trig_Foca_speaks_2_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(2), 'H00W', "TRIGSTR_886", GetRectCenter(GetPlayableMapRect()), gg_snd_Foca004, "TRIGSTR_887", bj_TIMETYPE_ADD, 0.00, false )
call WaitForSoundBJ( gg_snd_Foca004, 0 )
call EnableTrigger( gg_trg_Foca_speaks_1 )
endfunction
//===========================================================================
function InitTrig_Foca_speaks_2 takes nothing returns nothing
set gg_trg_Foca_speaks_2 = CreateTrigger( )
call DisableTrigger( gg_trg_Foca_speaks_2 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Foca_speaks_2, 25.00 )
call TriggerAddAction( gg_trg_Foca_speaks_2, function Trig_Foca_speaks_2_Actions )
endfunction
function Trig_Woodcutters_Actions takes nothing returns nothing
call IssueTargetDestructableOrder( gg_unit_h00T_0068, "harvest", gg_dest_LTlt_1179 )
call IssueTargetDestructableOrder( gg_unit_h00T_0069, "harvest", gg_dest_LTlt_1674 )
call IssueTargetDestructableOrder( gg_unit_h00T_0065, "harvest", gg_dest_LTlt_0096 )
call IssueTargetDestructableOrder( gg_unit_h00T_0066, "harvest", gg_dest_LTlt_0098 )
endfunction
//===========================================================================
function InitTrig_Woodcutters takes nothing returns nothing
set gg_trg_Woodcutters = CreateTrigger( )
call TriggerAddAction( gg_trg_Woodcutters, function Trig_Woodcutters_Actions )
endfunction
function Trig_MontrerSeefahrer_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h01D' ) ) then
return false
endif
return true
endfunction
function Trig_MontrerSeefahrer_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'h01D', Player(2), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_MontrerSeefahrer takes nothing returns nothing
set gg_trg_MontrerSeefahrer = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_MontrerSeefahrer, Player(10), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_MontrerSeefahrer, Condition( function Trig_MontrerSeefahrer_Conditions ) )
call TriggerAddAction( gg_trg_MontrerSeefahrer, function Trig_MontrerSeefahrer_Actions )
endfunction
function Trig_Bogenschuetze_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h00B' ) ) then
return false
endif
return true
endfunction
function Trig_Bogenschuetze_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'h00B', Player(2), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_Bogenschuetze takes nothing returns nothing
set gg_trg_Bogenschuetze = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Bogenschuetze, Player(2), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Bogenschuetze, Condition( function Trig_Bogenschuetze_Conditions ) )
call TriggerAddAction( gg_trg_Bogenschuetze, function Trig_Bogenschuetze_Actions )
endfunction
function Trig_Armbrustschuetze_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h00Z' ) ) then
return false
endif
return true
endfunction
function Trig_Armbrustschuetze_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'h00Z', Player(2), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_Armbrustschuetze takes nothing returns nothing
set gg_trg_Armbrustschuetze = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Armbrustschuetze, Player(2), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Armbrustschuetze, Condition( function Trig_Armbrustschuetze_Conditions ) )
call TriggerAddAction( gg_trg_Armbrustschuetze, function Trig_Armbrustschuetze_Actions )
endfunction
function Trig_Equivor_Soldat_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h00F' ) ) then
return false
endif
return true
endfunction
function Trig_Equivor_Soldat_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'h00F', Player(2), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_Equivor_Soldat takes nothing returns nothing
set gg_trg_Equivor_Soldat = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Equivor_Soldat, Player(2), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Equivor_Soldat, Condition( function Trig_Equivor_Soldat_Conditions ) )
call TriggerAddAction( gg_trg_Equivor_Soldat, function Trig_Equivor_Soldat_Actions )
endfunction
function Trig_Stadtwache_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h00N' ) ) then
return false
endif
return true
endfunction
function Trig_Stadtwache_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'h00N', Player(2), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_Stadtwache takes nothing returns nothing
set gg_trg_Stadtwache = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Stadtwache, Player(2), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Stadtwache, Condition( function Trig_Stadtwache_Conditions ) )
call TriggerAddAction( gg_trg_Stadtwache, function Trig_Stadtwache_Actions )
endfunction
function Trig_Koeniglicher_Leibwaechter_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h00M' ) ) then
return false
endif
return true
endfunction
function Trig_Koeniglicher_Leibwaechter_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'h00M', Player(2), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_Koeniglicher_Leibwaechter takes nothing returns nothing
set gg_trg_Koeniglicher_Leibwaechter = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Koeniglicher_Leibwaechter, Player(2), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Koeniglicher_Leibwaechter, Condition( function Trig_Koeniglicher_Leibwaechter_Conditions ) )
call TriggerAddAction( gg_trg_Koeniglicher_Leibwaechter, function Trig_Koeniglicher_Leibwaechter_Actions )
endfunction
function Trig_Kavalier_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h00U' ) ) then
return false
endif
return true
endfunction
function Trig_Kavalier_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'h00U', Player(2), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_Kavalier takes nothing returns nothing
set gg_trg_Kavalier = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Kavalier, Player(2), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Kavalier, Condition( function Trig_Kavalier_Conditions ) )
call TriggerAddAction( gg_trg_Kavalier, function Trig_Kavalier_Actions )
endfunction
function Trig_Ritter_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h00V' ) ) then
return false
endif
return true
endfunction
function Trig_Ritter_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'h00V', Player(2), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_Ritter takes nothing returns nothing
set gg_trg_Ritter = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Ritter, Player(2), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Ritter, Condition( function Trig_Ritter_Conditions ) )
call TriggerAddAction( gg_trg_Ritter, function Trig_Ritter_Actions )
endfunction
function Trig_Equivor_Veteranen_Soldat_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h00C' ) ) then
return false
endif
return true
endfunction
function Trig_Equivor_Veteranen_Soldat_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'h00C', Player(2), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_Equivor_Veteranen_Soldat takes nothing returns nothing
set gg_trg_Equivor_Veteranen_Soldat = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Equivor_Veteranen_Soldat, Player(2), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Equivor_Veteranen_Soldat, Condition( function Trig_Equivor_Veteranen_Soldat_Conditions ) )
call TriggerAddAction( gg_trg_Equivor_Veteranen_Soldat, function Trig_Equivor_Veteranen_Soldat_Actions )
endfunction
function Trig_Veteranen_Ritter_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'h00G' ) ) then
return false
endif
return true
endfunction
function Trig_Veteranen_Ritter_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'h00G', Player(2), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_Veteranen_Ritter takes nothing returns nothing
set gg_trg_Veteranen_Ritter = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Veteranen_Ritter, Player(2), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Veteranen_Ritter, Condition( function Trig_Veteranen_Ritter_Conditions ) )
call TriggerAddAction( gg_trg_Veteranen_Ritter, function Trig_Veteranen_Ritter_Actions )
endfunction
function Trig_Ballista_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'e003' ) ) then
return false
endif
return true
endfunction
function Trig_Ballista_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'e003', Player(2), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_Ballista takes nothing returns nothing
set gg_trg_Ballista = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Ballista, Player(2), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Ballista, Condition( function Trig_Ballista_Conditions ) )
call TriggerAddAction( gg_trg_Ballista, function Trig_Ballista_Actions )
endfunction
function Trig_Mange_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'o003' ) ) then
return false
endif
return true
endfunction
function Trig_Mange_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'o003', Player(2), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_Mange takes nothing returns nothing
set gg_trg_Mange = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Mange, Player(2), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Mange, Condition( function Trig_Mange_Conditions ) )
call TriggerAddAction( gg_trg_Mange, function Trig_Mange_Actions )
endfunction
function Trig_Belagerungsonager_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'o005' ) ) then
return false
endif
return true
endfunction
function Trig_Belagerungsonager_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'o005', Player(2), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_Belagerungsonager takes nothing returns nothing
set gg_trg_Belagerungsonager = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Belagerungsonager, Player(2), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Belagerungsonager, Condition( function Trig_Belagerungsonager_Conditions ) )
call TriggerAddAction( gg_trg_Belagerungsonager, function Trig_Belagerungsonager_Actions )
endfunction
function Trig_Belagerungsturm_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'o006' ) ) then
return false
endif
return true
endfunction
function Trig_Belagerungsturm_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'o006', Player(2), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_Belagerungsturm takes nothing returns nothing
set gg_trg_Belagerungsturm = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Belagerungsturm, Player(2), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Belagerungsturm, Condition( function Trig_Belagerungsturm_Conditions ) )
call TriggerAddAction( gg_trg_Belagerungsturm, function Trig_Belagerungsturm_Actions )
endfunction
function Trig_Lady_death_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'h00J', Player(2), GetRandomLocInRect(gg_rct_lady_corpse), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_Lady_death takes nothing returns nothing
set gg_trg_Lady_death = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Lady_death, gg_unit_h00J_0063, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Lady_death, function Trig_Lady_death_Actions )
endfunction
function Trig_Grunt_1_death_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'ogru' ) ) then
return false
endif
return true
endfunction
function Trig_Grunt_1_death_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'ogru', Player(0), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_Grunt_1_death takes nothing returns nothing
set gg_trg_Grunt_1_death = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Grunt_1_death, Player(0), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Grunt_1_death, Condition( function Trig_Grunt_1_death_Conditions ) )
call TriggerAddAction( gg_trg_Grunt_1_death, function Trig_Grunt_1_death_Actions )
endfunction
function Trig_Troll_1_death_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'ohun' ) ) then
return false
endif
return true
endfunction
function Trig_Troll_1_death_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'ohun', Player(0), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_Troll_1_death takes nothing returns nothing
set gg_trg_Troll_1_death = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Troll_1_death, Player(0), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Troll_1_death, Condition( function Trig_Troll_1_death_Conditions ) )
call TriggerAddAction( gg_trg_Troll_1_death, function Trig_Troll_1_death_Actions )
endfunction
function Trig_Catapult_1_death_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'ocat' ) ) then
return false
endif
return true
endfunction
function Trig_Catapult_1_death_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'ocat', Player(0), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_Catapult_1_death takes nothing returns nothing
set gg_trg_Catapult_1_death = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Catapult_1_death, Player(0), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Catapult_1_death, Condition( function Trig_Catapult_1_death_Conditions ) )
call TriggerAddAction( gg_trg_Catapult_1_death, function Trig_Catapult_1_death_Actions )
endfunction
function Trig_Tauren_1_death_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'otau' ) ) then
return false
endif
return true
endfunction
function Trig_Tauren_1_death_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'otau', Player(0), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_Tauren_1_death takes nothing returns nothing
set gg_trg_Tauren_1_death = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Tauren_1_death, Player(0), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Tauren_1_death, Condition( function Trig_Tauren_1_death_Conditions ) )
call TriggerAddAction( gg_trg_Tauren_1_death, function Trig_Tauren_1_death_Actions )
endfunction
function Trig_Raider_1_death_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'orai' ) ) then
return false
endif
return true
endfunction
function Trig_Raider_1_death_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'orai', Player(0), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_Raider_1_death takes nothing returns nothing
set gg_trg_Raider_1_death = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Raider_1_death, Player(0), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Raider_1_death, Condition( function Trig_Raider_1_death_Conditions ) )
call TriggerAddAction( gg_trg_Raider_1_death, function Trig_Raider_1_death_Actions )
endfunction
function Trig_Kodo_1_death_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'okod' ) ) then
return false
endif
return true
endfunction
function Trig_Kodo_1_death_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'okod', Player(0), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_Kodo_1_death takes nothing returns nothing
set gg_trg_Kodo_1_death = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Kodo_1_death, Player(0), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Kodo_1_death, Condition( function Trig_Kodo_1_death_Conditions ) )
call TriggerAddAction( gg_trg_Kodo_1_death, function Trig_Kodo_1_death_Actions )
endfunction
function Trig_Oger_1_1_death_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'nogo' ) ) then
return false
endif
return true
endfunction
function Trig_Oger_1_1_death_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'nogo', Player(0), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_Oger_1_1_death takes nothing returns nothing
set gg_trg_Oger_1_1_death = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Oger_1_1_death, Player(0), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Oger_1_1_death, Condition( function Trig_Oger_1_1_death_Conditions ) )
call TriggerAddAction( gg_trg_Oger_1_1_death, function Trig_Oger_1_1_death_Actions )
endfunction
function Trig_Oger_1_2__death_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'nogn' ) ) then
return false
endif
return true
endfunction
function Trig_Oger_1_2__death_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'nogn', Player(0), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_Oger_1_2__death takes nothing returns nothing
set gg_trg_Oger_1_2__death = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Oger_1_2__death, Player(0), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Oger_1_2__death, Condition( function Trig_Oger_1_2__death_Conditions ) )
call TriggerAddAction( gg_trg_Oger_1_2__death, function Trig_Oger_1_2__death_Actions )
endfunction
function Trig_Shaman_1_death_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'oshm' ) ) then
return false
endif
return true
endfunction
function Trig_Shaman_1_death_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'oshm', Player(0), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_Shaman_1_death takes nothing returns nothing
set gg_trg_Shaman_1_death = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Shaman_1_death, Player(0), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Shaman_1_death, Condition( function Trig_Shaman_1_death_Conditions ) )
call TriggerAddAction( gg_trg_Shaman_1_death, function Trig_Shaman_1_death_Actions )
endfunction
function Trig_Troll_Medicine_1_death_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'odoc' ) ) then
return false
endif
return true
endfunction
function Trig_Troll_Medicine_1_death_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'odoc', Player(0), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_Troll_Medicine_1_death takes nothing returns nothing
set gg_trg_Troll_Medicine_1_death = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Troll_Medicine_1_death, Player(0), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Troll_Medicine_1_death, Condition( function Trig_Troll_Medicine_1_death_Conditions ) )
call TriggerAddAction( gg_trg_Troll_Medicine_1_death, function Trig_Troll_Medicine_1_death_Actions )
endfunction
function Trig_Spirit_Tauren_1_Death_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'ospw' ) ) then
return false
endif
return true
endfunction
function Trig_Spirit_Tauren_1_Death_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'ospw', Player(0), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_Spirit_Tauren_1_Death takes nothing returns nothing
set gg_trg_Spirit_Tauren_1_Death = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Spirit_Tauren_1_Death, Player(0), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Spirit_Tauren_1_Death, Condition( function Trig_Spirit_Tauren_1_Death_Conditions ) )
call TriggerAddAction( gg_trg_Spirit_Tauren_1_Death, function Trig_Spirit_Tauren_1_Death_Actions )
endfunction
function Trig_Grunt_2_death_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'ogru' ) ) then
return false
endif
return true
endfunction
function Trig_Grunt_2_death_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'ogru', Player(1), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_Grunt_2_death takes nothing returns nothing
set gg_trg_Grunt_2_death = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Grunt_2_death, Player(1), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Grunt_2_death, Condition( function Trig_Grunt_2_death_Conditions ) )
call TriggerAddAction( gg_trg_Grunt_2_death, function Trig_Grunt_2_death_Actions )
endfunction
function Trig_Troll_2_death_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'ohun' ) ) then
return false
endif
return true
endfunction
function Trig_Troll_2_death_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'ohun', Player(1), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_Troll_2_death takes nothing returns nothing
set gg_trg_Troll_2_death = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Troll_2_death, Player(1), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Troll_2_death, Condition( function Trig_Troll_2_death_Conditions ) )
call TriggerAddAction( gg_trg_Troll_2_death, function Trig_Troll_2_death_Actions )
endfunction
function Trig_Catapult_2_death_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'ocat' ) ) then
return false
endif
return true
endfunction
function Trig_Catapult_2_death_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'ocat', Player(1), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_Catapult_2_death takes nothing returns nothing
set gg_trg_Catapult_2_death = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Catapult_2_death, Player(1), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Catapult_2_death, Condition( function Trig_Catapult_2_death_Conditions ) )
call TriggerAddAction( gg_trg_Catapult_2_death, function Trig_Catapult_2_death_Actions )
endfunction
function Trig_Tauren_2_death_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'otau' ) ) then
return false
endif
return true
endfunction
function Trig_Tauren_2_death_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'otau', Player(1), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_Tauren_2_death takes nothing returns nothing
set gg_trg_Tauren_2_death = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Tauren_2_death, Player(1), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Tauren_2_death, Condition( function Trig_Tauren_2_death_Conditions ) )
call TriggerAddAction( gg_trg_Tauren_2_death, function Trig_Tauren_2_death_Actions )
endfunction
function Trig_Raider_2_death_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'orai' ) ) then
return false
endif
return true
endfunction
function Trig_Raider_2_death_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'orai', Player(1), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_Raider_2_death takes nothing returns nothing
set gg_trg_Raider_2_death = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Raider_2_death, Player(1), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Raider_2_death, Condition( function Trig_Raider_2_death_Conditions ) )
call TriggerAddAction( gg_trg_Raider_2_death, function Trig_Raider_2_death_Actions )
endfunction
function Trig_Kodo_2_death_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'okod' ) ) then
return false
endif
return true
endfunction
function Trig_Kodo_2_death_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'okod', Player(1), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_Kodo_2_death takes nothing returns nothing
set gg_trg_Kodo_2_death = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Kodo_2_death, Player(1), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Kodo_2_death, Condition( function Trig_Kodo_2_death_Conditions ) )
call TriggerAddAction( gg_trg_Kodo_2_death, function Trig_Kodo_2_death_Actions )
endfunction
function Trig_Oger_2_1_death_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'nogo' ) ) then
return false
endif
return true
endfunction
function Trig_Oger_2_1_death_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'nogo', Player(1), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_Oger_2_1_death takes nothing returns nothing
set gg_trg_Oger_2_1_death = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Oger_2_1_death, Player(1), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Oger_2_1_death, Condition( function Trig_Oger_2_1_death_Conditions ) )
call TriggerAddAction( gg_trg_Oger_2_1_death, function Trig_Oger_2_1_death_Actions )
endfunction
function Trig_Oger_2_2_death_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'nogn' ) ) then
return false
endif
return true
endfunction
function Trig_Oger_2_2_death_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'nogn', Player(1), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_Oger_2_2_death takes nothing returns nothing
set gg_trg_Oger_2_2_death = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Oger_2_2_death, Player(1), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Oger_2_2_death, Condition( function Trig_Oger_2_2_death_Conditions ) )
call TriggerAddAction( gg_trg_Oger_2_2_death, function Trig_Oger_2_2_death_Actions )
endfunction
function Trig_Shaman_2_death_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'oshm' ) ) then
return false
endif
return true
endfunction
function Trig_Shaman_2_death_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'oshm', Player(1), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_Shaman_2_death takes nothing returns nothing
set gg_trg_Shaman_2_death = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Shaman_2_death, Player(1), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Shaman_2_death, Condition( function Trig_Shaman_2_death_Conditions ) )
call TriggerAddAction( gg_trg_Shaman_2_death, function Trig_Shaman_2_death_Actions )
endfunction
function Trig_Troll_Medicine_2_death_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'odoc' ) ) then
return false
endif
return true
endfunction
function Trig_Troll_Medicine_2_death_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'odoc', Player(1), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_Troll_Medicine_2_death takes nothing returns nothing
set gg_trg_Troll_Medicine_2_death = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Troll_Medicine_2_death, Player(1), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Troll_Medicine_2_death, Condition( function Trig_Troll_Medicine_2_death_Conditions ) )
call TriggerAddAction( gg_trg_Troll_Medicine_2_death, function Trig_Troll_Medicine_2_death_Actions )
endfunction
function Trig_Spirit_Tauren_2_Death_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'ospw' ) ) then
return false
endif
return true
endfunction
function Trig_Spirit_Tauren_2_Death_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'ospw', Player(1), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_Spirit_Tauren_2_Death takes nothing returns nothing
set gg_trg_Spirit_Tauren_2_Death = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Spirit_Tauren_2_Death, Player(1), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Spirit_Tauren_2_Death, Condition( function Trig_Spirit_Tauren_2_Death_Conditions ) )
call TriggerAddAction( gg_trg_Spirit_Tauren_2_Death, function Trig_Spirit_Tauren_2_Death_Actions )
endfunction
function Trig_one_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'n00S', Player(PLAYER_NEUTRAL_PASSIVE), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_one takes nothing returns nothing
set gg_trg_one = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_one, gg_unit_n00S_0222, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_one, function Trig_one_Actions )
endfunction
function Trig_two_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'n00E', Player(PLAYER_NEUTRAL_PASSIVE), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_two takes nothing returns nothing
set gg_trg_two = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_two, gg_unit_n00E_0229, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_two, function Trig_two_Actions )
endfunction
function Trig_three_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'n00H', Player(PLAYER_NEUTRAL_PASSIVE), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_three takes nothing returns nothing
set gg_trg_three = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_three, gg_unit_n00H_0334, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_three, function Trig_three_Actions )
endfunction
function Trig_four_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'n00C', Player(PLAYER_NEUTRAL_PASSIVE), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_four takes nothing returns nothing
set gg_trg_four = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_four, gg_unit_n00C_0221, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_four, function Trig_four_Actions )
endfunction
function Trig_five_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'n00J', Player(PLAYER_NEUTRAL_PASSIVE), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_five takes nothing returns nothing
set gg_trg_five = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_five, gg_unit_n00J_0224, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_five, function Trig_five_Actions )
endfunction
function Trig_six_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'n00A', Player(PLAYER_NEUTRAL_PASSIVE), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_six takes nothing returns nothing
set gg_trg_six = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_six, gg_unit_n00A_0215, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_six, function Trig_six_Actions )
endfunction
function Trig_seven_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'n00P', Player(PLAYER_NEUTRAL_PASSIVE), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_seven takes nothing returns nothing
set gg_trg_seven = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_seven, gg_unit_n00P_0214, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_seven, function Trig_seven_Actions )
endfunction
function Trig_eight_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'n01R', Player(PLAYER_NEUTRAL_PASSIVE), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_eight takes nothing returns nothing
set gg_trg_eight = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_eight, gg_unit_n01R_0213, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_eight, function Trig_eight_Actions )
endfunction
function Trig_nine_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'n00K', Player(PLAYER_NEUTRAL_PASSIVE), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_nine takes nothing returns nothing
set gg_trg_nine = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_nine, gg_unit_n00K_0234, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_nine, function Trig_nine_Actions )
endfunction
function Trig_ten_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'n00L', Player(PLAYER_NEUTRAL_PASSIVE), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_ten takes nothing returns nothing
set gg_trg_ten = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_ten, gg_unit_n00L_0235, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_ten, function Trig_ten_Actions )
endfunction
function Trig_eleven_Actions takes nothing returns nothing
call CreatePermanentCorpseLocBJ( bj_CORPSETYPE_FLESH, 'n00I', Player(PLAYER_NEUTRAL_PASSIVE), GetRandomLocInRect(GetPlayableMapRect()), GetRandomDirectionDeg() )
endfunction
//===========================================================================
function InitTrig_eleven takes nothing returns nothing
set gg_trg_eleven = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_eleven, gg_unit_n00I_0230, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_eleven, function Trig_eleven_Actions )
endfunction
function Trig_Main_Quest_1_create_Conditions takes nothing returns boolean
if ( not ( IsTriggerEnabled(GetTriggeringTrigger()) == true ) ) then
return false
endif
return true
endfunction
function Trig_Main_Quest_1_create_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
// Main Quest 1
call CreateQuestBJ( bj_QUESTTYPE_REQ_UNDISCOVERED, "TRIGSTR_1460", "TRIGSTR_1461", "ReplaceableTextures\\CommandButtons\\BTNTheCaptain.blp" )
set udg_MainQuest1 = GetLastCreatedQuestBJ()
call CreateQuestItemBJ( udg_MainQuest1, "TRIGSTR_1462" )
set udg_MainQuest1Req1 = GetLastCreatedQuestItemBJ()
endfunction
//===========================================================================
function InitTrig_Main_Quest_1_create takes nothing returns nothing
set gg_trg_Main_Quest_1_create = CreateTrigger( )
call TriggerAddCondition( gg_trg_Main_Quest_1_create, Condition( function Trig_Main_Quest_1_create_Conditions ) )
call TriggerAddAction( gg_trg_Main_Quest_1_create, function Trig_Main_Quest_1_create_Actions )
endfunction
function Trig_Special_Effect_1_Actions takes nothing returns nothing
call AddSpecialEffectTargetUnitBJ( "overhead", gg_unit_H00H_0137, "Abilities\\Spells\\Other\\TalkToMe\\TalkToMe.mdl" )
set udg_LieutenantSign1 = GetLastCreatedEffectBJ()
endfunction
//===========================================================================
function InitTrig_Special_Effect_1 takes nothing returns nothing
set gg_trg_Special_Effect_1 = CreateTrigger( )
call TriggerAddAction( gg_trg_Special_Effect_1, function Trig_Special_Effect_1_Actions )
endfunction
function Trig_Mini_Map_Ping_1_Actions takes nothing returns nothing
call PingMinimapLocForForce( bj_FORCE_PLAYER[1], GetRectCenter(gg_rct_rexxar_walk), 2.00 )
endfunction
//===========================================================================
function InitTrig_Mini_Map_Ping_1 takes nothing returns nothing
set gg_trg_Mini_Map_Ping_1 = CreateTrigger( )
call DisableTrigger( gg_trg_Mini_Map_Ping_1 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Mini_Map_Ping_1, 20.00 )
call TriggerAddAction( gg_trg_Mini_Map_Ping_1, function Trig_Mini_Map_Ping_1_Actions )
endfunction
function Trig_Main_Quest_2_create_Conditions takes nothing returns boolean
if ( not ( IsTriggerEnabled(GetTriggeringTrigger()) == true ) ) then
return false
endif
return true
endfunction
function Trig_Main_Quest_2_create_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
// Main Quest 2
call CreateQuestBJ( bj_QUESTTYPE_REQ_UNDISCOVERED, "TRIGSTR_1457", "TRIGSTR_1458", "ReplaceableTextures\\CommandButtons\\BTNCastle.blp" )
set udg_MainQuest2 = GetLastCreatedQuestBJ()
call CreateQuestItemBJ( udg_MainQuest2, "TRIGSTR_1459" )
set udg_MainQuest2Req1 = GetLastCreatedQuestItemBJ()
endfunction
//===========================================================================
function InitTrig_Main_Quest_2_create takes nothing returns nothing
set gg_trg_Main_Quest_2_create = CreateTrigger( )
call TriggerAddCondition( gg_trg_Main_Quest_2_create, Condition( function Trig_Main_Quest_2_create_Conditions ) )
call TriggerAddAction( gg_trg_Main_Quest_2_create, function Trig_Main_Quest_2_create_Actions )
endfunction
function Trig_Main_Quest_2_entdecken_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(GetTriggerUnit()) == Player(1) ) ) then
return false
endif
return true
endfunction
function Trig_Main_Quest_2_entdecken_Func004001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func006001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func008001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func010001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func012001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func014001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func016001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func018001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func020001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func022001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func024001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func026001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func028001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func030001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func033001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func035001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func037001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func039001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func041001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func043001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func045001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func047001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func049001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func053001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func055001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func057001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func059001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func061001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func063001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func065001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func067001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func069001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func071001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func073001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func075001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func077001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func079001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func081001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func083001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func085001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func087001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func089001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func091001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func093001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func095001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func097001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func099001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func101001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func103001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func105001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func107001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func109001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func111001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func113001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func115001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func117001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func119001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func121001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func123001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func125001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func127001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func129001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func131001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func133001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func135001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func137001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func139001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func141001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func143001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func145001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func147001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func149001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func151001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func153001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func155001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func157001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func159001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func161001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func163001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func165001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func167001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func169001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func171001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func173001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func175001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func177001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func179001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func181001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func183001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func185001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func187001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func189001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func191001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func193001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func195001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func197001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func199001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func201001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func203001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func205001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func207001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func209001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func211001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func213001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func215001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func217001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func219001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func221001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func224001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func226001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func228001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func230001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func232001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func234001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func236001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func238001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func240001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func242001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func244001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func246001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func248001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func250001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func252001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func254001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func256001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func258001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func260001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func262001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func264001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func266001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func268001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func270001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func272001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func274001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func276001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func278001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func280001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func282001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func284001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Func286001 takes nothing returns boolean
return ( udg_MainQuest2Skipped == false )
endfunction
function Trig_Main_Quest_2_entdecken_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
set udg_MainQuest2Skipped = true
if ( Trig_Main_Quest_2_entdecken_Func004001() ) then
return
else
call DoNothing( )
endif
call DestroyEffectBJ( udg_LieutenantSign1 )
if ( Trig_Main_Quest_2_entdecken_Func006001() ) then
return
else
call DoNothing( )
endif
call DisableTrigger( gg_trg_Mini_Map_Ping_1 )
if ( Trig_Main_Quest_2_entdecken_Func008001() ) then
return
else
call DoNothing( )
endif
call QuestItemSetCompletedBJ( udg_MainQuest1Req1, true )
if ( Trig_Main_Quest_2_entdecken_Func010001() ) then
return
else
call DoNothing( )
endif
call QuestSetCompletedBJ( udg_MainQuest1, true )
if ( Trig_Main_Quest_2_entdecken_Func012001() ) then
return
else
call DoNothing( )
endif
call QuestMessageBJ( GetPlayersAll(), bj_QUESTMESSAGE_COMPLETED, "TRIGSTR_1433" )
if ( Trig_Main_Quest_2_entdecken_Func014001() ) then
return
else
call DoNothing( )
endif
call TriggerSleepAction( 5.00 )
if ( Trig_Main_Quest_2_entdecken_Func016001() ) then
return
else
call DoNothing( )
endif
call CinematicFadeBJ( bj_CINEFADETYPE_FADEOUT, 3.00, "ReplaceableTextures\\CameraMasks\\Black_mask.blp", 0, 0, 0, 0 )
if ( Trig_Main_Quest_2_entdecken_Func018001() ) then
return
else
call DoNothing( )
endif
call TriggerSleepAction( 4.00 )
if ( Trig_Main_Quest_2_entdecken_Func020001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_Orex_0002, true )
if ( Trig_Main_Quest_2_entdecken_Func022001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_Orkn_0060, true )
if ( Trig_Main_Quest_2_entdecken_Func024001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_Nsjs_0061, true )
if ( Trig_Main_Quest_2_entdecken_Func026001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_Ocb2_0062, true )
if ( Trig_Main_Quest_2_entdecken_Func028001() ) then
return
else
call DoNothing( )
endif
call SetPlayerAllianceStateBJ( Player(1), Player(8), bj_ALLIANCE_UNALLIED )
if ( Trig_Main_Quest_2_entdecken_Func030001() ) then
return
else
call DoNothing( )
endif
call SetPlayerAllianceStateBJ( Player(8), Player(1), bj_ALLIANCE_UNALLIED )
call CinematicModeBJ( true, bj_FORCE_PLAYER[1] )
if ( Trig_Main_Quest_2_entdecken_Func033001() ) then
return
else
call DoNothing( )
endif
call CameraSetupApplyForPlayer( true, gg_cam_Cam_1, Player(1), 0 )
if ( Trig_Main_Quest_2_entdecken_Func035001() ) then
return
else
call DoNothing( )
endif
call ClearSelectionForPlayer( Player(1) )
if ( Trig_Main_Quest_2_entdecken_Func037001() ) then
return
else
call DoNothing( )
endif
call SetUnitPositionLoc( gg_unit_Orex_0002, GetRectCenter(gg_rct_arry_place) )
if ( Trig_Main_Quest_2_entdecken_Func039001() ) then
return
else
call DoNothing( )
endif
call SetUnitPositionLoc( gg_unit_Orkn_0060, GetRectCenter(gg_rct_arry_place) )
if ( Trig_Main_Quest_2_entdecken_Func041001() ) then
return
else
call DoNothing( )
endif
call SetUnitPositionLoc( gg_unit_Nsjs_0061, GetRectCenter(gg_rct_arry_place) )
if ( Trig_Main_Quest_2_entdecken_Func043001() ) then
return
else
call DoNothing( )
endif
call SetUnitPositionLoc( gg_unit_Ocb2_0062, GetRectCenter(gg_rct_arry_place) )
if ( Trig_Main_Quest_2_entdecken_Func045001() ) then
return
else
call DoNothing( )
endif
call CreateNUnitsAtLoc( 1, 'ngzc', Player(1), GetRectCenter(gg_rct_arry_place), bj_UNIT_FACING )
if ( Trig_Main_Quest_2_entdecken_Func047001() ) then
return
else
call DoNothing( )
endif
set udg_UnitMisha = GetLastCreatedUnit()
if ( Trig_Main_Quest_2_entdecken_Func049001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( udg_UnitMisha, true )
call CinematicFadeBJ( bj_CINEFADETYPE_FADEIN, 3.00, "ReplaceableTextures\\CameraMasks\\Black_mask.blp", 0, 0, 0, 0 )
call IssuePointOrderLocBJ( gg_unit_Orex_0002, "move", GetRectCenter(gg_rct_rexxar_walk) )
if ( Trig_Main_Quest_2_entdecken_Func053001() ) then
return
else
call DoNothing( )
endif
call IssuePointOrderLocBJ( gg_unit_Orkn_0060, "move", GetRectCenter(gg_rct_rokhan_walk) )
if ( Trig_Main_Quest_2_entdecken_Func055001() ) then
return
else
call DoNothing( )
endif
call IssuePointOrderLocBJ( gg_unit_Nsjs_0061, "move", GetRectCenter(gg_rct_chen_walk) )
if ( Trig_Main_Quest_2_entdecken_Func057001() ) then
return
else
call DoNothing( )
endif
call IssuePointOrderLocBJ( gg_unit_Ocb2_0062, "move", GetRectCenter(gg_rct_cairne_walk) )
if ( Trig_Main_Quest_2_entdecken_Func059001() ) then
return
else
call DoNothing( )
endif
call IssuePointOrderLocBJ( udg_UnitMisha, "move", GetRectCenter(gg_rct_misha_walk) )
if ( Trig_Main_Quest_2_entdecken_Func061001() ) then
return
else
call DoNothing( )
endif
call TriggerSleepAction( 2.00 )
if ( Trig_Main_Quest_2_entdecken_Func063001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(2), 'H00H', "TRIGSTR_1434", GetRectCenter(GetPlayableMapRect()), gg_snd_Lieutenant001, "TRIGSTR_1435", bj_TIMETYPE_ADD, 0.00, false )
if ( Trig_Main_Quest_2_entdecken_Func065001() ) then
return
else
call DoNothing( )
endif
call WaitForSoundBJ( gg_snd_Lieutenant001, 0 )
if ( Trig_Main_Quest_2_entdecken_Func067001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(2), 'H00H', "TRIGSTR_1436", GetRectCenter(GetPlayableMapRect()), gg_snd_Lieutenant002, "TRIGSTR_1437", bj_TIMETYPE_ADD, 0.00, false )
if ( Trig_Main_Quest_2_entdecken_Func069001() ) then
return
else
call DoNothing( )
endif
call WaitForSoundBJ( gg_snd_Lieutenant002, 0 )
if ( Trig_Main_Quest_2_entdecken_Func071001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(2), 'H00H', "TRIGSTR_1438", GetRectCenter(GetPlayableMapRect()), gg_snd_Lieutenant003, "TRIGSTR_1439", bj_TIMETYPE_ADD, 0.00, false )
if ( Trig_Main_Quest_2_entdecken_Func073001() ) then
return
else
call DoNothing( )
endif
call WaitForSoundBJ( gg_snd_Lieutenant003, 0 )
if ( Trig_Main_Quest_2_entdecken_Func075001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(2), 'H00H', "TRIGSTR_1440", GetRectCenter(GetPlayableMapRect()), gg_snd_Lieutenant004, "TRIGSTR_1441", bj_TIMETYPE_ADD, 0.00, false )
if ( Trig_Main_Quest_2_entdecken_Func077001() ) then
return
else
call DoNothing( )
endif
call WaitForSoundBJ( gg_snd_Lieutenant004, 0 )
if ( Trig_Main_Quest_2_entdecken_Func079001() ) then
return
else
call DoNothing( )
endif
call TriggerSleepAction( 0.75 )
if ( Trig_Main_Quest_2_entdecken_Func081001() ) then
return
else
call DoNothing( )
endif
call CameraSetupApplyForPlayer( true, gg_cam_Cam_2, Player(1), 0 )
if ( Trig_Main_Quest_2_entdecken_Func083001() ) then
return
else
call DoNothing( )
endif
call TriggerSleepAction( 0.01 )
if ( Trig_Main_Quest_2_entdecken_Func085001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'Orex', "TRIGSTR_1442", GetRectCenter(GetPlayableMapRect()), gg_snd_D00Rexxar26, "TRIGSTR_1443", bj_TIMETYPE_ADD, 0.00, false )
if ( Trig_Main_Quest_2_entdecken_Func087001() ) then
return
else
call DoNothing( )
endif
call WaitForSoundBJ( gg_snd_D00Rexxar26, 0 )
if ( Trig_Main_Quest_2_entdecken_Func089001() ) then
return
else
call DoNothing( )
endif
call TriggerSleepAction( 0.01 )
if ( Trig_Main_Quest_2_entdecken_Func091001() ) then
return
else
call DoNothing( )
endif
call CameraSetupApplyForPlayer( true, gg_cam_Cam_3, Player(1), 0 )
if ( Trig_Main_Quest_2_entdecken_Func093001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(2), 'H00H', "TRIGSTR_1444", GetRectCenter(GetPlayableMapRect()), gg_snd_Lieutenant005, "TRIGSTR_1445", bj_TIMETYPE_ADD, 0.00, false )
if ( Trig_Main_Quest_2_entdecken_Func095001() ) then
return
else
call DoNothing( )
endif
call WaitForSoundBJ( gg_snd_Lieutenant005, 0 )
if ( Trig_Main_Quest_2_entdecken_Func097001() ) then
return
else
call DoNothing( )
endif
call TriggerSleepAction( 1.00 )
if ( Trig_Main_Quest_2_entdecken_Func099001() ) then
return
else
call DoNothing( )
endif
call CameraSetupApplyForPlayer( true, gg_cam_Cam_4, Player(1), 0 )
if ( Trig_Main_Quest_2_entdecken_Func101001() ) then
return
else
call DoNothing( )
endif
call ShowUnitHide( gg_unit_H00H_0137 )
if ( Trig_Main_Quest_2_entdecken_Func103001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'Orex', "TRIGSTR_1446", GetRectCenter(GetPlayableMapRect()), gg_snd_D18Rexxar04, "TRIGSTR_1447", bj_TIMETYPE_ADD, 0.00, false )
if ( Trig_Main_Quest_2_entdecken_Func105001() ) then
return
else
call DoNothing( )
endif
call WaitForSoundBJ( gg_snd_D18Rexxar04, 0 )
if ( Trig_Main_Quest_2_entdecken_Func107001() ) then
return
else
call DoNothing( )
endif
call TriggerSleepAction( 0.01 )
if ( Trig_Main_Quest_2_entdecken_Func109001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'Ocb2', "TRIGSTR_1448", GetRectCenter(GetPlayableMapRect()), gg_snd_D20Cairne02, "TRIGSTR_1449", bj_TIMETYPE_ADD, 0.00, false )
if ( Trig_Main_Quest_2_entdecken_Func111001() ) then
return
else
call DoNothing( )
endif
call WaitForSoundBJ( gg_snd_D20Cairne02, 0 )
if ( Trig_Main_Quest_2_entdecken_Func113001() ) then
return
else
call DoNothing( )
endif
call CameraSetupApplyForPlayer( true, gg_cam_Cam_7, Player(1), 0 )
if ( Trig_Main_Quest_2_entdecken_Func115001() ) then
return
else
call DoNothing( )
endif
call ShowUnitShow( gg_unit_H00H_0137 )
if ( Trig_Main_Quest_2_entdecken_Func117001() ) then
return
else
call DoNothing( )
endif
call TriggerSleepAction( 0.01 )
if ( Trig_Main_Quest_2_entdecken_Func119001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(2), 'H00H', "TRIGSTR_1450", GetRectCenter(GetPlayableMapRect()), gg_snd_Lieutenant006, "TRIGSTR_1451", bj_TIMETYPE_ADD, 0.00, false )
if ( Trig_Main_Quest_2_entdecken_Func121001() ) then
return
else
call DoNothing( )
endif
call WaitForSoundBJ( gg_snd_Lieutenant006, 0 )
if ( Trig_Main_Quest_2_entdecken_Func123001() ) then
return
else
call DoNothing( )
endif
call TriggerSleepAction( 0.01 )
if ( Trig_Main_Quest_2_entdecken_Func125001() ) then
return
else
call DoNothing( )
endif
call CameraSetupApplyForPlayer( true, gg_cam_Cam_5, Player(1), 0 )
if ( Trig_Main_Quest_2_entdecken_Func127001() ) then
return
else
call DoNothing( )
endif
call TriggerSleepAction( 0.01 )
if ( Trig_Main_Quest_2_entdecken_Func129001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'Orex', "TRIGSTR_1452", GetRectCenter(GetPlayableMapRect()), gg_snd_D20Rexxar03, "TRIGSTR_1453", bj_TIMETYPE_ADD, 0.00, false )
if ( Trig_Main_Quest_2_entdecken_Func131001() ) then
return
else
call DoNothing( )
endif
call WaitForSoundBJ( gg_snd_D20Rexxar03, 0 )
if ( Trig_Main_Quest_2_entdecken_Func133001() ) then
return
else
call DoNothing( )
endif
call TriggerSleepAction( 0.01 )
if ( Trig_Main_Quest_2_entdecken_Func135001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'Ocb2', "TRIGSTR_1454", GetRectCenter(GetPlayableMapRect()), gg_snd_O02Cairne25, "TRIGSTR_1455", bj_TIMETYPE_ADD, 0.00, false )
if ( Trig_Main_Quest_2_entdecken_Func137001() ) then
return
else
call DoNothing( )
endif
call WaitForSoundBJ( gg_snd_O02Cairne25, 0 )
if ( Trig_Main_Quest_2_entdecken_Func139001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_Orex_0002, false )
if ( Trig_Main_Quest_2_entdecken_Func141001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_H00H_0137, false )
if ( Trig_Main_Quest_2_entdecken_Func143001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_Orkn_0060, false )
if ( Trig_Main_Quest_2_entdecken_Func145001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h00O_0103, false )
if ( Trig_Main_Quest_2_entdecken_Func147001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_Nsjs_0061, false )
if ( Trig_Main_Quest_2_entdecken_Func149001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h00O_0131, false )
if ( Trig_Main_Quest_2_entdecken_Func151001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_Ocb2_0062, false )
if ( Trig_Main_Quest_2_entdecken_Func153001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h00O_0135, false )
if ( Trig_Main_Quest_2_entdecken_Func155001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( udg_UnitMisha, false )
if ( Trig_Main_Quest_2_entdecken_Func157001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h00O_0136, false )
if ( Trig_Main_Quest_2_entdecken_Func159001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h00Y_0153, false )
if ( Trig_Main_Quest_2_entdecken_Func161001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h00Y_0154, false )
if ( Trig_Main_Quest_2_entdecken_Func163001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h00Y_0156, false )
if ( Trig_Main_Quest_2_entdecken_Func165001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h00Y_0155, false )
if ( Trig_Main_Quest_2_entdecken_Func167001() ) then
return
else
call DoNothing( )
endif
call CameraSetupApplyForPlayer( true, gg_cam_Cam_6, Player(1), 6.00 )
if ( Trig_Main_Quest_2_entdecken_Func169001() ) then
return
else
call DoNothing( )
endif
call CinematicFadeBJ( bj_CINEFADETYPE_FADEOUT, 3.00, "ReplaceableTextures\\CameraMasks\\Black_mask.blp", 0, 0, 0, 0 )
if ( Trig_Main_Quest_2_entdecken_Func171001() ) then
return
else
call DoNothing( )
endif
call TriggerSleepAction( 4.00 )
if ( Trig_Main_Quest_2_entdecken_Func173001() ) then
return
else
call DoNothing( )
endif
call StartMeleeAI( Player(8), "war3mapImported\\Stabsoffiziere.ai" )
if ( Trig_Main_Quest_2_entdecken_Func175001() ) then
return
else
call DoNothing( )
endif
call StartMeleeAI( Player(0), "war3mapImported\\Blackrock Clan.ai" )
if ( Trig_Main_Quest_2_entdecken_Func177001() ) then
return
else
call DoNothing( )
endif
call RemoveUnit( udg_UnitMisha )
if ( Trig_Main_Quest_2_entdecken_Func179001() ) then
return
else
call DoNothing( )
endif
call SetDestructableInvulnerableBJ( gg_dest_B007_0318, false )
if ( Trig_Main_Quest_2_entdecken_Func181001() ) then
return
else
call DoNothing( )
endif
call SetHeroLevelBJ( gg_unit_Orex_0002, 2, false )
if ( Trig_Main_Quest_2_entdecken_Func183001() ) then
return
else
call DoNothing( )
endif
call SetHeroLevelBJ( gg_unit_Orkn_0060, 2, false )
if ( Trig_Main_Quest_2_entdecken_Func185001() ) then
return
else
call DoNothing( )
endif
call SetHeroLevelBJ( gg_unit_Nsjs_0061, 2, false )
if ( Trig_Main_Quest_2_entdecken_Func187001() ) then
return
else
call DoNothing( )
endif
call SetHeroLevelBJ( gg_unit_Ocb2_0062, 2, false )
if ( Trig_Main_Quest_2_entdecken_Func189001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h003_0070, false )
if ( Trig_Main_Quest_2_entdecken_Func191001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h003_0071, false )
if ( Trig_Main_Quest_2_entdecken_Func193001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h004_0064, false )
if ( Trig_Main_Quest_2_entdecken_Func195001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h00U_0083, false )
if ( Trig_Main_Quest_2_entdecken_Func197001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h00U_0086, false )
if ( Trig_Main_Quest_2_entdecken_Func199001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h015_0201, false )
if ( Trig_Main_Quest_2_entdecken_Func201001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h015_0202, false )
if ( Trig_Main_Quest_2_entdecken_Func203001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h010_0088, false )
if ( Trig_Main_Quest_2_entdecken_Func205001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h010_0091, false )
if ( Trig_Main_Quest_2_entdecken_Func207001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h010_0205, false )
if ( Trig_Main_Quest_2_entdecken_Func209001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h010_0206, false )
if ( Trig_Main_Quest_2_entdecken_Func211001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h010_0238, false )
if ( Trig_Main_Quest_2_entdecken_Func213001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h00O_0084, false )
if ( Trig_Main_Quest_2_entdecken_Func215001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h00O_0128, false )
if ( Trig_Main_Quest_2_entdecken_Func217001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h00O_0198, false )
if ( Trig_Main_Quest_2_entdecken_Func219001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h00O_0199, false )
if ( Trig_Main_Quest_2_entdecken_Func221001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h00O_0200, false )
call SetUnitInvulnerable( gg_unit_h00R_0081, false )
if ( Trig_Main_Quest_2_entdecken_Func224001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h00R_0082, false )
if ( Trig_Main_Quest_2_entdecken_Func226001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h00R_0085, false )
if ( Trig_Main_Quest_2_entdecken_Func228001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h00R_0129, false )
if ( Trig_Main_Quest_2_entdecken_Func230001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h00R_0197, false )
if ( Trig_Main_Quest_2_entdecken_Func232001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h00N_0087, false )
if ( Trig_Main_Quest_2_entdecken_Func234001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h00N_0108, false )
if ( Trig_Main_Quest_2_entdecken_Func236001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h002_0078, false )
if ( Trig_Main_Quest_2_entdecken_Func238001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h002_0079, false )
if ( Trig_Main_Quest_2_entdecken_Func240001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h005_0072, false )
if ( Trig_Main_Quest_2_entdecken_Func242001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h005_0073, false )
if ( Trig_Main_Quest_2_entdecken_Func244001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h005_0074, false )
if ( Trig_Main_Quest_2_entdecken_Func246001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h005_0075, false )
if ( Trig_Main_Quest_2_entdecken_Func248001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h005_0076, false )
if ( Trig_Main_Quest_2_entdecken_Func250001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h005_0077, false )
if ( Trig_Main_Quest_2_entdecken_Func252001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h00T_0066, false )
if ( Trig_Main_Quest_2_entdecken_Func254001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h00T_0065, false )
if ( Trig_Main_Quest_2_entdecken_Func256001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h00T_0069, false )
if ( Trig_Main_Quest_2_entdecken_Func258001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h00T_0068, false )
if ( Trig_Main_Quest_2_entdecken_Func260001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_ofrt_0008, false )
if ( Trig_Main_Quest_2_entdecken_Func262001() ) then
return
else
call DoNothing( )
endif
call SetUnitOwner( gg_unit_otto_0408, Player(1), true )
if ( Trig_Main_Quest_2_entdecken_Func264001() ) then
return
else
call DoNothing( )
endif
call SetUnitOwner( gg_unit_obea_0424, Player(1), true )
if ( Trig_Main_Quest_2_entdecken_Func266001() ) then
return
else
call DoNothing( )
endif
call SetUnitOwner( gg_unit_o009_0013, Player(1), true )
if ( Trig_Main_Quest_2_entdecken_Func268001() ) then
return
else
call DoNothing( )
endif
call SetUnitOwner( gg_unit_osld_0004, Player(1), true )
if ( Trig_Main_Quest_2_entdecken_Func270001() ) then
return
else
call DoNothing( )
endif
call SetUnitOwner( gg_unit_obea_0015, Player(1), true )
if ( Trig_Main_Quest_2_entdecken_Func272001() ) then
return
else
call DoNothing( )
endif
call SetUnitOwner( gg_unit_o009_0014, Player(1), true )
if ( Trig_Main_Quest_2_entdecken_Func274001() ) then
return
else
call DoNothing( )
endif
call CameraSetupApplyForPlayer( true, gg_cam_reset_cam_2, Player(1), 0 )
if ( Trig_Main_Quest_2_entdecken_Func276001() ) then
return
else
call DoNothing( )
endif
call CinematicModeBJ( false, bj_FORCE_PLAYER[1] )
if ( Trig_Main_Quest_2_entdecken_Func278001() ) then
return
else
call DoNothing( )
endif
call CinematicFadeBJ( bj_CINEFADETYPE_FADEIN, 3.00, "ReplaceableTextures\\CameraMasks\\Black_mask.blp", 0, 0, 0, 0 )
if ( Trig_Main_Quest_2_entdecken_Func280001() ) then
return
else
call DoNothing( )
endif
call ConditionalTriggerExecute( gg_trg_Main_Quest_2_create )
if ( Trig_Main_Quest_2_entdecken_Func282001() ) then
return
else
call DoNothing( )
endif
call QuestSetDiscoveredBJ( udg_MainQuest2, true )
if ( Trig_Main_Quest_2_entdecken_Func284001() ) then
return
else
call DoNothing( )
endif
call QuestMessageBJ( bj_FORCE_PLAYER[1], bj_QUESTMESSAGE_DISCOVERED, "TRIGSTR_1456" )
if ( Trig_Main_Quest_2_entdecken_Func286001() ) then
return
else
call DoNothing( )
endif
call DisableTrigger( gg_trg_Main_Quest_2_skipped )
endfunction
//===========================================================================
function InitTrig_Main_Quest_2_entdecken takes nothing returns nothing
set gg_trg_Main_Quest_2_entdecken = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Main_Quest_2_entdecken, gg_rct_lieutenant_speak )
call TriggerAddCondition( gg_trg_Main_Quest_2_entdecken, Condition( function Trig_Main_Quest_2_entdecken_Conditions ) )
call TriggerAddAction( gg_trg_Main_Quest_2_entdecken, function Trig_Main_Quest_2_entdecken_Actions )
endfunction
function Trig_Main_Quest_2_skipped_Conditions takes nothing returns boolean
if ( not ( udg_MainQuest2Skipped == true ) ) then
return false
endif
return true
endfunction
function Trig_Main_Quest_2_skipped_Actions takes nothing returns nothing
set udg_MainQuest2Skipped = false
call DestroyEffectBJ( udg_LieutenantSign1 )
call DisableTrigger( gg_trg_Mini_Map_Ping_1 )
call CameraSetupApplyForPlayer( true, gg_cam_reset_cam_2, Player(1), 0 )
call CinematicModeBJ( false, bj_FORCE_PLAYER[1] )
call CinematicFadeBJ( bj_CINEFADETYPE_FADEIN, 3.00, "ReplaceableTextures\\CameraMasks\\Black_mask.blp", 0, 0, 0, 0 )
call StartMeleeAI( Player(8), "war3mapImported\\Stabsoffiziere.ai" )
call StartMeleeAI( Player(0), "war3mapImported\\Blackrock Clan.ai" )
call QuestItemSetCompletedBJ( udg_MainQuest1Req1, true )
call QuestSetCompletedBJ( udg_MainQuest1, true )
call SetDestructableInvulnerableBJ( gg_dest_B007_0318, false )
call SetHeroLevelBJ( gg_unit_Orex_0002, 2, false )
call SetHeroLevelBJ( gg_unit_Orkn_0060, 2, false )
call SetHeroLevelBJ( gg_unit_Nsjs_0061, 2, false )
call SetHeroLevelBJ( gg_unit_Ocb2_0062, 2, false )
call RemoveUnit( udg_UnitMisha )
call SetUnitPositionLoc( gg_unit_Orex_0002, GetRectCenter(gg_rct_rexxar_walk) )
call SetUnitPositionLoc( gg_unit_Orkn_0060, GetRectCenter(gg_rct_rokhan_walk) )
call SetUnitPositionLoc( gg_unit_Nsjs_0061, GetRectCenter(gg_rct_chen_walk) )
call SetUnitPositionLoc( gg_unit_Ocb2_0062, GetRectCenter(gg_rct_cairne_walk) )
call SetPlayerAllianceStateBJ( Player(1), Player(8), bj_ALLIANCE_UNALLIED )
call SetPlayerAllianceStateBJ( Player(8), Player(1), bj_ALLIANCE_UNALLIED )
call ConditionalTriggerExecute( gg_trg_Main_Quest_2_create )
call QuestSetDiscoveredBJ( udg_MainQuest2, true )
call QuestMessageBJ( bj_FORCE_PLAYER[1], bj_QUESTMESSAGE_DISCOVERED, "TRIGSTR_1432" )
call SetUnitInvulnerable( gg_unit_Orex_0002, false )
call SetUnitInvulnerable( gg_unit_Orkn_0060, false )
call SetUnitInvulnerable( gg_unit_Nsjs_0061, false )
call SetUnitInvulnerable( gg_unit_Ocb2_0062, false )
call SetUnitInvulnerable( gg_unit_h003_0070, false )
call SetUnitInvulnerable( gg_unit_h003_0071, false )
call SetUnitInvulnerable( gg_unit_h004_0064, false )
call SetUnitInvulnerable( gg_unit_h00U_0083, false )
call SetUnitInvulnerable( gg_unit_h00U_0086, false )
call SetUnitInvulnerable( gg_unit_h015_0201, false )
call SetUnitInvulnerable( gg_unit_h015_0202, false )
call SetUnitInvulnerable( gg_unit_h010_0088, false )
call SetUnitInvulnerable( gg_unit_h010_0091, false )
call SetUnitInvulnerable( gg_unit_h010_0205, false )
call SetUnitInvulnerable( gg_unit_h010_0206, false )
call SetUnitInvulnerable( gg_unit_h010_0238, false )
call SetUnitInvulnerable( gg_unit_h00O_0084, false )
call SetUnitInvulnerable( gg_unit_h00O_0128, false )
call SetUnitInvulnerable( gg_unit_h00O_0199, false )
call SetUnitInvulnerable( gg_unit_h00O_0198, false )
call SetUnitInvulnerable( gg_unit_h00O_0200, false )
call SetUnitInvulnerable( gg_unit_h00R_0081, false )
call SetUnitInvulnerable( gg_unit_h00R_0082, false )
call SetUnitInvulnerable( gg_unit_h00R_0085, false )
call SetUnitInvulnerable( gg_unit_h00R_0129, false )
call SetUnitInvulnerable( gg_unit_h00R_0197, false )
call SetUnitInvulnerable( gg_unit_h00N_0087, false )
call SetUnitInvulnerable( gg_unit_h00N_0108, false )
call SetUnitInvulnerable( gg_unit_h00Y_0153, false )
call SetUnitInvulnerable( gg_unit_h00Y_0154, false )
call SetUnitInvulnerable( gg_unit_h00Y_0155, false )
call SetUnitInvulnerable( gg_unit_h00Y_0156, false )
call SetUnitInvulnerable( gg_unit_h00O_0103, false )
call SetUnitInvulnerable( gg_unit_h00O_0131, false )
call SetUnitInvulnerable( gg_unit_h00O_0135, false )
call SetUnitInvulnerable( gg_unit_h00O_0136, false )
call SetUnitInvulnerable( gg_unit_H00H_0137, false )
call SetUnitInvulnerable( gg_unit_h002_0078, false )
call SetUnitInvulnerable( gg_unit_h002_0079, false )
call SetUnitInvulnerable( gg_unit_h005_0072, false )
call SetUnitInvulnerable( gg_unit_h005_0073, false )
call SetUnitInvulnerable( gg_unit_h005_0074, false )
call SetUnitInvulnerable( gg_unit_h005_0075, false )
call SetUnitInvulnerable( gg_unit_h005_0076, false )
call SetUnitInvulnerable( gg_unit_h005_0077, false )
call SetUnitInvulnerable( gg_unit_h00T_0066, false )
call SetUnitInvulnerable( gg_unit_h00T_0065, false )
call SetUnitInvulnerable( gg_unit_h00T_0069, false )
call SetUnitInvulnerable( gg_unit_h00T_0068, false )
call SetUnitInvulnerable( gg_unit_ofrt_0008, false )
call SetUnitOwner( gg_unit_otto_0408, Player(1), true )
call SetUnitOwner( gg_unit_obea_0424, Player(1), true )
call SetUnitOwner( gg_unit_o009_0013, Player(1), true )
call SetUnitOwner( gg_unit_osld_0004, Player(1), true )
call SetUnitOwner( gg_unit_obea_0015, Player(1), true )
call SetUnitOwner( gg_unit_o009_0014, Player(1), true )
call DisableTrigger( GetTriggeringTrigger() )
endfunction
//===========================================================================
function InitTrig_Main_Quest_2_skipped takes nothing returns nothing
set gg_trg_Main_Quest_2_skipped = CreateTrigger( )
call TriggerRegisterPlayerEventEndCinematic( gg_trg_Main_Quest_2_skipped, Player(1) )
call TriggerAddCondition( gg_trg_Main_Quest_2_skipped, Condition( function Trig_Main_Quest_2_skipped_Conditions ) )
call TriggerAddAction( gg_trg_Main_Quest_2_skipped, function Trig_Main_Quest_2_skipped_Actions )
endfunction
function Trig_Main_Quest_2_Compled_Func002001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func004001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func006001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func008001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func010001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func012001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func014001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func016001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func018001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func020001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func022001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func024001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func026001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func028001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func030001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func032001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func034001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func036001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func038001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func040001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func042001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func044001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func046001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func048001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func050001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func052001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func054001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func056001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func058001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func060001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func062001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func064001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func066001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func068001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func070001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func072001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func074001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func076001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func078001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func080001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func083001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func085001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func087001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func089001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func091001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func093001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func095001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func097001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func099001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func101001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func103001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func105001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func107001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func109001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func111001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func113001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func115001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func117001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func119001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func121001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func123001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func125001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func127001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func129001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func131001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func133001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func135001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func137001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func139001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func141001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func143001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func145001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func147001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func149001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func151001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func153001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func155001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func157001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func159001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func161001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func163001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func165001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func167001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func169001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func171001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func173001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func175001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func177001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func179001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func181001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func183001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func185001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func187001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func189001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func191001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func193001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func195001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func197001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func199001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func201001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func203001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func205001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func207001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func209001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func211001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func213001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func215001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func217001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func219001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Func221001 takes nothing returns boolean
return ( udg_MainQuest2CompletSkipped == false )
endfunction
function Trig_Main_Quest_2_Compled_Actions takes nothing returns nothing
set udg_MainQuest2CompletSkipped = true
if ( Trig_Main_Quest_2_Compled_Func002001() ) then
return
else
call DoNothing( )
endif
call DisableTrigger( gg_trg_Enter_the_City )
if ( Trig_Main_Quest_2_Compled_Func004001() ) then
return
else
call DoNothing( )
endif
call DisableTrigger( gg_trg_Buerger_Dies )
if ( Trig_Main_Quest_2_Compled_Func006001() ) then
return
else
call DoNothing( )
endif
call DisableTrigger( gg_trg_Main_Quest_2_fehlgeschlagen )
if ( Trig_Main_Quest_2_Compled_Func008001() ) then
return
else
call DoNothing( )
endif
call DisableTrigger( gg_trg_Admiral_Quest_entdecken )
if ( Trig_Main_Quest_2_Compled_Func010001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h008_0114, true )
if ( Trig_Main_Quest_2_Compled_Func012001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h009_0104, true )
if ( Trig_Main_Quest_2_Compled_Func014001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h009_0133, true )
if ( Trig_Main_Quest_2_Compled_Func016001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h00A_0105, true )
if ( Trig_Main_Quest_2_Compled_Func018001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h00A_0134, true )
if ( Trig_Main_Quest_2_Compled_Func020001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h012_0099, true )
if ( Trig_Main_Quest_2_Compled_Func022001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h012_0100, true )
if ( Trig_Main_Quest_2_Compled_Func024001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h012_0101, true )
if ( Trig_Main_Quest_2_Compled_Func026001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h012_0119, true )
if ( Trig_Main_Quest_2_Compled_Func028001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h004_0064, true )
if ( Trig_Main_Quest_2_Compled_Func030001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h002_0078, true )
if ( Trig_Main_Quest_2_Compled_Func032001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h002_0079, true )
if ( Trig_Main_Quest_2_Compled_Func034001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h002_0120, true )
if ( Trig_Main_Quest_2_Compled_Func036001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h002_0122, true )
if ( Trig_Main_Quest_2_Compled_Func038001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h003_0106, true )
if ( Trig_Main_Quest_2_Compled_Func040001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h003_0070, true )
if ( Trig_Main_Quest_2_Compled_Func042001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h003_0071, true )
if ( Trig_Main_Quest_2_Compled_Func044001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h003_0116, true )
if ( Trig_Main_Quest_2_Compled_Func046001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h003_0117, true )
if ( Trig_Main_Quest_2_Compled_Func048001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_h003_0107, true )
if ( Trig_Main_Quest_2_Compled_Func050001() ) then
return
else
call DoNothing( )
endif
call KillUnit( udg_CaptainFocaUnit )
if ( Trig_Main_Quest_2_Compled_Func052001() ) then
return
else
call DoNothing( )
endif
call SetUnitOwner( gg_unit_Orex_0002, Player(0), false )
if ( Trig_Main_Quest_2_Compled_Func054001() ) then
return
else
call DoNothing( )
endif
call SetUnitOwner( gg_unit_Orkn_0060, Player(0), false )
if ( Trig_Main_Quest_2_Compled_Func056001() ) then
return
else
call DoNothing( )
endif
call SetUnitOwner( gg_unit_Nsjs_0061, Player(0), false )
if ( Trig_Main_Quest_2_Compled_Func058001() ) then
return
else
call DoNothing( )
endif
call SetUnitOwner( gg_unit_Ocb2_0062, Player(0), false )
if ( Trig_Main_Quest_2_Compled_Func060001() ) then
return
else
call DoNothing( )
endif
call RemoveDestructable( gg_dest_B003_1651 )
if ( Trig_Main_Quest_2_Compled_Func062001() ) then
return
else
call DoNothing( )
endif
call RemoveDestructable( gg_dest_B003_1652 )
if ( Trig_Main_Quest_2_Compled_Func064001() ) then
return
else
call DoNothing( )
endif
call RemoveDestructable( gg_dest_B003_1653 )
if ( Trig_Main_Quest_2_Compled_Func066001() ) then
return
else
call DoNothing( )
endif
call RemoveDestructable( gg_dest_B003_1654 )
if ( Trig_Main_Quest_2_Compled_Func068001() ) then
return
else
call DoNothing( )
endif
call RemoveDestructable( gg_dest_YTpc_1655 )
if ( Trig_Main_Quest_2_Compled_Func070001() ) then
return
else
call DoNothing( )
endif
call RemoveDestructable( gg_dest_YTpc_1656 )
if ( Trig_Main_Quest_2_Compled_Func072001() ) then
return
else
call DoNothing( )
endif
call RemoveDestructable( gg_dest_YTpb_1657 )
if ( Trig_Main_Quest_2_Compled_Func074001() ) then
return
else
call DoNothing( )
endif
call StopMusicBJ( false )
if ( Trig_Main_Quest_2_Compled_Func076001() ) then
return
else
call DoNothing( )
endif
call PlayMusicBJ( gg_snd_101___Dance_Me_to_the_End_of_Love )
if ( Trig_Main_Quest_2_Compled_Func078001() ) then
return
else
call DoNothing( )
endif
call QuestSetCompletedBJ( udg_MainQuest2, true )
if ( Trig_Main_Quest_2_Compled_Func080001() ) then
return
else
call DoNothing( )
endif
call QuestItemSetCompletedBJ( udg_MainQuest2Req1, true )
if ( Trig_Main_Quest_2_Compled_Func083001() ) then
return
else
call DoNothing( )
endif
call QuestMessageBJ( GetPlayersAll(), bj_QUESTMESSAGE_COMPLETED, "TRIGSTR_1347" )
if ( Trig_Main_Quest_2_Compled_Func085001() ) then
return
else
call DoNothing( )
endif
call TriggerSleepAction( 8.00 )
if ( Trig_Main_Quest_2_Compled_Func087001() ) then
return
else
call DoNothing( )
endif
call ClearTextMessagesBJ( GetPlayersAll() )
if ( Trig_Main_Quest_2_Compled_Func089001() ) then
return
else
call DoNothing( )
endif
call CinematicFadeBJ( bj_CINEFADETYPE_FADEOUT, 2.50, "ReplaceableTextures\\CameraMasks\\Black_mask.blp", 0, 0, 0, 0 )
if ( Trig_Main_Quest_2_Compled_Func091001() ) then
return
else
call DoNothing( )
endif
call TriggerSleepAction( 3.00 )
if ( Trig_Main_Quest_2_Compled_Func093001() ) then
return
else
call DoNothing( )
endif
call CinematicModeBJ( true, bj_FORCE_PLAYER[1] )
if ( Trig_Main_Quest_2_Compled_Func095001() ) then
return
else
call DoNothing( )
endif
call CameraSetupApplyForPlayer( true, gg_cam_CompletedCam2, Player(1), 0 )
if ( Trig_Main_Quest_2_Compled_Func097001() ) then
return
else
call DoNothing( )
endif
call TriggerSleepAction( 3.00 )
if ( Trig_Main_Quest_2_Compled_Func099001() ) then
return
else
call DoNothing( )
endif
call CinematicFadeBJ( bj_CINEFADETYPE_FADEIN, 2.50, "ReplaceableTextures\\CameraMasks\\Black_mask.blp", 0, 0, 0, 0 )
if ( Trig_Main_Quest_2_Compled_Func101001() ) then
return
else
call DoNothing( )
endif
call TriggerSleepAction( 1.00 )
if ( Trig_Main_Quest_2_Compled_Func103001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1348", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1349", bj_TIMETYPE_SET, 4.00, true )
if ( Trig_Main_Quest_2_Compled_Func105001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1350", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1351", bj_TIMETYPE_SET, 4.00, true )
if ( Trig_Main_Quest_2_Compled_Func107001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1352", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1353", bj_TIMETYPE_SET, 8.00, true )
if ( Trig_Main_Quest_2_Compled_Func109001() ) then
return
else
call DoNothing( )
endif
call CameraSetupApplyForPlayer( true, gg_cam_CompletedCam6, Player(1), 0 )
if ( Trig_Main_Quest_2_Compled_Func111001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1354", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1355", bj_TIMETYPE_SET, 12.00, true )
if ( Trig_Main_Quest_2_Compled_Func113001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1356", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1357", bj_TIMETYPE_SET, 8.00, true )
if ( Trig_Main_Quest_2_Compled_Func115001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1358", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1359", bj_TIMETYPE_SET, 8.00, true )
if ( Trig_Main_Quest_2_Compled_Func117001() ) then
return
else
call DoNothing( )
endif
call CameraSetupApplyForPlayer( true, gg_cam_CompletedCam3, Player(1), 0 )
if ( Trig_Main_Quest_2_Compled_Func119001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1360", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1361", bj_TIMETYPE_SET, 4.00, true )
if ( Trig_Main_Quest_2_Compled_Func121001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1362", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1363", bj_TIMETYPE_SET, 6.00, true )
if ( Trig_Main_Quest_2_Compled_Func123001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1364", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1365", bj_TIMETYPE_SET, 4.00, true )
if ( Trig_Main_Quest_2_Compled_Func125001() ) then
return
else
call DoNothing( )
endif
call CameraSetupApplyForPlayer( true, gg_cam_CompletedCam7, Player(1), 0 )
if ( Trig_Main_Quest_2_Compled_Func127001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1366", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1367", bj_TIMETYPE_SET, 6.00, true )
if ( Trig_Main_Quest_2_Compled_Func129001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1368", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1369", bj_TIMETYPE_SET, 6.00, true )
if ( Trig_Main_Quest_2_Compled_Func131001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1370", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1371", bj_TIMETYPE_SET, 6.00, true )
if ( Trig_Main_Quest_2_Compled_Func133001() ) then
return
else
call DoNothing( )
endif
call CameraSetupApplyForPlayer( true, gg_cam_CompletedCam5, Player(1), 0 )
if ( Trig_Main_Quest_2_Compled_Func135001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1372", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1373", bj_TIMETYPE_SET, 6.00, true )
if ( Trig_Main_Quest_2_Compled_Func137001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1374", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1375", bj_TIMETYPE_SET, 6.00, true )
if ( Trig_Main_Quest_2_Compled_Func139001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1376", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1377", bj_TIMETYPE_SET, 6.00, true )
if ( Trig_Main_Quest_2_Compled_Func141001() ) then
return
else
call DoNothing( )
endif
call CameraSetupApplyForPlayer( true, gg_cam_CompletedCam9, Player(1), 0 )
if ( Trig_Main_Quest_2_Compled_Func143001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1378", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1379", bj_TIMETYPE_SET, 6.00, true )
if ( Trig_Main_Quest_2_Compled_Func145001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1380", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1381", bj_TIMETYPE_SET, 6.00, true )
if ( Trig_Main_Quest_2_Compled_Func147001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1382", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1383", bj_TIMETYPE_SET, 6.00, true )
if ( Trig_Main_Quest_2_Compled_Func149001() ) then
return
else
call DoNothing( )
endif
call CameraSetupApplyForPlayer( true, gg_cam_CompletedCam4, Player(1), 0 )
if ( Trig_Main_Quest_2_Compled_Func151001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1384", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1385", bj_TIMETYPE_SET, 6.00, true )
if ( Trig_Main_Quest_2_Compled_Func153001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1386", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1387", bj_TIMETYPE_SET, 6.00, true )
if ( Trig_Main_Quest_2_Compled_Func155001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1388", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1389", bj_TIMETYPE_SET, 6.00, true )
if ( Trig_Main_Quest_2_Compled_Func157001() ) then
return
else
call DoNothing( )
endif
call CameraSetupApplyForPlayer( true, gg_cam_CompletedCam6, Player(1), 0 )
if ( Trig_Main_Quest_2_Compled_Func159001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1390", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1391", bj_TIMETYPE_SET, 6.00, true )
if ( Trig_Main_Quest_2_Compled_Func161001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1392", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1393", bj_TIMETYPE_SET, 6.00, true )
if ( Trig_Main_Quest_2_Compled_Func163001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1394", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1395", bj_TIMETYPE_SET, 6.00, true )
if ( Trig_Main_Quest_2_Compled_Func165001() ) then
return
else
call DoNothing( )
endif
call CameraSetupApplyForPlayer( true, gg_cam_CompletedCam7, Player(1), 0 )
if ( Trig_Main_Quest_2_Compled_Func167001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1396", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1397", bj_TIMETYPE_SET, 6.00, true )
if ( Trig_Main_Quest_2_Compled_Func169001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1398", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1399", bj_TIMETYPE_SET, 6.00, true )
if ( Trig_Main_Quest_2_Compled_Func171001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1400", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1401", bj_TIMETYPE_SET, 6.00, true )
if ( Trig_Main_Quest_2_Compled_Func173001() ) then
return
else
call DoNothing( )
endif
call CameraSetupApplyForPlayer( true, gg_cam_CompletedCam5, Player(1), 0 )
if ( Trig_Main_Quest_2_Compled_Func175001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1402", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1403", bj_TIMETYPE_SET, 6.00, true )
if ( Trig_Main_Quest_2_Compled_Func177001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1404", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1405", bj_TIMETYPE_SET, 6.00, true )
if ( Trig_Main_Quest_2_Compled_Func179001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1406", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1407", bj_TIMETYPE_SET, 5.00, true )
if ( Trig_Main_Quest_2_Compled_Func181001() ) then
return
else
call DoNothing( )
endif
call CameraSetupApplyForPlayer( true, gg_cam_CompletedCam3, Player(1), 0 )
if ( Trig_Main_Quest_2_Compled_Func183001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1408", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1409", bj_TIMETYPE_SET, 6.00, true )
if ( Trig_Main_Quest_2_Compled_Func185001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1410", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1411", bj_TIMETYPE_SET, 6.00, true )
if ( Trig_Main_Quest_2_Compled_Func187001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1412", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1413", bj_TIMETYPE_SET, 6.00, true )
if ( Trig_Main_Quest_2_Compled_Func189001() ) then
return
else
call DoNothing( )
endif
call CameraSetupApplyForPlayer( true, gg_cam_CompletedCam10, Player(1), 0 )
if ( Trig_Main_Quest_2_Compled_Func191001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1414", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1415", bj_TIMETYPE_SET, 6.00, true )
if ( Trig_Main_Quest_2_Compled_Func193001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1416", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1417", bj_TIMETYPE_SET, 6.00, true )
if ( Trig_Main_Quest_2_Compled_Func195001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1418", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1419", bj_TIMETYPE_SET, 7.00, true )
if ( Trig_Main_Quest_2_Compled_Func197001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1420", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1421", bj_TIMETYPE_SET, 6.00, true )
if ( Trig_Main_Quest_2_Compled_Func199001() ) then
return
else
call DoNothing( )
endif
call CameraSetupApplyForPlayer( true, gg_cam_CompletedCam2, Player(1), 0 )
if ( Trig_Main_Quest_2_Compled_Func201001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1422", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1423", bj_TIMETYPE_SET, 6.00, true )
if ( Trig_Main_Quest_2_Compled_Func203001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1424", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1425", bj_TIMETYPE_SET, 6.00, true )
if ( Trig_Main_Quest_2_Compled_Func205001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1426", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1427", bj_TIMETYPE_SET, 6.00, true )
if ( Trig_Main_Quest_2_Compled_Func207001() ) then
return
else
call DoNothing( )
endif
call CameraSetupApplyForPlayer( true, gg_cam_CompletedCam1, Player(1), 0 )
if ( Trig_Main_Quest_2_Compled_Func209001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1428", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1429", bj_TIMETYPE_SET, 6.00, true )
if ( Trig_Main_Quest_2_Compled_Func211001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(1), 'nsea', "TRIGSTR_1430", GetRectCenter(GetPlayableMapRect()), null, "TRIGSTR_1431", bj_TIMETYPE_SET, 6.00, true )
if ( Trig_Main_Quest_2_Compled_Func213001() ) then
return
else
call DoNothing( )
endif
call TriggerSleepAction( 5.00 )
if ( Trig_Main_Quest_2_Compled_Func215001() ) then
return
else
call DoNothing( )
endif
call CinematicFadeBJ( bj_CINEFADETYPE_FADEOUT, 3.50, "ReplaceableTextures\\CameraMasks\\Black_mask.blp", 0, 0, 0, 0 )
if ( Trig_Main_Quest_2_Compled_Func217001() ) then
return
else
call DoNothing( )
endif
call TriggerSleepAction( 6.00 )
if ( Trig_Main_Quest_2_Compled_Func219001() ) then
return
else
call DoNothing( )
endif
call CustomVictoryBJ( Player(1), true, true )
if ( Trig_Main_Quest_2_Compled_Func221001() ) then
return
else
call DoNothing( )
endif
call DisableTrigger( gg_trg_Main_Quest_2_Compled_skipped )
endfunction
//===========================================================================
function InitTrig_Main_Quest_2_Compled takes nothing returns nothing
set gg_trg_Main_Quest_2_Compled = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Main_Quest_2_Compled, gg_unit_h000_0093, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Main_Quest_2_Compled, function Trig_Main_Quest_2_Compled_Actions )
endfunction
function Trig_Main_Quest_2_Compled_skipped_Conditions takes nothing returns boolean
if ( not ( udg_MainQuest2CompletSkipped == true ) ) then
return false
endif
return true
endfunction
function Trig_Main_Quest_2_Compled_skipped_Actions takes nothing returns nothing
set udg_MainQuest2CompletSkipped = false
call CinematicFadeBJ( bj_CINEFADETYPE_FADEOUT, 1.00, "ReplaceableTextures\\CameraMasks\\Black_mask.blp", 0, 0, 0, 0 )
call QuestSetCompletedBJ( udg_MainQuest2, true )
call QuestItemSetCompletedBJ( udg_MainQuest2Req1, true )
call CustomVictoryBJ( Player(1), true, true )
call DisableTrigger( GetTriggeringTrigger() )
endfunction
//===========================================================================
function InitTrig_Main_Quest_2_Compled_skipped takes nothing returns nothing
set gg_trg_Main_Quest_2_Compled_skipped = CreateTrigger( )
call TriggerRegisterPlayerEventEndCinematic( gg_trg_Main_Quest_2_Compled_skipped, Player(1) )
call TriggerAddCondition( gg_trg_Main_Quest_2_Compled_skipped, Condition( function Trig_Main_Quest_2_Compled_skipped_Conditions ) )
call TriggerAddAction( gg_trg_Main_Quest_2_Compled_skipped, function Trig_Main_Quest_2_Compled_skipped_Actions )
endfunction
function Trig_Main_Quest_2_fehlgeschlagen_Func003001 takes nothing returns boolean
return ( udg_DefeatSkipped == false )
endfunction
function Trig_Main_Quest_2_fehlgeschlagen_Func005001 takes nothing returns boolean
return ( udg_DefeatSkipped == false )
endfunction
function Trig_Main_Quest_2_fehlgeschlagen_Func007001 takes nothing returns boolean
return ( udg_DefeatSkipped == false )
endfunction
function Trig_Main_Quest_2_fehlgeschlagen_Func009001 takes nothing returns boolean
return ( udg_DefeatSkipped == false )
endfunction
function Trig_Main_Quest_2_fehlgeschlagen_Func011001 takes nothing returns boolean
return ( udg_DefeatSkipped == false )
endfunction
function Trig_Main_Quest_2_fehlgeschlagen_Func013001 takes nothing returns boolean
return ( udg_DefeatSkipped == false )
endfunction
function Trig_Main_Quest_2_fehlgeschlagen_Func015001 takes nothing returns boolean
return ( udg_DefeatSkipped == false )
endfunction
function Trig_Main_Quest_2_fehlgeschlagen_Func017001 takes nothing returns boolean
return ( udg_DefeatSkipped == false )
endfunction
function Trig_Main_Quest_2_fehlgeschlagen_Func019001 takes nothing returns boolean
return ( udg_DefeatSkipped == false )
endfunction
function Trig_Main_Quest_2_fehlgeschlagen_Func021001 takes nothing returns boolean
return ( udg_DefeatSkipped == false )
endfunction
function Trig_Main_Quest_2_fehlgeschlagen_Func023001 takes nothing returns boolean
return ( udg_DefeatSkipped == false )
endfunction
function Trig_Main_Quest_2_fehlgeschlagen_Func025001 takes nothing returns boolean
return ( udg_DefeatSkipped == false )
endfunction
function Trig_Main_Quest_2_fehlgeschlagen_Func027001 takes nothing returns boolean
return ( udg_DefeatSkipped == false )
endfunction
function Trig_Main_Quest_2_fehlgeschlagen_Func029001 takes nothing returns boolean
return ( udg_DefeatSkipped == false )
endfunction
function Trig_Main_Quest_2_fehlgeschlagen_Func031001 takes nothing returns boolean
return ( udg_DefeatSkipped == false )
endfunction
function Trig_Main_Quest_2_fehlgeschlagen_Func033001 takes nothing returns boolean
return ( udg_DefeatSkipped == false )
endfunction
function Trig_Main_Quest_2_fehlgeschlagen_Func035001 takes nothing returns boolean
return ( udg_DefeatSkipped == false )
endfunction
function Trig_Main_Quest_2_fehlgeschlagen_Func037001 takes nothing returns boolean
return ( udg_DefeatSkipped == false )
endfunction
function Trig_Main_Quest_2_fehlgeschlagen_Func039001 takes nothing returns boolean
return ( udg_DefeatSkipped == false )
endfunction
function Trig_Main_Quest_2_fehlgeschlagen_Func041001 takes nothing returns boolean
return ( udg_DefeatSkipped == false )
endfunction
function Trig_Main_Quest_2_fehlgeschlagen_Func043001 takes nothing returns boolean
return ( udg_DefeatSkipped == false )
endfunction
function Trig_Main_Quest_2_fehlgeschlagen_Func045001 takes nothing returns boolean
return ( udg_DefeatSkipped == false )
endfunction
function Trig_Main_Quest_2_fehlgeschlagen_Func047001 takes nothing returns boolean
return ( udg_DefeatSkipped == false )
endfunction
function Trig_Main_Quest_2_fehlgeschlagen_Func049001 takes nothing returns boolean
return ( udg_DefeatSkipped == false )
endfunction
function Trig_Main_Quest_2_fehlgeschlagen_Func051001 takes nothing returns boolean
return ( udg_DefeatSkipped == false )
endfunction
function Trig_Main_Quest_2_fehlgeschlagen_Func053001 takes nothing returns boolean
return ( udg_DefeatSkipped == false )
endfunction
function Trig_Main_Quest_2_fehlgeschlagen_Func055001 takes nothing returns boolean
return ( udg_DefeatSkipped == false )
endfunction
function Trig_Main_Quest_2_fehlgeschlagen_Func057001 takes nothing returns boolean
return ( udg_DefeatSkipped == false )
endfunction
function Trig_Main_Quest_2_fehlgeschlagen_Func059001 takes nothing returns boolean
return ( udg_DefeatSkipped == false )
endfunction
function Trig_Main_Quest_2_fehlgeschlagen_Func061001 takes nothing returns boolean
return ( udg_DefeatSkipped == false )
endfunction
function Trig_Main_Quest_2_fehlgeschlagen_Func063001 takes nothing returns boolean
return ( udg_DefeatSkipped == false )
endfunction
function Trig_Main_Quest_2_fehlgeschlagen_Func065001 takes nothing returns boolean
return ( udg_DefeatSkipped == false )
endfunction
function Trig_Main_Quest_2_fehlgeschlagen_Func068001 takes nothing returns boolean
return ( udg_DefeatSkipped == false )
endfunction
function Trig_Main_Quest_2_fehlgeschlagen_Func070001 takes nothing returns boolean
return ( udg_DefeatSkipped == false )
endfunction
function Trig_Main_Quest_2_fehlgeschlagen_Func072001 takes nothing returns boolean
return ( udg_DefeatSkipped == false )
endfunction
function Trig_Main_Quest_2_fehlgeschlagen_Func074001 takes nothing returns boolean
return ( udg_DefeatSkipped == false )
endfunction
function Trig_Main_Quest_2_fehlgeschlagen_Actions takes nothing returns nothing
set udg_DefeatSkipped = true
if ( Trig_Main_Quest_2_fehlgeschlagen_Func003001() ) then
return
else
call DoNothing( )
endif
call DisableTrigger( gg_trg_Enter_the_City )
if ( Trig_Main_Quest_2_fehlgeschlagen_Func005001() ) then
return
else
call DoNothing( )
endif
call DisableTrigger( gg_trg_Buerger_Dies )
if ( Trig_Main_Quest_2_fehlgeschlagen_Func007001() ) then
return
else
call DoNothing( )
endif
call DisableTrigger( gg_trg_Main_Quest_2_Compled )
if ( Trig_Main_Quest_2_fehlgeschlagen_Func009001() ) then
return
else
call DoNothing( )
endif
call DisableTrigger( gg_trg_Admiral_Quest_entdecken )
if ( Trig_Main_Quest_2_fehlgeschlagen_Func011001() ) then
return
else
call DoNothing( )
endif
call KillUnit( udg_CaptainFocaUnit )
if ( Trig_Main_Quest_2_fehlgeschlagen_Func013001() ) then
return
else
call DoNothing( )
endif
call StopMusicBJ( false )
if ( Trig_Main_Quest_2_fehlgeschlagen_Func015001() ) then
return
else
call DoNothing( )
endif
call PlayMusicBJ( gg_snd_06___Nara__Theme_to_Cold_Case_u )
if ( Trig_Main_Quest_2_fehlgeschlagen_Func017001() ) then
return
else
call DoNothing( )
endif
call SetUnitOwner( gg_unit_Orex_0002, Player(0), false )
if ( Trig_Main_Quest_2_fehlgeschlagen_Func019001() ) then
return
else
call DoNothing( )
endif
call SetUnitOwner( gg_unit_Orkn_0060, Player(0), false )
if ( Trig_Main_Quest_2_fehlgeschlagen_Func021001() ) then
return
else
call DoNothing( )
endif
call SetUnitOwner( gg_unit_Nsjs_0061, Player(0), false )
if ( Trig_Main_Quest_2_fehlgeschlagen_Func023001() ) then
return
else
call DoNothing( )
endif
call SetUnitOwner( gg_unit_Ocb2_0062, Player(0), false )
if ( Trig_Main_Quest_2_fehlgeschlagen_Func025001() ) then
return
else
call DoNothing( )
endif
call KillUnit( gg_unit_o009_0013 )
if ( Trig_Main_Quest_2_fehlgeschlagen_Func027001() ) then
return
else
call DoNothing( )
endif
call KillUnit( gg_unit_o009_0014 )
if ( Trig_Main_Quest_2_fehlgeschlagen_Func029001() ) then
return
else
call DoNothing( )
endif
call KillUnit( gg_unit_obea_0015 )
if ( Trig_Main_Quest_2_fehlgeschlagen_Func031001() ) then
return
else
call DoNothing( )
endif
call KillUnit( gg_unit_obea_0424 )
if ( Trig_Main_Quest_2_fehlgeschlagen_Func033001() ) then
return
else
call DoNothing( )
endif
call KillUnit( gg_unit_otto_0408 )
if ( Trig_Main_Quest_2_fehlgeschlagen_Func035001() ) then
return
else
call DoNothing( )
endif
call KillUnit( gg_unit_osld_0004 )
if ( Trig_Main_Quest_2_fehlgeschlagen_Func037001() ) then
return
else
call DoNothing( )
endif
call QuestSetFailedBJ( udg_MainQuest2, true )
if ( Trig_Main_Quest_2_fehlgeschlagen_Func039001() ) then
return
else
call DoNothing( )
endif
call QuestItemSetCompletedBJ( udg_MainQuest2Req1, false )
if ( Trig_Main_Quest_2_fehlgeschlagen_Func041001() ) then
return
else
call DoNothing( )
endif
call QuestMessageBJ( GetPlayersAll(), bj_QUESTMESSAGE_FAILED, "TRIGSTR_1006" )
if ( Trig_Main_Quest_2_fehlgeschlagen_Func043001() ) then
return
else
call DoNothing( )
endif
call TriggerSleepAction( 10.00 )
if ( Trig_Main_Quest_2_fehlgeschlagen_Func045001() ) then
return
else
call DoNothing( )
endif
call ClearTextMessagesBJ( GetPlayersAll() )
if ( Trig_Main_Quest_2_fehlgeschlagen_Func047001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(2), 'H007', "TRIGSTR_1007", GetRectCenter(GetPlayableMapRect()), gg_snd_Duke003, "TRIGSTR_1008", bj_TIMETYPE_ADD, 0.00, false )
if ( Trig_Main_Quest_2_fehlgeschlagen_Func049001() ) then
return
else
call DoNothing( )
endif
call WaitForSoundBJ( gg_snd_Duke003, 0 )
if ( Trig_Main_Quest_2_fehlgeschlagen_Func051001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(2), 'H007', "TRIGSTR_1009", GetRectCenter(GetPlayableMapRect()), gg_snd_Duke004, "TRIGSTR_1010", bj_TIMETYPE_ADD, 0.00, false )
if ( Trig_Main_Quest_2_fehlgeschlagen_Func053001() ) then
return
else
call DoNothing( )
endif
call WaitForSoundBJ( gg_snd_Duke004, 0 )
if ( Trig_Main_Quest_2_fehlgeschlagen_Func055001() ) then
return
else
call DoNothing( )
endif
call TriggerSleepAction( 4.00 )
if ( Trig_Main_Quest_2_fehlgeschlagen_Func057001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(2), 'H00S', "TRIGSTR_1011", GetRectCenter(GetPlayableMapRect()), gg_snd_Obergendarmerist010, "TRIGSTR_1012", bj_TIMETYPE_ADD, 0.00, false )
if ( Trig_Main_Quest_2_fehlgeschlagen_Func059001() ) then
return
else
call DoNothing( )
endif
call WaitForSoundBJ( gg_snd_Obergendarmerist010, 0 )
if ( Trig_Main_Quest_2_fehlgeschlagen_Func061001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(2), 'H00S', "TRIGSTR_1013", GetRectCenter(GetPlayableMapRect()), gg_snd_Obergendarmerist011, "TRIGSTR_1014", bj_TIMETYPE_ADD, 0.00, false )
if ( Trig_Main_Quest_2_fehlgeschlagen_Func063001() ) then
return
else
call DoNothing( )
endif
call WaitForSoundBJ( gg_snd_Obergendarmerist011, 0 )
if ( Trig_Main_Quest_2_fehlgeschlagen_Func065001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(2), 'H00S', "TRIGSTR_1015", GetRectCenter(GetPlayableMapRect()), gg_snd_Obergendarmerist012, "TRIGSTR_1016", bj_TIMETYPE_ADD, 0.00, false )
call WaitForSoundBJ( gg_snd_Obergendarmerist012, 0 )
if ( Trig_Main_Quest_2_fehlgeschlagen_Func068001() ) then
return
else
call DoNothing( )
endif
call TriggerSleepAction( 30.00 )
if ( Trig_Main_Quest_2_fehlgeschlagen_Func070001() ) then
return
else
call DoNothing( )
endif
call CinematicFadeBJ( bj_CINEFADETYPE_FADEOUT, 7.00, "ReplaceableTextures\\CameraMasks\\Black_mask.blp", 0, 0, 0, 0 )
if ( Trig_Main_Quest_2_fehlgeschlagen_Func072001() ) then
return
else
call DoNothing( )
endif
call CustomDefeatBJ( Player(1), "TRIGSTR_093" )
if ( Trig_Main_Quest_2_fehlgeschlagen_Func074001() ) then
return
else
call DoNothing( )
endif
call DisableTrigger( gg_trg_fehlgeschlagen_skipped )
endfunction
//===========================================================================
function InitTrig_Main_Quest_2_fehlgeschlagen takes nothing returns nothing
set gg_trg_Main_Quest_2_fehlgeschlagen = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Main_Quest_2_fehlgeschlagen, gg_unit_ofrt_0008, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Main_Quest_2_fehlgeschlagen, function Trig_Main_Quest_2_fehlgeschlagen_Actions )
endfunction
function Trig_fehlgeschlagen_skipped_Conditions takes nothing returns boolean
if ( not ( udg_DefeatSkipped == true ) ) then
return false
endif
return true
endfunction
function Trig_fehlgeschlagen_skipped_Actions takes nothing returns nothing
set udg_DefeatSkipped = false
call CinematicFadeBJ( bj_CINEFADETYPE_FADEOUT, 1.00, "ReplaceableTextures\\CameraMasks\\Black_mask.blp", 0, 0, 0, 0 )
call CustomDefeatBJ( Player(1), "TRIGSTR_901" )
endfunction
//===========================================================================
function InitTrig_fehlgeschlagen_skipped takes nothing returns nothing
set gg_trg_fehlgeschlagen_skipped = CreateTrigger( )
call TriggerRegisterPlayerEventEndCinematic( gg_trg_fehlgeschlagen_skipped, Player(1) )
call TriggerAddCondition( gg_trg_fehlgeschlagen_skipped, Condition( function Trig_fehlgeschlagen_skipped_Conditions ) )
call TriggerAddAction( gg_trg_fehlgeschlagen_skipped, function Trig_fehlgeschlagen_skipped_Actions )
endfunction
function Trig_Fortress_death_Actions takes nothing returns nothing
call PlaySoundAtPointBJ( gg_snd_SteamTankDeath1, 100, GetRectCenter(gg_rct_fortress_death_place), 0 )
call TriggerSleepAction( 0.01 )
call PlaySoundAtPointBJ( gg_snd_BuildingDeathLargeHuman, 100, GetRectCenter(gg_rct_fortress_death_place), 0 )
call TriggerSleepAction( 0.01 )
call PlaySoundAtPointBJ( gg_snd_SteamTankDeath1, 100, GetRectCenter(gg_rct_fortress_death_place), 0 )
endfunction
//===========================================================================
function InitTrig_Fortress_death takes nothing returns nothing
set gg_trg_Fortress_death = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Fortress_death, gg_unit_ofrt_0008, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Fortress_death, function Trig_Fortress_death_Actions )
endfunction
function Trig_WatchTower_death_Actions takes nothing returns nothing
call KillUnit( gg_unit_h00P_0094 )
call KillUnit( gg_unit_h00P_0096 )
call KillUnit( gg_unit_h00P_0095 )
call KillUnit( gg_unit_h00P_0098 )
call KillUnit( gg_unit_h00P_0097 )
endfunction
//===========================================================================
function InitTrig_WatchTower_death takes nothing returns nothing
set gg_trg_WatchTower_death = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_WatchTower_death, gg_unit_h000_0093, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_WatchTower_death, function Trig_WatchTower_death_Actions )
endfunction
function Trig_Find_Aluni_Hideout_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(GetTriggerUnit()) == Player(1) ) ) then
return false
endif
return true
endfunction
function Trig_Find_Aluni_Hideout_Func005001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func007001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func009001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func011001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func013001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func015001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func017001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func019001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func021001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func023001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func025001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func027001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func029001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func031001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func033001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func035001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func037001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func039001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func041001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func043001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func045001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func047001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func049001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func051001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func053001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func055001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func057001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func059001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func061001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func063001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func065001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func067001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func069001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func071001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func073001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func075001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func077001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func079001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func081001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func083001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func085001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func087001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func089001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func091001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func093001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func095001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func097001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func099001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Func101001 takes nothing returns boolean
return ( udg_AluniQuestSkipped == false )
endfunction
function Trig_Find_Aluni_Hideout_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
set udg_AluniQuestSkipped = true
if ( Trig_Find_Aluni_Hideout_Func005001() ) then
return
else
call DoNothing( )
endif
call DisableTrigger( gg_trg_Buerger_Dies )
if ( Trig_Find_Aluni_Hideout_Func007001() ) then
return
else
call DoNothing( )
endif
call SetPlayerAllianceStateBJ( Player(1), Player(7), bj_ALLIANCE_UNALLIED )
if ( Trig_Find_Aluni_Hideout_Func009001() ) then
return
else
call DoNothing( )
endif
call SetPlayerAllianceStateBJ( Player(7), Player(1), bj_ALLIANCE_UNALLIED )
if ( Trig_Find_Aluni_Hideout_Func011001() ) then
return
else
call DoNothing( )
endif
call QuestMessageBJ( GetPlayersAll(), bj_QUESTMESSAGE_SECRET, "TRIGSTR_1046" )
if ( Trig_Find_Aluni_Hideout_Func013001() ) then
return
else
call DoNothing( )
endif
call ClearTextMessagesBJ( GetPlayersAll() )
if ( Trig_Find_Aluni_Hideout_Func015001() ) then
return
else
call DoNothing( )
endif
call TriggerSleepAction( 1.00 )
if ( Trig_Find_Aluni_Hideout_Func017001() ) then
return
else
call DoNothing( )
endif
call CinematicFadeBJ( bj_CINEFADETYPE_FADEOUT, 3.00, "ReplaceableTextures\\CameraMasks\\Black_mask.blp", 0, 0, 0, 0 )
if ( Trig_Find_Aluni_Hideout_Func019001() ) then
return
else
call DoNothing( )
endif
call TriggerSleepAction( 4.00 )
if ( Trig_Find_Aluni_Hideout_Func021001() ) then
return
else
call DoNothing( )
endif
call CinematicModeBJ( true, bj_FORCE_PLAYER[1] )
if ( Trig_Find_Aluni_Hideout_Func023001() ) then
return
else
call DoNothing( )
endif
call CameraSetupApplyForPlayer( true, gg_cam_AKam01, Player(1), 0 )
if ( Trig_Find_Aluni_Hideout_Func025001() ) then
return
else
call DoNothing( )
endif
call ClearSelectionForPlayer( Player(1) )
if ( Trig_Find_Aluni_Hideout_Func027001() ) then
return
else
call DoNothing( )
endif
call SetUnitPositionLoc( gg_unit_Orex_0002, GetRectCenter(gg_rct_move_rexxar) )
if ( Trig_Find_Aluni_Hideout_Func029001() ) then
return
else
call DoNothing( )
endif
call TriggerSleepAction( 1.00 )
if ( Trig_Find_Aluni_Hideout_Func031001() ) then
return
else
call DoNothing( )
endif
call CinematicFadeBJ( bj_CINEFADETYPE_FADEIN, 3.00, "ReplaceableTextures\\CameraMasks\\Black_mask.blp", 0, 0, 0, 0 )
if ( Trig_Find_Aluni_Hideout_Func033001() ) then
return
else
call DoNothing( )
endif
call TriggerSleepAction( 0.01 )
if ( Trig_Find_Aluni_Hideout_Func035001() ) then
return
else
call DoNothing( )
endif
call IssuePointOrderLocBJ( gg_unit_Orex_0002, "move", GetRectCenter(gg_rct_order_rexxar_1) )
if ( Trig_Find_Aluni_Hideout_Func037001() ) then
return
else
call DoNothing( )
endif
call TriggerSleepAction( 2.00 )
if ( Trig_Find_Aluni_Hideout_Func039001() ) then
return
else
call DoNothing( )
endif
call CinematicFadeBJ( bj_CINEFADETYPE_FADEOUT, 2.00, "ReplaceableTextures\\CameraMasks\\Black_mask.blp", 0, 0, 0, 0 )
if ( Trig_Find_Aluni_Hideout_Func041001() ) then
return
else
call DoNothing( )
endif
call TriggerSleepAction( 3.00 )
if ( Trig_Find_Aluni_Hideout_Func043001() ) then
return
else
call DoNothing( )
endif
call CameraSetupApplyForPlayer( true, gg_cam_AKam02, Player(1), 0 )
if ( Trig_Find_Aluni_Hideout_Func045001() ) then
return
else
call DoNothing( )
endif
call CinematicFadeBJ( bj_CINEFADETYPE_FADEIN, 2.00, "ReplaceableTextures\\CameraMasks\\Black_mask.blp", 0, 0, 0, 0 )
if ( Trig_Find_Aluni_Hideout_Func047001() ) then
return
else
call DoNothing( )
endif
call TriggerSleepAction( 1.00 )
if ( Trig_Find_Aluni_Hideout_Func049001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(9), 'E001', "TRIGSTR_955", GetRectCenter(GetPlayableMapRect()), gg_snd_Unbenannt000, "TRIGSTR_956", bj_TIMETYPE_ADD, 0.00, false )
if ( Trig_Find_Aluni_Hideout_Func051001() ) then
return
else
call DoNothing( )
endif
call WaitForSoundBJ( gg_snd_Unbenannt000, 0 )
if ( Trig_Find_Aluni_Hideout_Func053001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(9), 'E001', "TRIGSTR_1040", GetRectCenter(GetPlayableMapRect()), gg_snd_Unbenannt0000, "TRIGSTR_1041", bj_TIMETYPE_ADD, 0.00, false )
if ( Trig_Find_Aluni_Hideout_Func055001() ) then
return
else
call DoNothing( )
endif
call WaitForSoundBJ( gg_snd_Unbenannt0000, 0 )
if ( Trig_Find_Aluni_Hideout_Func057001() ) then
return
else
call DoNothing( )
endif
call CameraSetupApplyForPlayer( true, gg_cam_AKam03, Player(1), 0 )
if ( Trig_Find_Aluni_Hideout_Func059001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(9), 'E001', "TRIGSTR_991", GetRectCenter(GetPlayableMapRect()), gg_snd_Unbenannt00000, "TRIGSTR_992", bj_TIMETYPE_ADD, 0.00, false )
if ( Trig_Find_Aluni_Hideout_Func061001() ) then
return
else
call DoNothing( )
endif
call WaitForSoundBJ( gg_snd_Unbenannt00000, 0 )
if ( Trig_Find_Aluni_Hideout_Func063001() ) then
return
else
call DoNothing( )
endif
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(9), 'E001', "TRIGSTR_1042", GetRectCenter(GetPlayableMapRect()), gg_snd_Unbenannt000000, "TRIGSTR_1043", bj_TIMETYPE_ADD, 0.00, false )
if ( Trig_Find_Aluni_Hideout_Func065001() ) then
return
else
call DoNothing( )
endif
call WaitForSoundBJ( gg_snd_Unbenannt000000, 0 )
if ( Trig_Find_Aluni_Hideout_Func067001() ) then
return
else
call DoNothing( )
endif
call CinematicFadeBJ( bj_CINEFADETYPE_FADEOUT, 3.00, "ReplaceableTextures\\CameraMasks\\Black_mask.blp", 0, 0, 0, 0 )
if ( Trig_Find_Aluni_Hideout_Func069001() ) then
return
else
call DoNothing( )
endif
call TriggerSleepAction( 4.00 )
if ( Trig_Find_Aluni_Hideout_Func071001() ) then
return
else
call DoNothing( )
endif
call CameraSetupApplyForPlayer( true, gg_cam_EndACam, Player(1), 0 )
if ( Trig_Find_Aluni_Hideout_Func073001() ) then
return
else
call DoNothing( )
endif
call CinematicModeBJ( false, bj_FORCE_PLAYER[1] )
if ( Trig_Find_Aluni_Hideout_Func075001() ) then
return
else
call DoNothing( )
endif
call SetPlayerAllianceStateBJ( Player(1), Player(9), bj_ALLIANCE_ALLIED_VISION )
if ( Trig_Find_Aluni_Hideout_Func077001() ) then
return
else
call DoNothing( )
endif
call SetPlayerAllianceStateBJ( Player(9), Player(1), bj_ALLIANCE_ALLIED_VISION )
if ( Trig_Find_Aluni_Hideout_Func079001() ) then
return
else
call DoNothing( )
endif
call SetPlayerAllianceStateBJ( Player(0), Player(9), bj_ALLIANCE_ALLIED_VISION )
if ( Trig_Find_Aluni_Hideout_Func081001() ) then
return
else
call DoNothing( )
endif
call SetPlayerAllianceStateBJ( Player(9), Player(0), bj_ALLIANCE_ALLIED_VISION )
if ( Trig_Find_Aluni_Hideout_Func083001() ) then
return
else
call DoNothing( )
endif
call SetPlayerAllianceStateBJ( Player(9), Player(2), bj_ALLIANCE_UNALLIED )
if ( Trig_Find_Aluni_Hideout_Func085001() ) then
return
else
call DoNothing( )
endif
call SetPlayerAllianceStateBJ( Player(2), Player(9), bj_ALLIANCE_UNALLIED )
if ( Trig_Find_Aluni_Hideout_Func087001() ) then
return
else
call DoNothing( )
endif
call SetPlayerAllianceStateBJ( Player(9), Player(10), bj_ALLIANCE_UNALLIED )
if ( Trig_Find_Aluni_Hideout_Func089001() ) then
return
else
call DoNothing( )
endif
call SetPlayerAllianceStateBJ( Player(10), Player(9), bj_ALLIANCE_UNALLIED )
if ( Trig_Find_Aluni_Hideout_Func091001() ) then
return
else
call DoNothing( )
endif
call SetPlayerAllianceStateBJ( Player(9), Player(8), bj_ALLIANCE_UNALLIED )
if ( Trig_Find_Aluni_Hideout_Func093001() ) then
return
else
call DoNothing( )
endif
call SetPlayerAllianceStateBJ( Player(8), Player(9), bj_ALLIANCE_UNALLIED )
if ( Trig_Find_Aluni_Hideout_Func095001() ) then
return
else
call DoNothing( )
endif
call SetUnitInvulnerable( gg_unit_E001_0381, false )
if ( Trig_Find_Aluni_Hideout_Func097001() ) then
return
else
call DoNothing( )
endif
call CinematicFadeBJ( bj_CINEFADETYPE_FADEIN, 3.00, "ReplaceableTextures\\CameraMasks\\Black_mask.blp", 0, 0, 0, 0 )
if ( Trig_Find_Aluni_Hideout_Func099001() ) then
return
else
call DoNothing( )
endif
call IssuePointOrderLocBJ( gg_unit_E001_0381, "move", GetRectCenter(gg_rct_move_rexxar) )
if ( Trig_Find_Aluni_Hideout_Func101001() ) then
return
else
call DoNothing( )
endif
call DisableTrigger( gg_trg_Find_Aluni_Hideout_skipped )
endfunction
//===========================================================================
function InitTrig_Find_Aluni_Hideout takes nothing returns nothing
set gg_trg_Find_Aluni_Hideout = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Find_Aluni_Hideout, gg_rct_enter_secret_place )
call TriggerAddCondition( gg_trg_Find_Aluni_Hideout, Condition( function Trig_Find_Aluni_Hideout_Conditions ) )
call TriggerAddAction( gg_trg_Find_Aluni_Hideout, function Trig_Find_Aluni_Hideout_Actions )
endfunction
function Trig_Find_Aluni_Hideout_skipped_Conditions takes nothing returns boolean
if ( not ( udg_AluniQuestSkipped == true ) ) then
return false
endif
return true
endfunction
function Trig_Find_Aluni_Hideout_skipped_Actions takes nothing returns nothing
set udg_AluniQuestSkipped = false
call SetUnitInvulnerable( gg_unit_E001_0381, false )
call SetUnitPositionLoc( gg_unit_Orex_0002, GetRectCenter(gg_rct_order_rexxar_1) )
call DisableTrigger( gg_trg_Buerger_Dies )
call SetPlayerAllianceStateBJ( Player(1), Player(7), bj_ALLIANCE_UNALLIED )
call SetPlayerAllianceStateBJ( Player(7), Player(1), bj_ALLIANCE_UNALLIED )
call SetPlayerAllianceStateBJ( Player(1), Player(9), bj_ALLIANCE_ALLIED_VISION )
call SetPlayerAllianceStateBJ( Player(9), Player(1), bj_ALLIANCE_ALLIED_VISION )
call SetPlayerAllianceStateBJ( Player(0), Player(9), bj_ALLIANCE_ALLIED_VISION )
call SetPlayerAllianceStateBJ( Player(9), Player(0), bj_ALLIANCE_ALLIED_VISION )
call SetPlayerAllianceStateBJ( Player(9), Player(2), bj_ALLIANCE_UNALLIED )
call SetPlayerAllianceStateBJ( Player(2), Player(9), bj_ALLIANCE_UNALLIED )
call SetPlayerAllianceStateBJ( Player(9), Player(10), bj_ALLIANCE_UNALLIED )
call SetPlayerAllianceStateBJ( Player(10), Player(9), bj_ALLIANCE_UNALLIED )
call SetPlayerAllianceStateBJ( Player(9), Player(8), bj_ALLIANCE_UNALLIED )
call SetPlayerAllianceStateBJ( Player(8), Player(9), bj_ALLIANCE_UNALLIED )
call IssuePointOrderLocBJ( gg_unit_E001_0381, "move", GetRectCenter(gg_rct_move_rexxar) )
call CameraSetupApplyForPlayer( true, gg_cam_EndACam, Player(1), 0 )
call CinematicModeBJ( false, bj_FORCE_PLAYER[1] )
call CinematicFadeBJ( bj_CINEFADETYPE_FADEIN, 3.00, "ReplaceableTextures\\CameraMasks\\Black_mask.blp", 0, 0, 0, 0 )
call DisableTrigger( GetTriggeringTrigger() )
endfunction
//===========================================================================
function InitTrig_Find_Aluni_Hideout_skipped takes nothing returns nothing
set gg_trg_Find_Aluni_Hideout_skipped = CreateTrigger( )
call TriggerRegisterPlayerEventEndCinematic( gg_trg_Find_Aluni_Hideout_skipped, Player(1) )
call TriggerAddCondition( gg_trg_Find_Aluni_Hideout_skipped, Condition( function Trig_Find_Aluni_Hideout_skipped_Conditions ) )
call TriggerAddAction( gg_trg_Find_Aluni_Hideout_skipped, function Trig_Find_Aluni_Hideout_skipped_Actions )
endfunction
function Trig_Rexxar_goes_Aluni_Conditions takes nothing returns boolean
if ( not ( GetTriggerUnit() == gg_unit_Orex_0002 ) ) then
return false
endif
return true
endfunction
function Trig_Rexxar_goes_Aluni_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call IssuePointOrderLocBJ( gg_unit_Orex_0002, "move", GetRectCenter(gg_rct_order_rexxar_1) )
endfunction
//===========================================================================
function InitTrig_Rexxar_goes_Aluni takes nothing returns nothing
set gg_trg_Rexxar_goes_Aluni = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Rexxar_goes_Aluni, gg_rct_move_rexxar )
call TriggerAddCondition( gg_trg_Rexxar_goes_Aluni, Condition( function Trig_Rexxar_goes_Aluni_Conditions ) )
call TriggerAddAction( gg_trg_Rexxar_goes_Aluni, function Trig_Rexxar_goes_Aluni_Actions )
endfunction
function Trig_Aluni_Revive_Actions takes nothing returns nothing
call TriggerSleepAction( 8.00 )
call ReviveHeroLoc( gg_unit_E001_0381, GetRectCenter(gg_rct_aluni_revive), true )
endfunction
//===========================================================================
function InitTrig_Aluni_Revive takes nothing returns nothing
set gg_trg_Aluni_Revive = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Aluni_Revive, gg_unit_E001_0381, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Aluni_Revive, function Trig_Aluni_Revive_Actions )
endfunction
function Trig_Aluni_Trigger_1_Conditions takes nothing returns boolean
if ( not ( GetTriggerUnit() == gg_unit_E001_0381 ) ) then
return false
endif
return true
endfunction
function Trig_Aluni_Trigger_1_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(0), 'H00S', "TRIGSTR_1048", GetRectCenter(GetPlayableMapRect()), gg_snd_Obergendarmerist007, "TRIGSTR_1049", bj_TIMETYPE_ADD, 0.00, false )
call WaitForSoundBJ( gg_snd_Obergendarmerist007, 0 )
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(0), 'H007', "TRIGSTR_1050", GetRectCenter(GetPlayableMapRect()), gg_snd_Duke005, "TRIGSTR_1051", bj_TIMETYPE_ADD, 0.00, false )
call WaitForSoundBJ( gg_snd_Duke005, 0 )
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(0), 'H007', "TRIGSTR_1052", GetRectCenter(GetPlayableMapRect()), gg_snd_Duke006, "TRIGSTR_1053", bj_TIMETYPE_ADD, 0.00, false )
call WaitForSoundBJ( gg_snd_Duke006, 0 )
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(0), 'H00S', "TRIGSTR_1054", GetRectCenter(GetPlayableMapRect()), gg_snd_Obergendarmerist008, "TRIGSTR_1055", bj_TIMETYPE_ADD, 0.00, false )
call WaitForSoundBJ( gg_snd_Obergendarmerist008, 0 )
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(0), 'H00S', "TRIGSTR_1056", GetRectCenter(GetPlayableMapRect()), gg_snd_Obergendarmerist009, "TRIGSTR_1057", bj_TIMETYPE_ADD, 0.00, false )
call WaitForSoundBJ( gg_snd_Obergendarmerist009, 0 )
endfunction
//===========================================================================
function InitTrig_Aluni_Trigger_1 takes nothing returns nothing
set gg_trg_Aluni_Trigger_1 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Aluni_Trigger_1, gg_rct_aluni_comes )
call TriggerAddCondition( gg_trg_Aluni_Trigger_1, Condition( function Trig_Aluni_Trigger_1_Conditions ) )
call TriggerAddAction( gg_trg_Aluni_Trigger_1, function Trig_Aluni_Trigger_1_Actions )
endfunction
function Trig_Aluni_Trigger_2_Conditions takes nothing returns boolean
if ( not ( GetTriggerUnit() == gg_unit_E001_0381 ) ) then
return false
endif
return true
endfunction
function Trig_Aluni_Trigger_2_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call IssuePointOrderLocBJ( gg_unit_E001_0381, "move", GetRectCenter(gg_rct_enter_secret_place) )
endfunction
//===========================================================================
function InitTrig_Aluni_Trigger_2 takes nothing returns nothing
set gg_trg_Aluni_Trigger_2 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Aluni_Trigger_2, gg_rct_move_rexxar )
call TriggerAddCondition( gg_trg_Aluni_Trigger_2, Condition( function Trig_Aluni_Trigger_2_Conditions ) )
call TriggerAddAction( gg_trg_Aluni_Trigger_2, function Trig_Aluni_Trigger_2_Actions )
endfunction
function Trig_Aluni_Trigger_3_Conditions takes nothing returns boolean
if ( not ( GetTriggerUnit() == gg_unit_E001_0381 ) ) then
return false
endif
return true
endfunction
function Trig_Aluni_Trigger_3_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call IssuePointOrderLocBJ( gg_unit_E001_0381, "move", GetRectCenter(gg_rct_aluni_comes) )
endfunction
//===========================================================================
function InitTrig_Aluni_Trigger_3 takes nothing returns nothing
set gg_trg_Aluni_Trigger_3 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Aluni_Trigger_3, gg_rct_enter_secret_place )
call TriggerAddCondition( gg_trg_Aluni_Trigger_3, Condition( function Trig_Aluni_Trigger_3_Conditions ) )
call TriggerAddAction( gg_trg_Aluni_Trigger_3, function Trig_Aluni_Trigger_3_Actions )
endfunction
function Trig_Aluni_Trigger_4_Conditions takes nothing returns boolean
if ( not ( GetTriggerUnit() == gg_unit_E001_0381 ) ) then
return false
endif
return true
endfunction
function Trig_Aluni_Trigger_4_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call IssuePointOrderLocBJ( gg_unit_E001_0381, "move", GetRectCenter(gg_rct_Gebiet_026) )
endfunction
//===========================================================================
function InitTrig_Aluni_Trigger_4 takes nothing returns nothing
set gg_trg_Aluni_Trigger_4 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Aluni_Trigger_4, gg_rct_aluni_comes )
call TriggerAddCondition( gg_trg_Aluni_Trigger_4, Condition( function Trig_Aluni_Trigger_4_Conditions ) )
call TriggerAddAction( gg_trg_Aluni_Trigger_4, function Trig_Aluni_Trigger_4_Actions )
endfunction
function Trig_Aluni_Trigger_5_Conditions takes nothing returns boolean
if ( not ( GetTriggerUnit() == gg_unit_E001_0381 ) ) then
return false
endif
return true
endfunction
function Trig_Aluni_Trigger_5_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call IssuePointOrderLocBJ( gg_unit_E001_0381, "move", GetRectCenter(gg_rct_Gebiet_027) )
endfunction
//===========================================================================
function InitTrig_Aluni_Trigger_5 takes nothing returns nothing
set gg_trg_Aluni_Trigger_5 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Aluni_Trigger_5, gg_rct_Gebiet_026 )
call TriggerAddCondition( gg_trg_Aluni_Trigger_5, Condition( function Trig_Aluni_Trigger_5_Conditions ) )
call TriggerAddAction( gg_trg_Aluni_Trigger_5, function Trig_Aluni_Trigger_5_Actions )
endfunction
function Trig_Aluni_Trigger_6_Conditions takes nothing returns boolean
if ( not ( GetTriggerUnit() == gg_unit_E001_0381 ) ) then
return false
endif
return true
endfunction
function Trig_Aluni_Trigger_6_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call IssuePointOrderLocBJ( gg_unit_E001_0381, "move", GetRectCenter(gg_rct_Gebiet_028) )
endfunction
//===========================================================================
function InitTrig_Aluni_Trigger_6 takes nothing returns nothing
set gg_trg_Aluni_Trigger_6 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Aluni_Trigger_6, gg_rct_Gebiet_027 )
call TriggerAddCondition( gg_trg_Aluni_Trigger_6, Condition( function Trig_Aluni_Trigger_6_Conditions ) )
call TriggerAddAction( gg_trg_Aluni_Trigger_6, function Trig_Aluni_Trigger_6_Actions )
endfunction
function Trig_Aluni_Trigger_7_Conditions takes nothing returns boolean
if ( not ( GetTriggerUnit() == gg_unit_E001_0381 ) ) then
return false
endif
return true
endfunction
function Trig_Aluni_Trigger_7_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call IssuePointOrderLocBJ( gg_unit_E001_0381, "move", GetRectCenter(gg_rct_aluni_revive) )
endfunction
//===========================================================================
function InitTrig_Aluni_Trigger_7 takes nothing returns nothing
set gg_trg_Aluni_Trigger_7 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Aluni_Trigger_7, gg_rct_Gebiet_028 )
call TriggerAddCondition( gg_trg_Aluni_Trigger_7, Condition( function Trig_Aluni_Trigger_7_Conditions ) )
call TriggerAddAction( gg_trg_Aluni_Trigger_7, function Trig_Aluni_Trigger_7_Actions )
endfunction
function Trig_Aluni_Trigger_8_Conditions takes nothing returns boolean
if ( not ( GetTriggerUnit() == gg_unit_E001_0381 ) ) then
return false
endif
return true
endfunction
function Trig_Aluni_Trigger_8_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( gg_unit_E001_0381, "attack", GetPlayerStartLocationLoc(Player(2)) )
endfunction
//===========================================================================
function InitTrig_Aluni_Trigger_8 takes nothing returns nothing
set gg_trg_Aluni_Trigger_8 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Aluni_Trigger_8, gg_rct_aluni_revive )
call TriggerAddCondition( gg_trg_Aluni_Trigger_8, Condition( function Trig_Aluni_Trigger_8_Conditions ) )
call TriggerAddAction( gg_trg_Aluni_Trigger_8, function Trig_Aluni_Trigger_8_Actions )
endfunction
function Trig_Admiral_create_Conditions takes nothing returns boolean
if ( not ( IsTriggerEnabled(GetTriggeringTrigger()) == true ) ) then
return false
endif
return true
endfunction
function Trig_Admiral_create_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
// Admiral Quest
call CreateQuestBJ( bj_QUESTTYPE_OPT_UNDISCOVERED, "TRIGSTR_848", "TRIGSTR_849", "ReplaceableTextures\\CommandButtons\\BTNHumanBattleShip.blp" )
set udg_AdmiralQuest = GetLastCreatedQuestBJ()
call CreateQuestItemBJ( udg_AdmiralQuest, "TRIGSTR_850" )
set udg_AdmiralQuestReq1 = GetLastCreatedQuestItemBJ()
call CreateQuestItemBJ( udg_AdmiralQuest, "TRIGSTR_1152" )
set udg_AdmiralQuestReq2 = GetLastCreatedQuestItemBJ()
endfunction
//===========================================================================
function InitTrig_Admiral_create takes nothing returns nothing
set gg_trg_Admiral_create = CreateTrigger( )
call TriggerAddCondition( gg_trg_Admiral_create, Condition( function Trig_Admiral_create_Conditions ) )
call TriggerAddAction( gg_trg_Admiral_create, function Trig_Admiral_create_Actions )
endfunction
function Trig_Admiral_Quest_entdecken_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(GetTriggerUnit()) == Player(1) ) ) then
return false
endif
return true
endfunction
function Trig_Admiral_Quest_entdecken_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call ConditionalTriggerExecute( gg_trg_Admiral_create )
call DisableTrigger( gg_trg_Buerger_Dies )
call SetUnitAnimation( gg_unit_h00E_0092, "stand work" )
call SetPlayerAllianceStateBJ( Player(1), Player(7), bj_ALLIANCE_UNALLIED )
call SetPlayerAllianceStateBJ( Player(7), Player(1), bj_ALLIANCE_UNALLIED )
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(2), 'H006', "TRIGSTR_863", GetRectCenter(GetPlayableMapRect()), gg_snd_Admiral001, "TRIGSTR_864", bj_TIMETYPE_ADD, 0.00, false )
call WaitForSoundBJ( gg_snd_Admiral001, 0 )
call QuestSetDiscoveredBJ( udg_AdmiralQuest, true )
call QuestMessageBJ( GetPlayersAll(), bj_QUESTMESSAGE_DISCOVERED, "TRIGSTR_853" )
call SetPlayerAllianceStateBJ( Player(1), Player(10), bj_ALLIANCE_UNALLIED )
call SetPlayerAllianceStateBJ( Player(10), Player(1), bj_ALLIANCE_UNALLIED )
call SetPlayerAllianceStateBJ( Player(1), Player(11), bj_ALLIANCE_UNALLIED )
call SetPlayerAllianceStateBJ( Player(11), Player(1), bj_ALLIANCE_UNALLIED )
call SetPlayerAllianceStateBJ( Player(0), Player(10), bj_ALLIANCE_UNALLIED )
call SetPlayerAllianceStateBJ( Player(10), Player(0), bj_ALLIANCE_UNALLIED )
call SetPlayerAllianceStateBJ( Player(0), Player(11), bj_ALLIANCE_UNALLIED )
call SetPlayerAllianceStateBJ( Player(11), Player(0), bj_ALLIANCE_UNALLIED )
call EnableTrigger( gg_trg_Marine_Attack_Trigger_1 )
call EnableTrigger( gg_trg_Marine_Attack_Trigger_1 )
call EnableTrigger( gg_trg_HShipyard_1 )
call EnableTrigger( gg_trg_HShipyard_2 )
call EnableTrigger( gg_trg_OShipyard_1 )
call EnableTrigger( gg_trg_OShipyard_2 )
call CreateNUnitsAtLocFacingLocBJ( 1, 'H006', Player(10), GetRectCenter(gg_rct_create_standarte_place), GetUnitLoc(GetTriggerUnit()) )
call IssuePointOrderLocBJ( GetLastCreatedUnit(), "attack", GetPlayerStartLocationLoc(Player(0)) )
call SetUnitInvulnerable( gg_unit_n002_0290, false )
call IssuePointOrderLocBJ( gg_unit_n002_0290, "attack", GetPlayerStartLocationLoc(Player(5)) )
call SetUnitInvulnerable( gg_unit_O002_0322, false )
call SetUnitOwner( gg_unit_O002_0322, Player(1), true )
endfunction
//===========================================================================
function InitTrig_Admiral_Quest_entdecken takes nothing returns nothing
set gg_trg_Admiral_Quest_entdecken = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Admiral_Quest_entdecken, gg_rct_Admiral_comes )
call TriggerAddCondition( gg_trg_Admiral_Quest_entdecken, Condition( function Trig_Admiral_Quest_entdecken_Conditions ) )
call TriggerAddAction( gg_trg_Admiral_Quest_entdecken, function Trig_Admiral_Quest_entdecken_Actions )
endfunction
function Trig_Marine_Attack_Trigger_1_Actions takes nothing returns nothing
call CreateNUnitsAtLocFacingLocBJ( 1, 'h01D', Player(10), GetRectCenter(gg_rct_Gebiet_155), GetUnitLoc(GetTriggerUnit()) )
call IssuePointOrderLocBJ( GetLastCreatedUnit(), "attack", GetPlayerStartLocationLoc(Player(0)) )
endfunction
//===========================================================================
function InitTrig_Marine_Attack_Trigger_1 takes nothing returns nothing
set gg_trg_Marine_Attack_Trigger_1 = CreateTrigger( )
call DisableTrigger( gg_trg_Marine_Attack_Trigger_1 )
call TriggerRegisterTimerEventPeriodic( gg_trg_Marine_Attack_Trigger_1, 5.00 )
call TriggerAddAction( gg_trg_Marine_Attack_Trigger_1, function Trig_Marine_Attack_Trigger_1_Actions )
endfunction
function Trig_HShipyard_1_Actions takes nothing returns nothing
call CreateNUnitsAtLocFacingLocBJ( 1, 'h00K', Player(10), GetRectCenter(gg_rct_korvette_place), GetUnitLoc(GetTriggerUnit()) )
call IssuePointOrderLocBJ( GetLastCreatedUnit(), "attack", GetPlayerStartLocationLoc(Player(5)) )
endfunction
//===========================================================================
function InitTrig_HShipyard_1 takes nothing returns nothing
set gg_trg_HShipyard_1 = CreateTrigger( )
call DisableTrigger( gg_trg_HShipyard_1 )
call TriggerRegisterTimerEventPeriodic( gg_trg_HShipyard_1, 22.00 )
call TriggerAddAction( gg_trg_HShipyard_1, function Trig_HShipyard_1_Actions )
endfunction
function Trig_HShipyard_2_Actions takes nothing returns nothing
call CreateNUnitsAtLocFacingLocBJ( 1, 'h00L', Player(10), GetRectCenter(gg_rct_battleship_place), GetUnitLoc(GetTriggerUnit()) )
call IssuePointOrderLocBJ( GetLastCreatedUnit(), "attack", GetPlayerStartLocationLoc(Player(5)) )
endfunction
//===========================================================================
function InitTrig_HShipyard_2 takes nothing returns nothing
set gg_trg_HShipyard_2 = CreateTrigger( )
call DisableTrigger( gg_trg_HShipyard_2 )
call TriggerRegisterTimerEventPeriodic( gg_trg_HShipyard_2, 22.00 )
call TriggerAddAction( gg_trg_HShipyard_2, function Trig_HShipyard_2_Actions )
endfunction
function Trig_OShipyard_1_Actions takes nothing returns nothing
call CreateNUnitsAtLocFacingLocBJ( 1, 'odes', Player(5), GetRectCenter(gg_rct_destroyer_place), GetUnitLoc(GetTriggerUnit()) )
call IssuePointOrderLocBJ( GetLastCreatedUnit(), "attack", GetPlayerStartLocationLoc(Player(10)) )
endfunction
//===========================================================================
function InitTrig_OShipyard_1 takes nothing returns nothing
set gg_trg_OShipyard_1 = CreateTrigger( )
call DisableTrigger( gg_trg_OShipyard_1 )
call TriggerRegisterTimerEventPeriodic( gg_trg_OShipyard_1, 10.00 )
call TriggerAddAction( gg_trg_OShipyard_1, function Trig_OShipyard_1_Actions )
endfunction
function Trig_OShipyard_2_Actions takes nothing returns nothing
call CreateNUnitsAtLocFacingLocBJ( 1, 'ojgn', Player(5), GetRectCenter(gg_rct_tanker_place), GetUnitLoc(GetTriggerUnit()) )
call IssuePointOrderLocBJ( GetLastCreatedUnit(), "attack", GetPlayerStartLocationLoc(Player(10)) )
endfunction
//===========================================================================
function InitTrig_OShipyard_2 takes nothing returns nothing
set gg_trg_OShipyard_2 = CreateTrigger( )
call DisableTrigger( gg_trg_OShipyard_2 )
call TriggerRegisterTimerEventPeriodic( gg_trg_OShipyard_2, 10.00 )
call TriggerAddAction( gg_trg_OShipyard_2, function Trig_OShipyard_2_Actions )
endfunction
function Trig_Admiral_Quest_Komplett_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'H006' ) ) then
return false
endif
return true
endfunction
function Trig_Admiral_Quest_Komplett_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call DisableTrigger( gg_trg_Admiral_Quest_fehlgeschlagen )
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(2), 'H006', "TRIGSTR_891", GetRectCenter(GetPlayableMapRect()), gg_snd_Admiral002, "TRIGSTR_892", bj_TIMETYPE_ADD, 0.00, false )
call WaitForSoundBJ( gg_snd_Admiral002, 0 )
call ConditionalTriggerExecute( gg_trg_Admiral_create )
call QuestSetDiscoveredBJ( udg_AdmiralQuest, true )
call QuestSetCompletedBJ( udg_AdmiralQuest, true )
call QuestItemSetCompletedBJ( udg_AdmiralQuestReq1, true )
call QuestItemSetCompletedBJ( udg_AdmiralQuestReq2, true )
call QuestMessageBJ( GetPlayersAll(), bj_QUESTMESSAGE_COMPLETED, "TRIGSTR_854" )
call CreateItemLoc( 'btst', GetRectCenter(gg_rct_create_standarte_place) )
call SetItemInvulnerableBJ( GetLastCreatedItem(), true )
endfunction
//===========================================================================
function InitTrig_Admiral_Quest_Komplett takes nothing returns nothing
set gg_trg_Admiral_Quest_Komplett = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Admiral_Quest_Komplett, Player(10), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Admiral_Quest_Komplett, Condition( function Trig_Admiral_Quest_Komplett_Conditions ) )
call TriggerAddAction( gg_trg_Admiral_Quest_Komplett, function Trig_Admiral_Quest_Komplett_Actions )
endfunction
function Trig_Admiral_Quest_fehlgeschlagen_Actions takes nothing returns nothing
call DisableTrigger( GetTriggeringTrigger() )
call DisableTrigger( gg_trg_Admiral_Quest_Komplett )
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(2), 'H006', "TRIGSTR_856", GetRectCenter(GetPlayableMapRect()), gg_snd_Admiral003, "TRIGSTR_857", bj_TIMETYPE_ADD, 0.00, false )
call WaitForSoundBJ( gg_snd_Admiral003, 0 )
call ConditionalTriggerExecute( gg_trg_Admiral_create )
call QuestSetDiscoveredBJ( udg_AdmiralQuest, true )
call QuestSetFailedBJ( udg_AdmiralQuest, true )
call QuestItemSetCompletedBJ( udg_AdmiralQuestReq1, false )
call QuestItemSetCompletedBJ( udg_AdmiralQuestReq2, false )
call QuestMessageBJ( GetPlayersAll(), bj_QUESTMESSAGE_FAILED, "TRIGSTR_855" )
endfunction
//===========================================================================
function InitTrig_Admiral_Quest_fehlgeschlagen takes nothing returns nothing
set gg_trg_Admiral_Quest_fehlgeschlagen = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Admiral_Quest_fehlgeschlagen, gg_unit_O002_0322, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Admiral_Quest_fehlgeschlagen, function Trig_Admiral_Quest_fehlgeschlagen_Actions )
endfunction
function Trig_Shipyard_death_1_Actions takes nothing returns nothing
call TriggerSleepAction( 1.00 )
call RemoveUnit( gg_unit_h00E_0092 )
call KillDestructable( gg_dest_B002_0102 )
call KillDestructable( gg_dest_YTpc_0240 )
call DisableTrigger( gg_trg_Marine_Attack_Trigger_1 )
call DisableTrigger( gg_trg_HShipyard_1 )
call DisableTrigger( gg_trg_HShipyard_2 )
call DisableTrigger( gg_trg_OShipyard_1 )
call DisableTrigger( gg_trg_OShipyard_2 )
endfunction
//===========================================================================
function InitTrig_Shipyard_death_1 takes nothing returns nothing
set gg_trg_Shipyard_death_1 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Shipyard_death_1, gg_unit_h00E_0092, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Shipyard_death_1, function Trig_Shipyard_death_1_Actions )
endfunction
function Trig_Shipyard_death_2_Actions takes nothing returns nothing
call DisableTrigger( gg_trg_Marine_Attack_Trigger_1 )
call DisableTrigger( gg_trg_HShipyard_1 )
call DisableTrigger( gg_trg_HShipyard_2 )
call DisableTrigger( gg_trg_OShipyard_1 )
call DisableTrigger( gg_trg_OShipyard_2 )
endfunction
//===========================================================================
function InitTrig_Shipyard_death_2 takes nothing returns nothing
set gg_trg_Shipyard_death_2 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Shipyard_death_2, gg_unit_oshy_0139, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Shipyard_death_2, function Trig_Shipyard_death_2_Actions )
endfunction
function Trig_Destroy_the_Bridge_Actions takes nothing returns nothing
call RemoveDestructable( gg_dest_B003_0513 )
call RemoveDestructable( gg_dest_B003_0517 )
call RemoveDestructable( gg_dest_B003_0224 )
call SetPlayerAllianceStateBJ( Player(2), Player(1), bj_ALLIANCE_UNALLIED )
call SetPlayerAllianceStateBJ( Player(1), Player(2), bj_ALLIANCE_UNALLIED )
call SetPlayerAllianceStateBJ( Player(0), Player(2), bj_ALLIANCE_UNALLIED )
call SetPlayerAllianceStateBJ( Player(2), Player(0), bj_ALLIANCE_UNALLIED )
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(2), 'H00S', "TRIGSTR_1004", GetRectCenter(GetPlayableMapRect()), gg_snd_Obergendarmerist013, "TRIGSTR_1005", bj_TIMETYPE_ADD, 0.00, false )
call WaitForSoundBJ( gg_snd_Obergendarmerist013, 0 )
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(2), 'H00S', "TRIGSTR_051", GetRectCenter(GetPlayableMapRect()), gg_snd_Obergendarmerist001, "TRIGSTR_052", bj_TIMETYPE_ADD, 0.00, false )
call WaitForSoundBJ( gg_snd_Obergendarmerist001, 0 )
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(2), 'H007', "TRIGSTR_916", GetRectCenter(GetPlayableMapRect()), gg_snd_Duke007, "TRIGSTR_915", bj_TIMETYPE_ADD, 0.00, false )
call WaitForSoundBJ( gg_snd_Duke007, 0 )
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(2), 'H00S', "TRIGSTR_055", GetRectCenter(GetPlayableMapRect()), gg_snd_Obergendarmerist002, "TRIGSTR_056", bj_TIMETYPE_ADD, 0.00, false )
call WaitForSoundBJ( gg_snd_Obergendarmerist002, 0 )
call StartMeleeAI( Player(2), "war3mapImported\\Nation von Equivor.ai" )
endfunction
//===========================================================================
function InitTrig_Destroy_the_Bridge takes nothing returns nothing
set gg_trg_Destroy_the_Bridge = CreateTrigger( )
call TriggerRegisterDeathEvent( gg_trg_Destroy_the_Bridge, gg_dest_B007_0318 )
call TriggerAddAction( gg_trg_Destroy_the_Bridge, function Trig_Destroy_the_Bridge_Actions )
endfunction
function Trig_Fire_Effect_Actions takes nothing returns nothing
call PlaySoundAtPointBJ( gg_snd_CityBuildingDeath1, 100, GetRandomLocInRect(gg_rct_bridge_explosin), 0 )
call PlaySoundAtPointBJ( gg_snd_CityBuildingDeath1, 100, GetRandomLocInRect(gg_rct_bridge_explosin), 0 )
call AddSpecialEffectLocBJ( GetRandomLocInRect(gg_rct_bridge_explosin), "Objects\\Spawnmodels\\Human\\HCancelDeath\\HCancelDeath.mdl" )
call AddSpecialEffectLocBJ( GetRandomLocInRect(gg_rct_bridge_explosin), "Objects\\Spawnmodels\\Human\\HCancelDeath\\HCancelDeath.mdl" )
call AddSpecialEffectLocBJ( GetRandomLocInRect(gg_rct_bridge_explosin), "Objects\\Spawnmodels\\Human\\HCancelDeath\\HCancelDeath.mdl" )
call AddSpecialEffectLocBJ( GetRandomLocInRect(gg_rct_bridge_explosin), "Objects\\Spawnmodels\\Human\\HCancelDeath\\HCancelDeath.mdl" )
call AddSpecialEffectLocBJ( GetRandomLocInRect(gg_rct_bridge_explosin), "Objects\\Spawnmodels\\Human\\HCancelDeath\\HCancelDeath.mdl" )
call AddSpecialEffectLocBJ( GetRandomLocInRect(gg_rct_fire_place_1), "war3mapImported\\Real Fire.mdx" )
call AddSpecialEffectLocBJ( GetRandomLocInRect(gg_rct_fire_place_2), "war3mapImported\\Real Fire.mdx" )
endfunction
//===========================================================================
function InitTrig_Fire_Effect takes nothing returns nothing
set gg_trg_Fire_Effect = CreateTrigger( )
call TriggerRegisterDeathEvent( gg_trg_Fire_Effect, gg_dest_B007_0318 )
call TriggerAddAction( gg_trg_Fire_Effect, function Trig_Fire_Effect_Actions )
endfunction
function Trig_Weather_Variables_Actions takes nothing returns nothing
call AddWeatherEffectSaveLast( GetPlayableMapRect(), 'RLlr' )
set udg_SommerRegenLeicht = GetLastCreatedWeatherEffect()
call AddWeatherEffectSaveLast( GetPlayableMapRect(), 'RLhr' )
set udg_SommerRegenSchwer = GetLastCreatedWeatherEffect()
call AddWeatherEffectSaveLast( GetPlayableMapRect(), 'RAlr' )
set udg_AshenvaleRegenLeicht = GetLastCreatedWeatherEffect()
call AddWeatherEffectSaveLast( GetPlayableMapRect(), 'RAhr' )
set udg_AshenvaleRegenSchwer = GetLastCreatedWeatherEffect()
call AddWeatherEffectSaveLast( GetPlayableMapRect(), 'WNcw' )
set udg_WindSchwer = GetLastCreatedWeatherEffect()
call AddWeatherEffectSaveLast( GetPlayableMapRect(), 'WOlw' )
set udg_OutlandWindLicht = GetLastCreatedWeatherEffect()
call AddWeatherEffectSaveLast( GetPlayableMapRect(), 'WOcw' )
set udg_OutlandWindSchwer = GetLastCreatedWeatherEffect()
call AddWeatherEffectSaveLast( GetPlayableMapRect(), 'FDwl' )
set udg_NebelLeicht = GetLastCreatedWeatherEffect()
call AddWeatherEffectSaveLast( GetPlayableMapRect(), 'FDwh' )
set udg_NebelSchwer = GetLastCreatedWeatherEffect()
call AddWeatherEffectSaveLast( GetPlayableMapRect(), 'LRaa' )
set udg_LichtStrahlen = GetLastCreatedWeatherEffect()
call AddWeatherEffectSaveLast( GetPlayableMapRect(), 'LRma' )
set udg_MondStrahlen = GetLastCreatedWeatherEffect()
call AddWeatherEffectSaveLast( GetPlayableMapRect(), 'SNls' )
set udg_SchneeLeicht = GetLastCreatedWeatherEffect()
call AddWeatherEffectSaveLast( GetPlayableMapRect(), 'SNhs' )
set udg_SchneeSchwer = GetLastCreatedWeatherEffect()
call AddWeatherEffectSaveLast( GetPlayableMapRect(), 'SNbs' )
set udg_Blizzard = GetLastCreatedWeatherEffect()
endfunction
//===========================================================================
function InitTrig_Weather_Variables takes nothing returns nothing
set gg_trg_Weather_Variables = CreateTrigger( )
call TriggerAddAction( gg_trg_Weather_Variables, function Trig_Weather_Variables_Actions )
endfunction
function Trig_Activate_Weather_1_Actions takes nothing returns nothing
call EnableWeatherEffect( udg_SommerRegenLeicht, true )
call TriggerSleepAction( 120.00 )
call EnableWeatherEffect( udg_SommerRegenLeicht, false )
call TriggerSleepAction( 1.00 )
call EnableWeatherEffect( udg_SommerRegenSchwer, true )
call TriggerSleepAction( 120.00 )
call EnableWeatherEffect( udg_SommerRegenSchwer, false )
call TriggerSleepAction( 1.00 )
call EnableWeatherEffect( udg_SommerRegenLeicht, true )
call TriggerSleepAction( 120.00 )
call EnableWeatherEffect( udg_SommerRegenLeicht, false )
call TriggerSleepAction( 15.00 )
call EnableWeatherEffect( udg_OutlandWindLicht, true )
call TriggerSleepAction( 120.00 )
call EnableWeatherEffect( udg_OutlandWindLicht, false )
call TriggerSleepAction( 1.00 )
call EnableWeatherEffect( udg_OutlandWindSchwer, true )
call TriggerSleepAction( 120.00 )
call EnableWeatherEffect( udg_OutlandWindSchwer, false )
call TriggerSleepAction( 1.00 )
call EnableWeatherEffect( udg_OutlandWindLicht, true )
call TriggerSleepAction( 120.00 )
call EnableWeatherEffect( udg_OutlandWindLicht, false )
call TriggerSleepAction( 15.00 )
call EnableWeatherEffect( udg_LichtStrahlen, true )
call TriggerSleepAction( 120.00 )
call EnableWeatherEffect( udg_LichtStrahlen, false )
call TriggerSleepAction( 15.00 )
call EnableWeatherEffect( udg_AshenvaleRegenLeicht, true )
call TriggerSleepAction( 120.00 )
call EnableWeatherEffect( udg_AshenvaleRegenLeicht, false )
call TriggerSleepAction( 1.00 )
call EnableWeatherEffect( udg_AshenvaleRegenSchwer, true )
call TriggerSleepAction( 120.00 )
call EnableWeatherEffect( udg_AshenvaleRegenSchwer, false )
call TriggerSleepAction( 1.00 )
call EnableWeatherEffect( udg_AshenvaleRegenLeicht, true )
call TriggerSleepAction( 120.00 )
call EnableWeatherEffect( udg_AshenvaleRegenLeicht, false )
call TriggerSleepAction( 15.00 )
call EnableWeatherEffect( udg_NebelLeicht, true )
call TriggerSleepAction( 120.00 )
call EnableWeatherEffect( udg_NebelLeicht, false )
call TriggerSleepAction( 1.00 )
call EnableWeatherEffect( udg_NebelSchwer, true )
call TriggerSleepAction( 120.00 )
call EnableWeatherEffect( udg_NebelSchwer, false )
call TriggerSleepAction( 1.00 )
call EnableWeatherEffect( udg_NebelLeicht, true )
call TriggerSleepAction( 120.00 )
call EnableWeatherEffect( udg_NebelLeicht, false )
call TriggerSleepAction( 15.00 )
call EnableWeatherEffect( udg_MondStrahlen, true )
call TriggerSleepAction( 120.00 )
call EnableWeatherEffect( udg_MondStrahlen, false )
call TriggerSleepAction( 15.00 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_019), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_020), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_021), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_022), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_023), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_024), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_025), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_029), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_034), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_035), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_036), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_037), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_038), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_039), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_040), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_041), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_042), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_043), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_044), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_045), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_046), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_047), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_048), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_049), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_050), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_051), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_052), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_053), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_054), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_055), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_056), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_057), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_058), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_059), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_060), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_061), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_062), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_063), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_064), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_065), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_066), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_067), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_068), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_069), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_070), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_071), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_078), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_079), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_074), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_075), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_076), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_077), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_082), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_083), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_084), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_085), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_086), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_aluni_revive), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_088), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_089), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_090), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_091), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_092), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_093), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_094), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_095), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_096), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_097), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_098), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_099), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_100), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_101), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_102), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_103), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_104), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_105), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_106), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_107), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_108), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_109), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_110), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_111), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_112), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_113), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_114), 'Wsnw', -1, 2, 0 )
call EnableWeatherEffect( udg_SchneeLeicht, true )
call TriggerSleepAction( 120.00 )
call EnableWeatherEffect( udg_SchneeLeicht, false )
call TriggerSleepAction( 1.00 )
call EnableWeatherEffect( udg_SchneeSchwer, true )
call TriggerSleepAction( 120.00 )
call EnableWeatherEffect( udg_SchneeSchwer, false )
call TriggerSleepAction( 1.00 )
call EnableWeatherEffect( udg_SchneeLeicht, true )
call TriggerSleepAction( 120.00 )
call EnableWeatherEffect( udg_SchneeLeicht, false )
call TriggerSleepAction( 15.00 )
call EnableWeatherEffect( udg_Blizzard, true )
call TriggerSleepAction( 120.00 )
call EnableWeatherEffect( udg_Blizzard, false )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_019), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_020), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_021), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_022), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_023), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_024), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_025), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_029), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_034), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_035), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_036), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_037), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_038), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_039), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_040), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_041), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_042), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_043), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_044), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_045), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_046), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_047), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_048), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_049), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_050), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_051), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_052), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_053), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_054), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_055), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_056), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_057), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_058), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_059), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_060), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_061), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_062), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_063), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_064), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_065), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_066), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_067), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_068), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_069), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_070), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_071), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_074), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_075), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_076), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_077), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_078), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_079), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_082), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_083), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_084), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_085), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_086), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_aluni_revive), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_088), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_089), 'Lgrs', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_090), 'Lgrs', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_091), 'Lgrs', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_092), 'Lgrs', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_093), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_094), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_095), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_096), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_097), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_098), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_099), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_100), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_101), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_102), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_103), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_104), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_105), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_106), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_107), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_108), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_109), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_110), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_111), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_112), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_113), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_114), 'Ybtl', -1, 2, 0 )
call EnableTrigger( gg_trg_Activate_Weather_2 )
endfunction
//===========================================================================
function InitTrig_Activate_Weather_1 takes nothing returns nothing
set gg_trg_Activate_Weather_1 = CreateTrigger( )
call TriggerAddAction( gg_trg_Activate_Weather_1, function Trig_Activate_Weather_1_Actions )
endfunction
function Trig_Activate_Weather_2_Actions takes nothing returns nothing
call EnableWeatherEffect( udg_SommerRegenLeicht, true )
call TriggerSleepAction( 120.00 )
call EnableWeatherEffect( udg_SommerRegenLeicht, false )
call TriggerSleepAction( 1.00 )
call EnableWeatherEffect( udg_SommerRegenSchwer, true )
call TriggerSleepAction( 120.00 )
call EnableWeatherEffect( udg_SommerRegenSchwer, false )
call TriggerSleepAction( 1.00 )
call EnableWeatherEffect( udg_SommerRegenLeicht, true )
call TriggerSleepAction( 120.00 )
call EnableWeatherEffect( udg_SommerRegenLeicht, false )
call TriggerSleepAction( 15.00 )
call EnableWeatherEffect( udg_OutlandWindLicht, true )
call TriggerSleepAction( 120.00 )
call EnableWeatherEffect( udg_OutlandWindLicht, false )
call TriggerSleepAction( 1.00 )
call EnableWeatherEffect( udg_OutlandWindSchwer, true )
call TriggerSleepAction( 120.00 )
call EnableWeatherEffect( udg_OutlandWindSchwer, false )
call TriggerSleepAction( 1.00 )
call EnableWeatherEffect( udg_OutlandWindLicht, true )
call TriggerSleepAction( 120.00 )
call EnableWeatherEffect( udg_OutlandWindLicht, false )
call TriggerSleepAction( 15.00 )
call EnableWeatherEffect( udg_LichtStrahlen, true )
call TriggerSleepAction( 120.00 )
call EnableWeatherEffect( udg_LichtStrahlen, false )
call TriggerSleepAction( 15.00 )
call EnableWeatherEffect( udg_AshenvaleRegenLeicht, true )
call TriggerSleepAction( 120.00 )
call EnableWeatherEffect( udg_AshenvaleRegenLeicht, false )
call TriggerSleepAction( 1.00 )
call EnableWeatherEffect( udg_AshenvaleRegenSchwer, true )
call TriggerSleepAction( 120.00 )
call EnableWeatherEffect( udg_AshenvaleRegenSchwer, false )
call TriggerSleepAction( 1.00 )
call EnableWeatherEffect( udg_AshenvaleRegenLeicht, true )
call TriggerSleepAction( 120.00 )
call EnableWeatherEffect( udg_AshenvaleRegenLeicht, false )
call TriggerSleepAction( 15.00 )
call EnableWeatherEffect( udg_NebelLeicht, true )
call TriggerSleepAction( 120.00 )
call EnableWeatherEffect( udg_NebelLeicht, false )
call TriggerSleepAction( 1.00 )
call EnableWeatherEffect( udg_NebelSchwer, true )
call TriggerSleepAction( 120.00 )
call EnableWeatherEffect( udg_NebelSchwer, false )
call TriggerSleepAction( 1.00 )
call EnableWeatherEffect( udg_NebelLeicht, true )
call TriggerSleepAction( 120.00 )
call EnableWeatherEffect( udg_NebelLeicht, false )
call TriggerSleepAction( 15.00 )
call EnableWeatherEffect( udg_MondStrahlen, true )
call TriggerSleepAction( 120.00 )
call EnableWeatherEffect( udg_MondStrahlen, false )
call TriggerSleepAction( 15.00 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_019), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_020), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_021), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_022), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_023), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_024), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_025), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_029), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_034), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_035), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_036), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_037), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_038), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_039), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_040), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_041), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_042), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_043), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_044), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_045), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_046), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_047), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_048), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_049), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_050), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_051), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_052), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_053), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_054), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_055), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_056), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_057), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_058), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_059), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_060), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_061), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_062), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_063), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_064), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_065), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_066), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_067), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_068), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_069), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_070), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_071), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_078), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_079), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_074), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_075), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_076), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_077), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_082), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_083), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_084), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_085), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_086), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_aluni_revive), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_088), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_089), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_090), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_091), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_092), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_093), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_094), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_095), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_096), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_097), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_098), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_099), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_100), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_101), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_102), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_103), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_104), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_105), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_106), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_107), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_108), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_109), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_110), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_111), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_112), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_113), 'Wsnw', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_114), 'Wsnw', -1, 2, 0 )
call EnableWeatherEffect( udg_SchneeLeicht, true )
call TriggerSleepAction( 120.00 )
call EnableWeatherEffect( udg_SchneeLeicht, false )
call TriggerSleepAction( 1.00 )
call EnableWeatherEffect( udg_SchneeSchwer, true )
call TriggerSleepAction( 120.00 )
call EnableWeatherEffect( udg_SchneeSchwer, false )
call TriggerSleepAction( 1.00 )
call EnableWeatherEffect( udg_SchneeLeicht, true )
call TriggerSleepAction( 120.00 )
call EnableWeatherEffect( udg_SchneeLeicht, false )
call TriggerSleepAction( 15.00 )
call EnableWeatherEffect( udg_Blizzard, true )
call TriggerSleepAction( 120.00 )
call EnableWeatherEffect( udg_Blizzard, false )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_019), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_020), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_021), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_022), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_023), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_024), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_025), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_029), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_034), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_035), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_036), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_037), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_038), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_039), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_040), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_041), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_042), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_043), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_044), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_045), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_046), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_047), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_048), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_049), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_050), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_051), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_052), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_053), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_054), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_055), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_056), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_057), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_058), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_059), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_060), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_061), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_062), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_063), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_064), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_065), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_066), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_067), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_068), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_069), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_070), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_071), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_074), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_075), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_076), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_077), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_078), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_079), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_082), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_083), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_084), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_085), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_086), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_aluni_revive), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_088), 'Ldrt', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_089), 'Lgrs', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_090), 'Lgrs', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_091), 'Lgrs', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_092), 'Lgrs', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_093), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_094), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_095), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_096), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_097), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_098), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_099), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_100), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_101), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_102), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_103), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_104), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_105), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_106), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_107), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_108), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_109), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_110), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_111), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_112), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_113), 'Ybtl', -1, 2, 0 )
call SetTerrainTypeBJ( GetRectCenter(gg_rct_Rect_114), 'Ybtl', -1, 2, 0 )
call EnableTrigger( gg_trg_Activate_Weather_2 )
endfunction
//===========================================================================
function InitTrig_Activate_Weather_2 takes nothing returns nothing
set gg_trg_Activate_Weather_2 = CreateTrigger( )
call DisableTrigger( gg_trg_Activate_Weather_2 )
call TriggerAddAction( gg_trg_Activate_Weather_2, function Trig_Activate_Weather_2_Actions )
endfunction
function Trig_Revive_Animation_Actions takes nothing returns nothing
call SetUnitAnimation( gg_unit_nbse_0001, "stand alternate" )
endfunction
//===========================================================================
function InitTrig_Revive_Animation takes nothing returns nothing
set gg_trg_Revive_Animation = CreateTrigger( )
call TriggerAddAction( gg_trg_Revive_Animation, function Trig_Revive_Animation_Actions )
endfunction
function Trig_Rexxar_Revive_Actions takes nothing returns nothing
call TriggerSleepAction( 8.00 )
call ReviveHeroLoc( gg_unit_Orex_0002, GetRectCenter(gg_rct_Rexxar_Revive), true )
endfunction
//===========================================================================
function InitTrig_Rexxar_Revive takes nothing returns nothing
set gg_trg_Rexxar_Revive = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Rexxar_Revive, gg_unit_Orex_0002, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Rexxar_Revive, function Trig_Rexxar_Revive_Actions )
endfunction
function Trig_Rokhan_Revive_Actions takes nothing returns nothing
call TriggerSleepAction( 8.00 )
call ReviveHeroLoc( gg_unit_Orkn_0060, GetRectCenter(gg_rct_Rokhan_Revive), true )
endfunction
//===========================================================================
function InitTrig_Rokhan_Revive takes nothing returns nothing
set gg_trg_Rokhan_Revive = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Rokhan_Revive, gg_unit_Orkn_0060, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Rokhan_Revive, function Trig_Rokhan_Revive_Actions )
endfunction
function Trig_Chen_Revive_Actions takes nothing returns nothing
call TriggerSleepAction( 8.00 )
call ReviveHeroLoc( gg_unit_Nsjs_0061, GetRectCenter(gg_rct_Chen_Revive), true )
endfunction
//===========================================================================
function InitTrig_Chen_Revive takes nothing returns nothing
set gg_trg_Chen_Revive = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Chen_Revive, gg_unit_Nsjs_0061, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Chen_Revive, function Trig_Chen_Revive_Actions )
endfunction
function Trig_Cairne_Revive_Actions takes nothing returns nothing
call TriggerSleepAction( 8.00 )
call ReviveHeroLoc( gg_unit_Ocb2_0062, GetRectCenter(gg_rct_Cairne_Revive), true )
endfunction
//===========================================================================
function InitTrig_Cairne_Revive takes nothing returns nothing
set gg_trg_Cairne_Revive = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Cairne_Revive, gg_unit_Ocb2_0062, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Cairne_Revive, function Trig_Cairne_Revive_Actions )
endfunction
function Trig_Trigger_01_Actions takes nothing returns nothing
call PlaySoundAtPointBJ( gg_snd_SteamTankDeath1, 100, GetRectCenter(gg_rct_Rect_120), 0 )
endfunction
//===========================================================================
function InitTrig_Trigger_01 takes nothing returns nothing
set gg_trg_Trigger_01 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Trigger_01, gg_unit_h003_0070, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Trigger_01, function Trig_Trigger_01_Actions )
endfunction
function Trig_Trigger_02_Actions takes nothing returns nothing
call PlaySoundAtPointBJ( gg_snd_SteamTankDeath1, 100, GetRectCenter(gg_rct_Rect_122), 0 )
endfunction
//===========================================================================
function InitTrig_Trigger_02 takes nothing returns nothing
set gg_trg_Trigger_02 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Trigger_02, gg_unit_h003_0071, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Trigger_02, function Trig_Trigger_02_Actions )
endfunction
function Trig_Trigger_03_Actions takes nothing returns nothing
call PlaySoundAtPointBJ( gg_snd_HCancelBuilding, 100, GetRectCenter(gg_rct_return_to_mill), 0 )
endfunction
//===========================================================================
function InitTrig_Trigger_03 takes nothing returns nothing
set gg_trg_Trigger_03 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Trigger_03, gg_unit_h004_0064, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Trigger_03, function Trig_Trigger_03_Actions )
endfunction
function Trig_Trigger_04_Actions takes nothing returns nothing
call PlaySoundAtPointBJ( gg_snd_SteamTankDeath1, 100, GetRectCenter(gg_rct_Rect_117), 0 )
endfunction
//===========================================================================
function InitTrig_Trigger_04 takes nothing returns nothing
set gg_trg_Trigger_04 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Trigger_04, gg_unit_h002_0078, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Trigger_04, function Trig_Trigger_04_Actions )
endfunction
function Trig_Trigger_05_Actions takes nothing returns nothing
call PlaySoundAtPointBJ( gg_snd_SteamTankDeath1, 100, GetRectCenter(gg_rct_Rect_116), 0 )
endfunction
//===========================================================================
function InitTrig_Trigger_05 takes nothing returns nothing
set gg_trg_Trigger_05 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Trigger_05, gg_unit_h002_0079, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Trigger_05, function Trig_Trigger_05_Actions )
endfunction
function Trig_Trigger_06_Actions takes nothing returns nothing
call PlaySoundAtPointBJ( gg_snd_SteamTankDeath1, 100, GetRectCenter(gg_rct_Rect_124), 0 )
endfunction
//===========================================================================
function InitTrig_Trigger_06 takes nothing returns nothing
set gg_trg_Trigger_06 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Trigger_06, gg_unit_h002_0120, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Trigger_06, function Trig_Trigger_06_Actions )
endfunction
function Trig_Trigger_07_Actions takes nothing returns nothing
call PlaySoundAtPointBJ( gg_snd_SteamTankDeath1, 100, GetRectCenter(gg_rct_Rect_123), 0 )
endfunction
//===========================================================================
function InitTrig_Trigger_07 takes nothing returns nothing
set gg_trg_Trigger_07 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Trigger_07, gg_unit_h002_0122, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Trigger_07, function Trig_Trigger_07_Actions )
endfunction
function Trig_Trigger_08_Actions takes nothing returns nothing
call PlaySoundAtPointBJ( gg_snd_CityBuildingDeath1, 100, GetRectCenter(gg_rct_Rect_130), 0 )
endfunction
//===========================================================================
function InitTrig_Trigger_08 takes nothing returns nothing
set gg_trg_Trigger_08 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Trigger_08, gg_unit_h009_0104, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Trigger_08, function Trig_Trigger_08_Actions )
endfunction
function Trig_Trigger_09_Actions takes nothing returns nothing
call PlaySoundAtPointBJ( gg_snd_SteamTankDeath1, 100, GetRectCenter(gg_rct_Rect_125), 0 )
endfunction
//===========================================================================
function InitTrig_Trigger_09 takes nothing returns nothing
set gg_trg_Trigger_09 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Trigger_09, gg_unit_h003_0107, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Trigger_09, function Trig_Trigger_09_Actions )
endfunction
function Trig_Trigger_10_Actions takes nothing returns nothing
call PlaySoundAtPointBJ( gg_snd_SteamTankDeath1, 100, GetRectCenter(gg_rct_Rect_126), 0 )
endfunction
//===========================================================================
function InitTrig_Trigger_10 takes nothing returns nothing
set gg_trg_Trigger_10 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Trigger_10, gg_unit_h003_0116, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Trigger_10, function Trig_Trigger_10_Actions )
endfunction
function Trig_Trigger_11_Actions takes nothing returns nothing
call PlaySoundAtPointBJ( gg_snd_SteamTankDeath1, 100, GetRectCenter(gg_rct_Rect_127), 0 )
endfunction
//===========================================================================
function InitTrig_Trigger_11 takes nothing returns nothing
set gg_trg_Trigger_11 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Trigger_11, gg_unit_h003_0106, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Trigger_11, function Trig_Trigger_11_Actions )
endfunction
function Trig_Trigger_12_Actions takes nothing returns nothing
call PlaySoundAtPointBJ( gg_snd_SteamTankDeath1, 100, GetRectCenter(gg_rct_Rect_128), 0 )
endfunction
//===========================================================================
function InitTrig_Trigger_12 takes nothing returns nothing
set gg_trg_Trigger_12 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Trigger_12, gg_unit_h003_0117, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Trigger_12, function Trig_Trigger_12_Actions )
endfunction
function Trig_Trigger_13_Actions takes nothing returns nothing
call PlaySoundAtPointBJ( gg_snd_BuildingDeathLargeHuman, 100, GetRectCenter(gg_rct_Rect_129), 0 )
endfunction
//===========================================================================
function InitTrig_Trigger_13 takes nothing returns nothing
set gg_trg_Trigger_13 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Trigger_13, gg_unit_h00A_0105, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Trigger_13, function Trig_Trigger_13_Actions )
endfunction
function Trig_Trigger_14_Actions takes nothing returns nothing
call PlaySoundAtPointBJ( gg_snd_HCancelBuilding, 100, GetRectCenter(gg_rct_Rect_131), 0 )
endfunction
//===========================================================================
function InitTrig_Trigger_14 takes nothing returns nothing
set gg_trg_Trigger_14 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Trigger_14, gg_unit_h009_0133, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Trigger_14, function Trig_Trigger_14_Actions )
endfunction
function Trig_Trigger_15_Actions takes nothing returns nothing
call PlaySoundAtPointBJ( gg_snd_BuildingDeathLargeHuman, 100, GetRectCenter(gg_rct_Rect_132), 0 )
call PlaySoundAtPointBJ( gg_snd_SteamTankDeath1, 100, GetRectCenter(gg_rct_Rect_132), 0 )
endfunction
//===========================================================================
function InitTrig_Trigger_15 takes nothing returns nothing
set gg_trg_Trigger_15 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Trigger_15, gg_unit_h012_0119, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Trigger_15, function Trig_Trigger_15_Actions )
endfunction
function Trig_Trigger_16_Actions takes nothing returns nothing
call PlaySoundAtPointBJ( gg_snd_BuildingDeathLargeHuman, 100, GetRectCenter(gg_rct_Rect_133), 0 )
call PlaySoundAtPointBJ( gg_snd_SteamTankDeath1, 100, GetRectCenter(gg_rct_Rect_133), 0 )
endfunction
//===========================================================================
function InitTrig_Trigger_16 takes nothing returns nothing
set gg_trg_Trigger_16 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Trigger_16, gg_unit_h012_0101, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Trigger_16, function Trig_Trigger_16_Actions )
endfunction
function Trig_Trigger_17_Actions takes nothing returns nothing
call PlaySoundAtPointBJ( gg_snd_BuildingDeathLargeHuman, 100, GetRectCenter(gg_rct_Rect_134), 0 )
call PlaySoundAtPointBJ( gg_snd_SteamTankDeath1, 100, GetRectCenter(gg_rct_Rect_134), 0 )
endfunction
//===========================================================================
function InitTrig_Trigger_17 takes nothing returns nothing
set gg_trg_Trigger_17 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Trigger_17, gg_unit_h012_0100, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Trigger_17, function Trig_Trigger_17_Actions )
endfunction
function Trig_Trigger_18_Actions takes nothing returns nothing
call PlaySoundAtPointBJ( gg_snd_BuildingDeathLargeHuman, 100, GetRectCenter(gg_rct_Rect_135), 0 )
call PlaySoundAtPointBJ( gg_snd_SteamTankDeath1, 100, GetRectCenter(gg_rct_Rect_135), 0 )
endfunction
//===========================================================================
function InitTrig_Trigger_18 takes nothing returns nothing
set gg_trg_Trigger_18 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Trigger_18, gg_unit_h012_0099, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Trigger_18, function Trig_Trigger_18_Actions )
endfunction
function Trig_Trigger_19_Actions takes nothing returns nothing
call PlaySoundAtPointBJ( gg_snd_HCancelBuilding, 100, GetRectCenter(gg_rct_Rect_136), 0 )
endfunction
//===========================================================================
function InitTrig_Trigger_19 takes nothing returns nothing
set gg_trg_Trigger_19 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Trigger_19, gg_unit_h008_0114, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Trigger_19, function Trig_Trigger_19_Actions )
endfunction
function Trig_Trigger_20_Actions takes nothing returns nothing
call PlaySoundAtPointBJ( gg_snd_CityBuildingDeath1, 100, GetRectCenter(gg_rct_Rect_137), 0 )
endfunction
//===========================================================================
function InitTrig_Trigger_20 takes nothing returns nothing
set gg_trg_Trigger_20 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Trigger_20, gg_unit_h00A_0134, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Trigger_20, function Trig_Trigger_20_Actions )
endfunction
function Trig_Trigger_21_Actions takes nothing returns nothing
call PlaySoundAtPointBJ( gg_snd_SteamTankDeath1, 100, GetRectCenter(gg_rct_Rect_138), 0 )
call TriggerSleepAction( 0.03 )
call PlaySoundAtPointBJ( gg_snd_SteamTankDeath1, 100, GetRectCenter(gg_rct_Rect_138), 0 )
call TriggerSleepAction( 0.03 )
call PlaySoundAtPointBJ( gg_snd_BuildingDeathLargeHuman, 100, GetRectCenter(gg_rct_Rect_138), 0 )
endfunction
//===========================================================================
function InitTrig_Trigger_21 takes nothing returns nothing
set gg_trg_Trigger_21 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Trigger_21, gg_unit_h000_0093, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Trigger_21, function Trig_Trigger_21_Actions )
endfunction
function Trig_Trigger_22_Actions takes nothing returns nothing
call PlaySoundAtPointBJ( gg_snd_BuildingDeathLargeHuman, 100, GetRectCenter(gg_rct_Rect_140), 0 )
endfunction
//===========================================================================
function InitTrig_Trigger_22 takes nothing returns nothing
set gg_trg_Trigger_22 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Trigger_22, gg_unit_h00P_0094, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Trigger_22, function Trig_Trigger_22_Actions )
endfunction
function Trig_Trigger_23_Actions takes nothing returns nothing
call PlaySoundAtPointBJ( gg_snd_CityBuildingDeath1, 100, GetRectCenter(gg_rct_Rect_139), 0 )
endfunction
//===========================================================================
function InitTrig_Trigger_23 takes nothing returns nothing
set gg_trg_Trigger_23 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Trigger_23, gg_unit_h00P_0095, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Trigger_23, function Trig_Trigger_23_Actions )
endfunction
function Trig_Trigger_24_Actions takes nothing returns nothing
call PlaySoundAtPointBJ( gg_snd_BuildingDeathLargeHuman, 100, GetRectCenter(gg_rct_Rect_143), 0 )
endfunction
//===========================================================================
function InitTrig_Trigger_24 takes nothing returns nothing
set gg_trg_Trigger_24 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Trigger_24, gg_unit_h00P_0097, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Trigger_24, function Trig_Trigger_24_Actions )
endfunction
function Trig_Trigger_25_Actions takes nothing returns nothing
call PlaySoundAtPointBJ( gg_snd_CityBuildingDeath1, 100, GetRectCenter(gg_rct_Rect_141), 0 )
endfunction
//===========================================================================
function InitTrig_Trigger_25 takes nothing returns nothing
set gg_trg_Trigger_25 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Trigger_25, gg_unit_h00P_0098, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Trigger_25, function Trig_Trigger_25_Actions )
endfunction
function Trig_Trigger_26_Actions takes nothing returns nothing
call PlaySoundAtPointBJ( gg_snd_BuildingDeathLargeHuman, 100, GetRectCenter(gg_rct_Rect_142), 0 )
endfunction
//===========================================================================
function InitTrig_Trigger_26 takes nothing returns nothing
set gg_trg_Trigger_26 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Trigger_26, gg_unit_h00P_0096, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Trigger_26, function Trig_Trigger_26_Actions )
endfunction
function Trig_Trigger_27_Actions takes nothing returns nothing
call PlaySoundAtPointBJ( gg_snd_CityBuildingDeath1, 100, GetRectCenter(gg_rct_Rect_144), 0 )
endfunction
//===========================================================================
function InitTrig_Trigger_27 takes nothing returns nothing
set gg_trg_Trigger_27 = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Trigger_27, gg_unit_h00E_0092, EVENT_UNIT_DEATH )
call TriggerAddAction( gg_trg_Trigger_27, function Trig_Trigger_27_Actions )
endfunction