Name | Type | is_array | initial_value |
LeaderBoard | leaderboard | No | |
LeaderBoardCount | integer | Yes |
function Trig_Scene1_Func004A takes nothing returns nothing
call PanCameraToTimedLocForPlayer( GetEnumPlayer(), GetUnitLoc(gg_unit_hcth_0000), 0 )
endfunction
function Trig_Scene1_Actions takes nothing returns nothing
call CinematicModeBJ( true, GetPlayersAll() )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_001" )
call PlaySoundBJ( gg_snd_Peacefulmusic )
call ForForce( GetPlayersAll(), function Trig_Scene1_Func004A )
call TriggerSleepAction( 5.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_002" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 5.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_003" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 5.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_004" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_005" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 5.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_006" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_007" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_008" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call CreateNUnitsAtLocFacingLocBJ( 1, 'hfoo', Player(1), GetRectCenter(gg_rct_Region_000), GetUnitLoc(gg_unit_hcth_0000) )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_009" )
call PlaySoundBJ( gg_snd_QuestActivateWhat1 )
call TriggerSleepAction( 2.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_010" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 4.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_011" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_012" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_013" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_014" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 4.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_015" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 4.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_016" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 4.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_017" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_018" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_019" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_020" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_021" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call RemoveUnit( GetLastCreatedUnit() )
call TriggerSleepAction( 2.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_025" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call PlaySoundBJ( gg_snd_Peacefulmusic )
call SetSoundVolumeBJ( gg_snd_Peacefulmusic, 50.00 )
call TriggerSleepAction( 6.00 )
call PlaySoundBJ( gg_snd_Exorcist )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_023" )
call PlaySoundBJ( gg_snd_QuestActivateWhat1 )
call CreateNUnitsAtLocFacingLocBJ( 1, 'hfoo', Player(2), GetRectCenter(gg_rct_Region_001), GetUnitLoc(gg_unit_hcth_0000) )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_026" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_024" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_028" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 4.00 )
call CreateNUnitsAtLocFacingLocBJ( 1, 'hfoo', Player(3), GetRectCenter(gg_rct_Region_002), GetUnitLoc(gg_unit_hcth_0000) )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_042" )
call PlaySoundBJ( gg_snd_QuestActivateWhat1 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_029" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 4.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_030" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 4.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_031" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 4.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_032" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_033" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_043" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call PlaySoundBJ( gg_snd_QuestActivateWhat1 )
call CreateNUnitsAtLocFacingLocBJ( 1, 'hfoo', Player(1), GetRectCenter(gg_rct_Region_000), GetUnitLoc(gg_unit_hcth_0000) )
call TriggerSleepAction( 2.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_044" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_045" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_046" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 1.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_047" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_048" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_049" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_051" )
call RemoveUnit( GetLastCreatedUnit() )
call TriggerSleepAction( 2.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_052" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call PlaySoundBJ( gg_snd_QuestActivateWhat1 )
call CreateNUnitsAtLocFacingLocBJ( 1, 'hfoo', Player(1), GetRectCenter(gg_rct_Region_000), GetUnitLoc(gg_unit_hcth_0000) )
call TriggerSleepAction( 2.00 )
call PlaySoundBJ( gg_snd_Exorcist )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_054" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_055" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_056" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call TriggerExecute( gg_trg_Scene2 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_296" )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_295" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call RemoveUnit( GetLastCreatedUnit() )
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 7
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call TriggerSleepAction( 0.80 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_058" )
call PlaySoundBJ( gg_snd_QuestActivateWhat1 )
call CreateNUnitsAtLocFacingLocBJ( 1, 'hfoo', Player(1), GetRectCenter(gg_rct_Region_000), GetUnitLoc(gg_unit_hcth_0000) )
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_059" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 0.40 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_060" )
call RemoveUnit( GetLastCreatedUnit() )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
endfunction
//===========================================================================
function InitTrig_Scene1 takes nothing returns nothing
set gg_trg_Scene1 = CreateTrigger( )
call TriggerRegisterTimerEventSingle( gg_trg_Scene1, 0.00 )
call TriggerAddAction( gg_trg_Scene1, function Trig_Scene1_Actions )
endfunction
function Trig_Scene2_Actions takes nothing returns nothing
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_061" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 4.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_062" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 4.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_071" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_072" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call TriggerExecute( gg_trg_scene2A )
call TriggerSleepAction( 3.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_074" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 3.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_075" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call PlaySoundBJ( gg_snd_Exorcist )
call TriggerSleepAction( 3.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_076" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 3.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_077" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 3.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_078" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call TriggerExecute( gg_trg_Scene2B )
call TriggerSleepAction( 4.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_081" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 4.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_085" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 4.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_086" )
call PlaySoundBJ( gg_snd_QuestActivateWhat1 )
call CreateNUnitsAtLocFacingLocBJ( 1, 'hfoo', Player(1), GetRectCenter(gg_rct_Region_000), GetUnitLoc(gg_unit_hcth_0000) )
call TriggerSleepAction( 4.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_087" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_088" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_089" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_091" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_092" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 1.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_093" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_094" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_095" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call PlaySoundBJ( gg_snd_Exorcist )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_096" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_097" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 4.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_098" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_099" )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_100" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_101" )
call RemoveUnit( GetLastCreatedUnit() )
call TriggerSleepAction( 2.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_102" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_103" )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_104" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_105" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_107" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_108" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_109" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call StopSoundBJ( gg_snd_Exorcist, false )
call StopMusicBJ( false )
call PlaySoundBJ( gg_snd_04_Bat_Country_2 )
call StopSoundBJ( gg_snd_Peacefulmusic, false )
call TriggerExecute( gg_trg_Scene2C )
call TriggerSleepAction( 17.50 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_126" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 1.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_127" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_129" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 1.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_128" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_130" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_131" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 2.00 )
call TriggerExecute( gg_trg_Scene3 )
endfunction
//===========================================================================
function InitTrig_Scene2 takes nothing returns nothing
set gg_trg_Scene2 = CreateTrigger( )
call TriggerAddAction( gg_trg_Scene2, function Trig_Scene2_Actions )
endfunction
function Trig_scene2A_Actions takes nothing returns nothing
set bj_forLoopBIndex = 1
set bj_forLoopBIndexEnd = 16
loop
exitwhen bj_forLoopBIndex > bj_forLoopBIndexEnd
call TriggerSleepAction( 1.00 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_082" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
set bj_forLoopBIndex = bj_forLoopBIndex + 1
endloop
endfunction
//===========================================================================
function InitTrig_scene2A takes nothing returns nothing
set gg_trg_scene2A = CreateTrigger( )
call TriggerAddAction( gg_trg_scene2A, function Trig_scene2A_Actions )
endfunction
function Trig_Scene2B_Actions takes nothing returns nothing
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 15
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call TriggerSleepAction( 0.50 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_083" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
call TriggerSleepAction( 0.10 )
call DisplayTimedTextToForce( GetPlayersAll(), 30, "TRIGSTR_084" )
call PlaySoundBJ( gg_snd_InGameChatWhat1 )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
endfunction
//===========================================================================
function InitTrig_Scene2B takes nothing returns nothing
set gg_trg_Scene2B = CreateTrigger( )
call TriggerAddAction( gg_trg_Scene2B, function Trig_Scene2B_Actions )
endfunction