Name | Type | is_array | initial_value |
AjizStandinggroupguyz | group | No | |
Blacklightunit | unit | No | |
board | leaderboard | No | |
BOARDAJIZkillCOUNT2 | integer | No | |
BOARDKILL | unit | No | |
BOSSshit | unit | No | |
bttimer | timer | No | |
cheatajizizoc | dialog | No | |
cheatbuttonajizizoc | button | Yes | |
COUNTREINF | integer | No | |
CURRPLAY_SND | sound | No | |
DialogueButton | button | Yes | |
DifficultyBut | button | Yes | |
dmmhdo_zes | unit | Yes | |
heroenemyshit | unit | No | |
INTEGERSTANDINGAJIZ | integer | No | |
KICKPLAYERbbb | button | Yes | |
KICKPLAYERD | dialog | No | |
MUSIC | sound | Yes | |
MUSIC_T | integer | Yes | |
musictrigs | trigger | Yes | |
PREISTshit | group | No | |
questman | unit | No | |
rannumSTUFFCRAPS | integer | No | |
SelectDifficulty | dialog | No | |
SelectRace | dialog | No | |
setallheros | group | No | |
SOUNHEROIC | sound | No | |
StandingNonMoversCheck | unit | Yes | |
supercool | texttag | No | |
tempestFIRE | effect | Yes | |
tempestFIRE2 | effect | Yes | |
Timer | timer | No | |
tRn_value | integer | No | |
uberslapcock | ubersplat | Yes | |
unitdie | texttag | No | |
unitdiegood | texttag | No | |
zApper_T | unit | No | |
zappereff | effect | Yes | |
zappertargetSTff | effect | Yes |
function Trig_actual_cinimic_Func006002 takes nothing returns nothing
call CinematicModeBJ( true, GetPlayersAll() )
endfunction
function Trig_actual_cinimic_Func007002 takes nothing returns nothing
call CinematicFadeBJ( bj_CINEFADETYPE_FADEOUTIN, 10.00, "ReplaceableTextures\\CameraMasks\\Black_mask.blp", 0, 0, 0, 0 )
endfunction
function Trig_actual_cinimic_Func008002 takes nothing returns nothing
call PanCameraToTimedLocForPlayer( GetEnumPlayer(), GetRectCenter(gg_rct_DONT_DELETE_THIS_REGION_AJZIZIZOC), 0 )
endfunction
function Trig_actual_cinimic_Func027002 takes nothing returns nothing
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(0), 'hmpr', "TRIGSTR_2757", GetRectCenter(gg_rct_cinimic_ajizizioc), null, "TRIGSTR_2758", bj_TIMETYPE_SET, 20.00, true )
endfunction
function Trig_actual_cinimic_Func030002 takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnumUnit(), "attack", GetRectCenter(gg_rct_dont_delete_this_region_too) )
endfunction
function Trig_actual_cinimic_Func031002 takes nothing returns nothing
call CameraSetupApplyForPlayer( true, gg_cam_Camera_004, GetEnumPlayer(), 3.75 )
endfunction
function Trig_actual_cinimic_Func038002 takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnumUnit(), "attack", GetRectCenter(gg_rct_Attack_region) )
endfunction
function Trig_actual_cinimic_Func040002 takes nothing returns nothing
call AddSpecialEffectTargetUnitBJ( "overhead", GetEnumUnit(), "Objects\\Spawnmodels\\Undead\\UndeadDissipate\\UndeadDissipate.mdl" )
endfunction
function Trig_actual_cinimic_Func042002 takes nothing returns nothing
call AddSpecialEffectTargetUnitBJ( "head", GetEnumUnit(), "Objects\\Spawnmodels\\Orc\\Orcblood\\OrcBloodHellScream.mdl" )
endfunction
function Trig_actual_cinimic_Func044002 takes nothing returns nothing
call KillUnit( GetEnumUnit() )
endfunction
function Trig_actual_cinimic_Func047002 takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnumUnit(), "move", GetRectCenter(gg_rct_cinimic_ajizizioc) )
endfunction
function Trig_actual_cinimic_Func048002 takes nothing returns nothing
call SetUnitInvulnerable( GetEnumUnit(), true )
endfunction
function Trig_actual_cinimic_Func049002 takes nothing returns nothing
call SetUnitMoveSpeed( GetEnumUnit(), 210.00 )
endfunction
function Trig_actual_cinimic_Func051002 takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnumUnit(), "move", GetRectCenter(gg_rct_Attack_region) )
endfunction
function Trig_actual_cinimic_Func052002002 takes nothing returns nothing
call SetCameraTargetControllerNoZForPlayer( GetEnumPlayer(), GetEnumUnit(), 0, 0, false )
endfunction
function Trig_actual_cinimic_Func052002 takes nothing returns nothing
call ForGroupBJ( GetUnitsOfPlayerAndTypeId(Player(7), 'h008'), function Trig_actual_cinimic_Func052002002 )
endfunction
function Trig_actual_cinimic_Func057002 takes nothing returns nothing
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(0), 'hmpr', "TRIGSTR_2744", GetRectCenter(gg_rct_cinimic_ajizizioc), null, "TRIGSTR_2745", bj_TIMETYPE_SET, 16.00, true )
endfunction
function Trig_actual_cinimic_Func059002 takes nothing returns nothing
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(0), 'hmpr', "TRIGSTR_2746", GetRectCenter(gg_rct_cinimic_ajizizioc), null, "TRIGSTR_2747", bj_TIMETYPE_SET, 20.00, true )
endfunction
function Trig_actual_cinimic_Func061002 takes nothing returns nothing
call TransmissionFromUnitTypeWithNameBJ( GetPlayersAll(), Player(0), 'h01B', "TRIGSTR_2759", GetRectCenter(gg_rct_cinimic_ajizizioc), null, "TRIGSTR_2760", bj_TIMETYPE_SET, 27.00, true )
endfunction
function Trig_actual_cinimic_Func064002 takes nothing returns nothing
call CustomVictoryBJ( GetEnumPlayer(), true, true )
endfunction
function Trig_actual_cinimic_Actions takes nothing returns nothing
call PlaySoundBJ( gg_snd_HeroicVictory )
set udg_SOUNHEROIC = GetLastPlayedSound()
call TriggerSleepAction( 0.40 )
call MoveRectToLoc( gg_rct_Middle_Top_Spawn, GetRectCenter(gg_rct_air_region1) )
call TriggerSleepAction( 0.40 )
call ForForce( GetPlayersAll(), function Trig_actual_cinimic_Func006002 )
call ForForce( GetPlayersAll(), function Trig_actual_cinimic_Func007002 )
call ForForce( GetPlayersAll(), function Trig_actual_cinimic_Func008002 )
call TriggerSleepAction( 0.01 )
call SetPlayerTechResearchedSwap( 'Rume', 0, Player(8) )
call SetPlayerTechResearchedSwap( 'Rura', 0, Player(8) )
call SetPlayerTechResearchedSwap( 'Ruar', 0, Player(8) )
call SetPlayerTechResearchedSwap( 'R018', 0, Player(8) )
call SetPlayerTechResearchedSwap( 'R01C', 0, Player(8) )
call SetPlayerTechResearchedSwap( 'R01E', 0, Player(8) )
call SetPlayerTechResearchedSwap( 'R018', 0, Player(8) )
call TriggerSleepAction( 0.01 )
call CreateNUnitsAtLoc( 10, 'e005', Player(7), GetRandomLocInRect(gg_rct_cinimic_ajizizioc), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 2, 'h010', Player(7), GetRandomLocInRect(gg_rct_cinimic_ajizizioc), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 3, 'h00X', Player(7), GetRandomLocInRect(gg_rct_cinimic_ajizizioc), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 4, 'e00D', Player(7), GetRandomLocInRect(gg_rct_cinimic_ajizizioc), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 2, 'e00A', Player(7), GetRandomLocInRect(gg_rct_cinimic_ajizizioc), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 3, 'u00H', Player(8), GetRandomLocInRect(gg_rct_cinimic_ajizizioc), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 4, 'u002', Player(8), GetRandomLocInRect(gg_rct_cinimic_ajizizioc), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 4, 'u003', Player(8), GetRandomLocInRect(gg_rct_cinimic_ajizizioc), bj_UNIT_FACING )
call TriggerSleepAction( 4.00 )
call ForForce( GetPlayersAll(), function Trig_actual_cinimic_Func027002 )
call CreateNUnitsAtLoc( 4, 'u00C', Player(8), GetRandomLocInRect(gg_rct_cinimic_ajizizioc), bj_UNIT_FACING )
call TriggerSleepAction( 3.00 )
call ForGroupBJ( GetUnitsInRectOfPlayer(gg_rct_cinimic_ajizizioc, Player(7)), function Trig_actual_cinimic_Func030002 )
call ForForce( GetPlayersAll(), function Trig_actual_cinimic_Func031002 )
call TriggerSleepAction( 27.00 )
call CreateDestructableLoc( 'OTsp', GetRectCenter(gg_rct_AJIZIZIZIZIZICOCOCO_PORTAL), 90.00, 1, 0 )
call SetDestructableAnimationBJ( RandomDestructableInRectSimpleBJ(gg_rct_AJIZIZIZIZIZICOCOCO_PORTAL), "birth" )
call TriggerSleepAction( 0.80 )
call CreateNUnitsAtLoc( 1, 'Uwar', Player(8), GetRectCenter(gg_rct_AJIZIZIZIZIZICOCOCO_PORTAL), bj_UNIT_FACING )
call TriggerSleepAction( 0.80 )
call ForGroupBJ( GetUnitsOfPlayerAndTypeId(Player(8), 'Uwar'), function Trig_actual_cinimic_Func038002 )
call TriggerSleepAction( 1.00 )
call ForGroupBJ( GetUnitsOfPlayerAll(Player(7)), function Trig_actual_cinimic_Func040002 )
call TriggerSleepAction( 2.55 )
call ForGroupBJ( GetUnitsOfPlayerAll(Player(7)), function Trig_actual_cinimic_Func042002 )
call TriggerSleepAction( 0.50 )
call ForGroupBJ( GetUnitsInRectOfPlayer(gg_rct_cinimic_ajizizioc, Player(7)), function Trig_actual_cinimic_Func044002 )
call TriggerSleepAction( 1.50 )
call CreateNUnitsAtLocFacingLocBJ( 1, 'h008', Player(7), GetRectCenter(gg_rct_Region_022), GetUnitLoc(GetTriggerUnit()) )
call ForGroupBJ( GetUnitsOfPlayerAndTypeId(Player(7), 'h008'), function Trig_actual_cinimic_Func047002 )
call ForGroupBJ( GetUnitsOfPlayerAndTypeId(Player(7), 'h008'), function Trig_actual_cinimic_Func048002 )
call ForGroupBJ( GetUnitsOfPlayerAndTypeId(Player(7), 'h008'), function Trig_actual_cinimic_Func049002 )
call TriggerSleepAction( 8.00 )
call ForGroupBJ( GetUnitsOfPlayerAndTypeId(Player(7), 'h008'), function Trig_actual_cinimic_Func051002 )
call ForForce( GetPlayersAll(), function Trig_actual_cinimic_Func052002 )
call TriggerSleepAction( 1.50 )
call StopSoundBJ( GetLastPlayedSound(), false )
call TriggerSleepAction( 0.20 )
call PlaySoundBJ( gg_snd_SadMystery )
call ForForce( GetPlayersAll(), function Trig_actual_cinimic_Func057002 )
call TriggerSleepAction( 16.00 )
call ForForce( GetPlayersAll(), function Trig_actual_cinimic_Func059002 )
call TriggerSleepAction( 20.00 )
call ForForce( GetPlayersAll(), function Trig_actual_cinimic_Func061002 )
call TriggerSleepAction( 27.00 )
call DisplayTextToForce( GetPlayersAll(), "TRIGSTR_2712" )
call ForForce( GetPlayersAllies(Player(0)), function Trig_actual_cinimic_Func064002 )
endfunction
//===========================================================================
function InitTrig_actual_cinimic takes nothing returns nothing
set gg_trg_actual_cinimic = CreateTrigger( )
call TriggerAddAction( gg_trg_actual_cinimic, function Trig_actual_cinimic_Actions )
endfunction
function Trig_easter_egg_ajizizoc_Conditions takes nothing returns boolean
if ( not ( GetSpellAbilityId() == 'A04G' ) ) then
return false
endif
return true
endfunction
function Trig_easter_egg_ajizizoc_Func003002 takes nothing returns nothing
call AdjustPlayerStateBJ( 1000000000, GetEnumPlayer(), PLAYER_STATE_RESOURCE_GOLD )
endfunction
function Trig_easter_egg_ajizizoc_Actions takes nothing returns nothing
call DisplayTimedTextToForce( GetPlayersAll(), 5.00, "TRIGSTR_2751" )
call AddSpecialEffectTargetUnitBJ( "chest", GetSpellAbilityUnit(), "Units\\Demon\\Infernal\\InfernalBirth.mdl" )
call ForForce( GetPlayersAll(), function Trig_easter_egg_ajizizoc_Func003002 )
endfunction
//===========================================================================
function InitTrig_easter_egg_ajizizoc takes nothing returns nothing
set gg_trg_easter_egg_ajizizoc = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_easter_egg_ajizizoc, EVENT_PLAYER_UNIT_SPELL_CAST )
call TriggerAddCondition( gg_trg_easter_egg_ajizizoc, Condition( function Trig_easter_egg_ajizizoc_Conditions ) )
call TriggerAddAction( gg_trg_easter_egg_ajizizoc, function Trig_easter_egg_ajizizoc_Actions )
endfunction
function Trig_cat_missle_Conditions takes nothing returns boolean
if ( not ( GetSpellAbilityId() == 'Asds' ) ) then
return false
endif
return true
endfunction
function Trig_cat_missle_Actions takes nothing returns nothing
call CinematicFadeBJ( bj_CINEFADETYPE_FADEOUTIN, 3.00, "ReplaceableTextures\\CameraMasks\\White_mask.blp", 0, 0, 0, 0 )
call DisplayTimedTextToForce( GetPlayersAll(), 10.00, "TRIGSTR_2726" )
call PlaySoundBJ( gg_snd_impactsamp )
call TriggerSleepAction( 0.80 )
call PlaySoundBJ( gg_snd_impactsamp )
endfunction
//===========================================================================
function InitTrig_cat_missle takes nothing returns nothing
set gg_trg_cat_missle = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_cat_missle, EVENT_PLAYER_UNIT_SPELL_CAST )
call TriggerAddCondition( gg_trg_cat_missle, Condition( function Trig_cat_missle_Conditions ) )
call TriggerAddAction( gg_trg_cat_missle, function Trig_cat_missle_Actions )
endfunction
function Trig_sword_rider_flames_cool_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetAttacker()) == 'Obla' ) ) then
return false
endif
return true
endfunction
function Trig_sword_rider_flames_cool_Func001C takes nothing returns boolean
if ( not ( GetRandomInt(1, 29) == 1 ) ) then
return false
endif
return true
endfunction
function Trig_sword_rider_flames_cool_Actions takes nothing returns nothing
if ( Trig_sword_rider_flames_cool_Func001C() ) then
call AddSpecialEffectTargetUnitBJ( "head", GetAttackedUnitBJ(), "Abilities\\Spells\\Other\\BreathOfFire\\BreathOfFireMissile.mdl" )
call TriggerSleepAction( 1.00 )
call PlaySoundBJ( gg_snd_InfernalBirth1 )
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(GetAttackedUnitBJ()), 400.00, 90.00), "Objects\\Spawnmodels\\Demon\\InfernalMeteor\\InfernalMeteor3.mdl" )
call TriggerSleepAction( 2.00 )
call PlaySoundBJ( gg_snd_InfernalBirth1 )
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetUnitLoc(GetAttackedUnitBJ()), 600.00, 90.00), "Objects\\Spawnmodels\\Demon\\InfernalMeteor\\InfernalMeteor2.mdl" )
else
call DoNothing( )
endif
endfunction
//===========================================================================
function InitTrig_sword_rider_flames_cool takes nothing returns nothing
set gg_trg_sword_rider_flames_cool = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_sword_rider_flames_cool, EVENT_PLAYER_UNIT_ATTACKED )
call TriggerAddCondition( gg_trg_sword_rider_flames_cool, Condition( function Trig_sword_rider_flames_cool_Conditions ) )
call TriggerAddAction( gg_trg_sword_rider_flames_cool, function Trig_sword_rider_flames_cool_Actions )
endfunction
function Trig_gain_the_ultica_weapon_Conditions takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetManipulatingUnit(), 'I00A') == true ) ) then
return false
endif
return true
endfunction
function Trig_gain_the_ultica_weapon_Actions takes nothing returns nothing
call DisplayTextToForce( GetPlayersAll(), "TRIGSTR_2166" )
call TriggerSleepAction( 0.50 )
call CreateNUnitsAtLoc( 4, 'h00E', GetOwningPlayer(GetManipulatingUnit()), GetUnitLoc(GetManipulatingUnit()), bj_UNIT_FACING )
call TriggerSleepAction( 0.50 )
call AddSpecialEffectTargetUnitBJ( "origin", GetManipulatingUnit(), "Objects\\Spawnmodels\\Other\\ToonBoom\\ToonBoom.mdl" )
call TriggerSleepAction( 0.50 )
call AddSpecialEffectTargetUnitBJ( "head", GetManipulatingUnit(), "Objects\\Spawnmodels\\Other\\ToonBoom\\ToonBoom.mdl" )
call AddSpecialEffectTargetUnitBJ( "hand, left", GetManipulatingUnit(), "Objects\\Spawnmodels\\Other\\ToonBoom\\ToonBoom.mdl" )
call AddSpecialEffectTargetUnitBJ( "hand, right", GetManipulatingUnit(), "Objects\\Spawnmodels\\Other\\ToonBoom\\ToonBoom.mdl" )
call TriggerSleepAction( 0.50 )
call RemoveItem( GetItemOfTypeFromUnitBJ(GetManipulatingUnit(), 'I00A') )
endfunction
//===========================================================================
function InitTrig_gain_the_ultica_weapon takes nothing returns nothing
set gg_trg_gain_the_ultica_weapon = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_gain_the_ultica_weapon, EVENT_PLAYER_UNIT_PICKUP_ITEM )
call TriggerAddCondition( gg_trg_gain_the_ultica_weapon, Condition( function Trig_gain_the_ultica_weapon_Conditions ) )
call TriggerAddAction( gg_trg_gain_the_ultica_weapon, function Trig_gain_the_ultica_weapon_Actions )
endfunction
function Trig_moth_man_spell_cooler_effects_Conditions takes nothing returns boolean
if ( not ( GetSpellAbilityId() == 'A04E' ) ) then
return false
endif
return true
endfunction
function Trig_moth_man_spell_cooler_effects_Actions takes nothing returns nothing
call PlaySoundOnUnitBJ( gg_snd_axe_throw, 100, GetSpellAbilityUnit() )
call TriggerSleepAction( 0.50 )
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetRectCenter(GetPlayableMapRect()), 150.00, 90.00), "Objects\\Spawnmodels\\Naga\\NagaBlood\\NagaBloodWindserpent.mdl" )
call TriggerSleepAction( 0.70 )
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetRectCenter(GetPlayableMapRect()), 300.00, 90.00), "Objects\\Spawnmodels\\Naga\\NagaBlood\\NagaBloodWindserpent.mdl" )
call TriggerSleepAction( 0.70 )
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetRectCenter(GetPlayableMapRect()), 450.00, 90.00), "Objects\\Spawnmodels\\Naga\\NagaBlood\\NagaBloodWindserpent.mdl" )
call TriggerSleepAction( 0.70 )
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetRectCenter(GetPlayableMapRect()), 600.00, 90.00), "Objects\\Spawnmodels\\Naga\\NagaBlood\\NagaBloodWindserpent.mdl" )
call TriggerSleepAction( 0.70 )
call AddSpecialEffectLocBJ( PolarProjectionBJ(GetRectCenter(GetPlayableMapRect()), 750.00, 90.00), "Objects\\Spawnmodels\\Naga\\NagaBlood\\NagaBloodWindserpent.mdl" )
endfunction
//===========================================================================
function InitTrig_moth_man_spell_cooler_effects takes nothing returns nothing
set gg_trg_moth_man_spell_cooler_effects = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_moth_man_spell_cooler_effects, EVENT_PLAYER_UNIT_SPELL_FINISH )
call TriggerAddCondition( gg_trg_moth_man_spell_cooler_effects, Condition( function Trig_moth_man_spell_cooler_effects_Conditions ) )
call TriggerAddAction( gg_trg_moth_man_spell_cooler_effects, function Trig_moth_man_spell_cooler_effects_Actions )
endfunction
function Trig_always_show_the_tavern_region_place_Func001002 takes nothing returns nothing
call CreateFogModifierRectBJ( true, GetEnumPlayer(), FOG_OF_WAR_VISIBLE, gg_rct_Hero_Summoned_here )
endfunction
function Trig_always_show_the_tavern_region_place_Actions takes nothing returns nothing
call ForForce( GetPlayersAll(), function Trig_always_show_the_tavern_region_place_Func001002 )
endfunction
//===========================================================================
function InitTrig_always_show_the_tavern_region_place takes nothing returns nothing
set gg_trg_always_show_the_tavern_region_place = CreateTrigger( )
call TriggerRegisterTimerEventSingle( gg_trg_always_show_the_tavern_region_place, 1.00 )
call TriggerAddAction( gg_trg_always_show_the_tavern_region_place, function Trig_always_show_the_tavern_region_place_Actions )
endfunction
function Trig_big_nuke_effects_BOOM_Conditions takes nothing returns boolean
if ( not ( GetSpellAbilityId() == 'A00D' ) ) then
return false
endif
return true
endfunction
function Trig_big_nuke_effects_BOOM_Actions takes nothing returns nothing
call DisplayTextToForce( GetPlayersAll(), "TRIGSTR_2785" )
call CinematicFadeBJ( bj_CINEFADETYPE_FADEOUTIN, 5.00, "ReplaceableTextures\\CameraMasks\\White_mask.blp", 0, 100.00, 0, 0 )
call TriggerSleepAction( 0.20 )
call PlaySoundBJ( gg_snd_impactsamp )
call TriggerSleepAction( 1.00 )
call PlaySoundBJ( gg_snd_impactsamp )
call TriggerSleepAction( 1.00 )
call PlaySoundBJ( gg_snd_impactsamp )
endfunction
//===========================================================================
function InitTrig_big_nuke_effects_BOOM takes nothing returns nothing
set gg_trg_big_nuke_effects_BOOM = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_big_nuke_effects_BOOM, EVENT_PLAYER_UNIT_SPELL_CAST )
call TriggerAddCondition( gg_trg_big_nuke_effects_BOOM, Condition( function Trig_big_nuke_effects_BOOM_Conditions ) )
call TriggerAddAction( gg_trg_big_nuke_effects_BOOM, function Trig_big_nuke_effects_BOOM_Actions )
endfunction
function Trig_hero_dies_revive_at_place_Conditions takes nothing returns boolean
if ( not ( IsUnitType(GetDyingUnit(), UNIT_TYPE_HERO) == true ) ) then
return false
endif
return true
endfunction
function Trig_hero_dies_revive_at_place_Actions takes nothing returns nothing
call DisplayTextToForce( GetForceOfPlayer(GetOwningPlayer(GetDyingUnit())), "TRIGSTR_2810" )
call TriggerSleepAction( 0.30 )
call PanCameraToTimedLocForPlayer( GetOwningPlayer(GetDyingUnit()), GetRectCenter(gg_rct_create_hero), 0 )
call ReviveHeroLoc( GetDyingUnit(), GetRectCenter(gg_rct_create_hero), true )
call TriggerSleepAction( 0.30 )
call SetUnitPositionLoc( GetDyingUnit(), GetRectCenter(gg_rct_create_hero) )
endfunction
//===========================================================================
function InitTrig_hero_dies_revive_at_place takes nothing returns nothing
set gg_trg_hero_dies_revive_at_place = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_hero_dies_revive_at_place, EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_hero_dies_revive_at_place, Condition( function Trig_hero_dies_revive_at_place_Conditions ) )
call TriggerAddAction( gg_trg_hero_dies_revive_at_place, function Trig_hero_dies_revive_at_place_Actions )
endfunction
function Trig_check_hero_Conditions takes nothing returns boolean
if ( not ( IsUnitType(GetTriggerUnit(), UNIT_TYPE_HERO) == true ) ) then
return false
endif
return true
endfunction
function Trig_check_hero_Func001Func001C takes nothing returns boolean
if ( not ( GetPlayerState(GetOwningPlayer(GetTriggerUnit()), PLAYER_STATE_RESOURCE_GOLD) <= 524 ) ) then
return false
endif
return true
endfunction
function Trig_check_hero_Func001C takes nothing returns boolean
if ( not ( GetPlayerState(GetOwningPlayer(GetTriggerUnit()), PLAYER_STATE_RESOURCE_GOLD) >= 525 ) ) then
return false
endif
return true
endfunction
function Trig_check_hero_Actions takes nothing returns nothing
if ( Trig_check_hero_Func001C() ) then
call DisplayTextToForce( GetPlayersAll(), "TRIGSTR_2817" )
call AdjustPlayerStateBJ( -525, GetOwningPlayer(GetTriggerUnit()), PLAYER_STATE_RESOURCE_GOLD )
call PanCameraToTimedLocForPlayer( GetOwningPlayer(GetTriggerUnit()), GetRectCenter(gg_rct_WorkerSummon), 0 )
call TriggerSleepAction( 0.40 )
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_WorkerSummon) )
call AddSpecialEffectTargetUnitBJ( "overhead", GetTriggerUnit(), "UI\\Feedback\\GoldCredit\\GoldCredit.mdl" )
call TriggerSleepAction( 3.50 )
call DisplayTextToForce( GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())), "TRIGSTR_2819" )
call PlaySoundBJ( gg_snd_SecretFound )
else
if ( Trig_check_hero_Func001Func001C() ) then
call PlaySoundBJ( gg_snd_CreepAggroWhat1 )
call TriggerSleepAction( 0.50 )
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_create_hero) )
call DisplayTextToForce( GetPlayersAll(), "TRIGSTR_2820" )
call AddSpecialEffectTargetUnitBJ( "overhead", GetTriggerUnit(), "Objects\\Spawnmodels\\Undead\\UndeadDissipate\\UndeadDissipate.mdl" )
call PlaySoundBJ( gg_snd_MuradinTaunt1 )
else
call DoNothing( )
endif
endif
endfunction
//===========================================================================
function InitTrig_check_hero takes nothing returns nothing
set gg_trg_check_hero = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_check_hero, gg_rct_RESPAWN_HERO )
call TriggerAddCondition( gg_trg_check_hero, Condition( function Trig_check_hero_Conditions ) )
call TriggerAddAction( gg_trg_check_hero, function Trig_check_hero_Actions )
endfunction
function Trig_do_nothing_Conditions takes nothing returns boolean
if ( not ( IsUnitType(GetTriggerUnit(), UNIT_TYPE_HERO) == true ) ) then
return false
endif
return true
endfunction
function Trig_do_nothing_Actions takes nothing returns nothing
call DoNothing( )
endfunction
//===========================================================================
function InitTrig_do_nothing takes nothing returns nothing
set gg_trg_do_nothing = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_do_nothing, gg_rct_create_hero )
call TriggerAddCondition( gg_trg_do_nothing, Condition( function Trig_do_nothing_Conditions ) )
call TriggerAddAction( gg_trg_do_nothing, function Trig_do_nothing_Actions )
endfunction
function Trig_hero_dies_Copy_Conditions takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetManipulatingUnit(), 'I00O') == true ) ) then
return false
endif
return true
endfunction
function Trig_hero_dies_Copy_Actions takes nothing returns nothing
call DisplayTextToForce( GetPlayersAll(), "TRIGSTR_2789" )
call UnitRemoveItemSwapped( GetItemOfTypeFromUnitBJ(GetManipulatingUnit(), 'I00O'), GetManipulatingUnit() )
endfunction
//===========================================================================
function InitTrig_hero_dies_Copy takes nothing returns nothing
set gg_trg_hero_dies_Copy = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_hero_dies_Copy, EVENT_PLAYER_UNIT_PICKUP_ITEM )
call TriggerAddCondition( gg_trg_hero_dies_Copy, Condition( function Trig_hero_dies_Copy_Conditions ) )
call TriggerAddAction( gg_trg_hero_dies_Copy, function Trig_hero_dies_Copy_Actions )
endfunction
function Trig_hero_dies_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetManipulatingUnit(), 'I00P') == true ) ) then
return false
endif
return true
endfunction
function Trig_hero_dies_Copy_Copy_Actions takes nothing returns nothing
call DisplayTextToForce( GetPlayersAll(), "TRIGSTR_2790" )
call UnitRemoveItemSwapped( GetItemOfTypeFromUnitBJ(GetManipulatingUnit(), 'I00P'), GetManipulatingUnit() )
endfunction
//===========================================================================
function InitTrig_hero_dies_Copy_Copy takes nothing returns nothing
set gg_trg_hero_dies_Copy_Copy = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_hero_dies_Copy_Copy, EVENT_PLAYER_UNIT_PICKUP_ITEM )
call TriggerAddCondition( gg_trg_hero_dies_Copy_Copy, Condition( function Trig_hero_dies_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_hero_dies_Copy_Copy, function Trig_hero_dies_Copy_Copy_Actions )
endfunction
function Trig_hero_dies_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( UnitHasItemOfTypeBJ(GetManipulatingUnit(), 'I00N') == true ) ) then
return false
endif
return true
endfunction
function Trig_hero_dies_Copy_Copy_Copy_Actions takes nothing returns nothing
call DisplayTextToForce( GetPlayersAll(), "TRIGSTR_2791" )
call UnitRemoveItemSwapped( GetItemOfTypeFromUnitBJ(GetManipulatingUnit(), 'I00N'), GetManipulatingUnit() )
endfunction
//===========================================================================
function InitTrig_hero_dies_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_hero_dies_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_hero_dies_Copy_Copy_Copy, EVENT_PLAYER_UNIT_PICKUP_ITEM )
call TriggerAddCondition( gg_trg_hero_dies_Copy_Copy_Copy, Condition( function Trig_hero_dies_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_hero_dies_Copy_Copy_Copy, function Trig_hero_dies_Copy_Copy_Copy_Actions )
endfunction
function Trig_retreat_Func002002002 takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnumUnit(), "move", GetRectCenter(gg_rct_Attack_region) )
endfunction
function Trig_retreat_Func002002 takes nothing returns nothing
call ForGroupBJ( GetUnitsOfPlayerAll(GetEnumPlayer()), function Trig_retreat_Func002002002 )
endfunction
function Trig_retreat_Actions takes nothing returns nothing
call DisplayTextToForce( GetPlayersAll(), "TRIGSTR_2825" )
call ForForce( GetPlayersAllies(Player(0)), function Trig_retreat_Func002002 )
endfunction
//===========================================================================
function InitTrig_retreat takes nothing returns nothing
set gg_trg_retreat = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_retreat, Player(0), "retreat", true )
call TriggerRegisterPlayerChatEvent( gg_trg_retreat, Player(1), "retreat", true )
call TriggerRegisterPlayerChatEvent( gg_trg_retreat, Player(2), "retreat", true )
call TriggerRegisterPlayerChatEvent( gg_trg_retreat, Player(3), "retreat", true )
call TriggerRegisterPlayerChatEvent( gg_trg_retreat, Player(4), "retreat", true )
call TriggerRegisterPlayerChatEvent( gg_trg_retreat, Player(5), "retreat", true )
call TriggerRegisterPlayerChatEvent( gg_trg_retreat, Player(6), "retreat", true )
call TriggerRegisterPlayerChatEvent( gg_trg_retreat, Player(7), "retreat", true )
call TriggerAddAction( gg_trg_retreat, function Trig_retreat_Actions )
endfunction
function Trig_move_air_damn_it_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(GetTriggerUnit()) == Player(8) ) ) then
return false
endif
return true
endfunction
function Trig_move_air_damn_it_Func001002 takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnumUnit(), "attack", GetRectCenter(gg_rct_Rect_013) )
endfunction
function Trig_move_air_damn_it_Actions takes nothing returns nothing
call ForGroupBJ( GetUnitsInRectOfPlayer(gg_rct_air_region_2, Player(8)), function Trig_move_air_damn_it_Func001002 )
endfunction
//===========================================================================
function InitTrig_move_air_damn_it takes nothing returns nothing
set gg_trg_move_air_damn_it = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_move_air_damn_it, gg_rct_air_region_2 )
call TriggerAddCondition( gg_trg_move_air_damn_it, Condition( function Trig_move_air_damn_it_Conditions ) )
call TriggerAddAction( gg_trg_move_air_damn_it, function Trig_move_air_damn_it_Actions )
endfunction
function Trig_move_air_damn_it_Copy_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(GetTriggerUnit()) == Player(8) ) ) then
return false
endif
return true
endfunction
function Trig_move_air_damn_it_Copy_Func001002 takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnumUnit(), "attack", GetRectCenter(gg_rct_Rect_013) )
endfunction
function Trig_move_air_damn_it_Copy_Actions takes nothing returns nothing
call ForGroupBJ( GetUnitsInRectOfPlayer(gg_rct_air_region1, Player(8)), function Trig_move_air_damn_it_Copy_Func001002 )
endfunction
//===========================================================================
function InitTrig_move_air_damn_it_Copy takes nothing returns nothing
set gg_trg_move_air_damn_it_Copy = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_move_air_damn_it_Copy, gg_rct_air_region1 )
call TriggerAddCondition( gg_trg_move_air_damn_it_Copy, Condition( function Trig_move_air_damn_it_Copy_Conditions ) )
call TriggerAddAction( gg_trg_move_air_damn_it_Copy, function Trig_move_air_damn_it_Copy_Actions )
endfunction
function Trig_kill_standing_units_REMADE_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(GetTriggerUnit()) == Player(8) ) ) then
return false
endif
return true
endfunction
function Trig_kill_standing_units_REMADE_Func004Func001002 takes nothing returns nothing
call SetUnitPositionLoc( udg_StandingNonMoversCheck[udg_INTEGERSTANDINGAJIZ], GetRectCenter(gg_rct_ajizizoc_move_stuck_units) )
endfunction
function Trig_kill_standing_units_REMADE_Func004Func002001 takes nothing returns boolean
return ( CountUnitsInGroup(GetUnitsInRectOfPlayer(gg_rct_ajizizoc_move_stuck_units, Player(7))) <= udg_INTEGERSTANDINGAJIZ )
endfunction
function Trig_kill_standing_units_REMADE_Func004C takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectOfPlayer(gg_rct_Spawn_Lower_Right, Player(8))) <= ( udg_INTEGERSTANDINGAJIZ + 0 ) ) ) then
return false
endif
return true
endfunction
function Trig_kill_standing_units_REMADE_Actions takes nothing returns nothing
set udg_INTEGERSTANDINGAJIZ = ( CountUnitsInGroup(GetUnitsInRectOfPlayer(gg_rct_Spawn_Lower_Right, Player(8))) + 0 )
set udg_StandingNonMoversCheck[udg_INTEGERSTANDINGAJIZ] = GetTriggerUnit()
call TriggerSleepAction( 15.00 )
if ( Trig_kill_standing_units_REMADE_Func004C() ) then
call ForGroupBJ( GetUnitsInRectOfPlayer(gg_rct_Spawn_Lower_Right, Player(8)), function Trig_kill_standing_units_REMADE_Func004Func001002 )
if ( Trig_kill_standing_units_REMADE_Func004Func002001() ) then
call IssuePointOrderLocBJ( udg_StandingNonMoversCheck[udg_INTEGERSTANDINGAJIZ], "attack", GetRectCenter(gg_rct_Attack_region) )
else
call DoNothing( )
endif
call PingMinimapLocForForceEx( GetPlayersAll(), GetRectCenter(gg_rct_ajizizoc_move_stuck_units), 2.00, bj_MINIMAPPINGSTYLE_ATTACK, 100, 100, 100 )
else
call DoNothing( )
endif
endfunction
//===========================================================================
function InitTrig_kill_standing_units_REMADE takes nothing returns nothing
set gg_trg_kill_standing_units_REMADE = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_kill_standing_units_REMADE, gg_rct_Spawn_Lower_Right )
call TriggerAddCondition( gg_trg_kill_standing_units_REMADE, Condition( function Trig_kill_standing_units_REMADE_Conditions ) )
call TriggerAddAction( gg_trg_kill_standing_units_REMADE, function Trig_kill_standing_units_REMADE_Actions )
endfunction
function Trig_kill_standing_units_REMADE_Copy_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(GetTriggerUnit()) == Player(8) ) ) then
return false
endif
return true
endfunction
function Trig_kill_standing_units_REMADE_Copy_Func004Func001002 takes nothing returns nothing
call SetUnitPositionLoc( udg_StandingNonMoversCheck[udg_INTEGERSTANDINGAJIZ], GetRectCenter(gg_rct_ajizizoc_move_stuck_units) )
endfunction
function Trig_kill_standing_units_REMADE_Copy_Func004Func002001 takes nothing returns boolean
return ( CountUnitsInGroup(GetUnitsInRectOfPlayer(gg_rct_ajizizoc_move_stuck_units, Player(7))) <= udg_INTEGERSTANDINGAJIZ )
endfunction
function Trig_kill_standing_units_REMADE_Copy_Func004Func004C takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectOfPlayer(gg_rct_Top_Right_Spawn, Player(8))) <= udg_INTEGERSTANDINGAJIZ ) ) then
return false
endif
return true
endfunction
function Trig_kill_standing_units_REMADE_Copy_Func004C takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectOfPlayer(gg_rct_Top_Right_Spawn, Player(8))) <= ( udg_INTEGERSTANDINGAJIZ + 0 ) ) ) then
return false
endif
return true
endfunction
function Trig_kill_standing_units_REMADE_Copy_Actions takes nothing returns nothing
set udg_INTEGERSTANDINGAJIZ = ( CountUnitsInGroup(GetUnitsInRectOfPlayer(gg_rct_Top_Right_Spawn, Player(8))) + 0 )
set udg_StandingNonMoversCheck[udg_INTEGERSTANDINGAJIZ] = GetTriggerUnit()
call TriggerSleepAction( 15.00 )
if ( Trig_kill_standing_units_REMADE_Copy_Func004C() ) then
call ForGroupBJ( GetUnitsInRectOfPlayer(gg_rct_Top_Right_Spawn, Player(8)), function Trig_kill_standing_units_REMADE_Copy_Func004Func001002 )
if ( Trig_kill_standing_units_REMADE_Copy_Func004Func002001() ) then
call IssuePointOrderLocBJ( udg_StandingNonMoversCheck[udg_INTEGERSTANDINGAJIZ], "attack", GetRectCenter(gg_rct_Attack_region) )
else
call DoNothing( )
endif
call PingMinimapLocForForceEx( GetPlayersAll(), GetRectCenter(gg_rct_ajizizoc_move_stuck_units), 2.00, bj_MINIMAPPINGSTYLE_ATTACK, 100, 100, 100 )
if ( Trig_kill_standing_units_REMADE_Copy_Func004Func004C() ) then
call PingMinimapLocForForceEx( GetPlayersAll(), GetRectCenter(gg_rct_ajizizoc_move_stuck_units), 2.00, bj_MINIMAPPINGSTYLE_ATTACK, 100, 100, 100 )
call SetUnitPositionLoc( udg_StandingNonMoversCheck[udg_INTEGERSTANDINGAJIZ], GetRectCenter(gg_rct_Top_Right_Spawn) )
else
call DoNothing( )
endif
else
call DoNothing( )
endif
endfunction
//===========================================================================
function InitTrig_kill_standing_units_REMADE_Copy takes nothing returns nothing
set gg_trg_kill_standing_units_REMADE_Copy = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_kill_standing_units_REMADE_Copy, gg_rct_Top_Right_Spawn )
call TriggerAddCondition( gg_trg_kill_standing_units_REMADE_Copy, Condition( function Trig_kill_standing_units_REMADE_Copy_Conditions ) )
call TriggerAddAction( gg_trg_kill_standing_units_REMADE_Copy, function Trig_kill_standing_units_REMADE_Copy_Actions )
endfunction
function Trig_kill_standing_units_REMADE_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(GetTriggerUnit()) == Player(8) ) ) then
return false
endif
return true
endfunction
function Trig_kill_standing_units_REMADE_Copy_Copy_Func004Func001002 takes nothing returns nothing
call SetUnitPositionLoc( udg_StandingNonMoversCheck[udg_INTEGERSTANDINGAJIZ], GetRectCenter(gg_rct_ajizizoc_move_stuck_units) )
endfunction
function Trig_kill_standing_units_REMADE_Copy_Copy_Func004Func002001 takes nothing returns boolean
return ( CountUnitsInGroup(GetUnitsInRectOfPlayer(gg_rct_ajizizoc_move_stuck_units, Player(7))) <= udg_INTEGERSTANDINGAJIZ )
endfunction
function Trig_kill_standing_units_REMADE_Copy_Copy_Func004C takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectOfPlayer(gg_rct_Middle_Top_Spawn, Player(8))) <= ( udg_INTEGERSTANDINGAJIZ + 0 ) ) ) then
return false
endif
return true
endfunction
function Trig_kill_standing_units_REMADE_Copy_Copy_Actions takes nothing returns nothing
set udg_INTEGERSTANDINGAJIZ = ( CountUnitsInGroup(GetUnitsInRectOfPlayer(gg_rct_Middle_Top_Spawn, Player(8))) + 0 )
set udg_StandingNonMoversCheck[udg_INTEGERSTANDINGAJIZ] = GetTriggerUnit()
call TriggerSleepAction( 15.00 )
if ( Trig_kill_standing_units_REMADE_Copy_Copy_Func004C() ) then
call ForGroupBJ( GetUnitsInRectOfPlayer(gg_rct_Middle_Top_Spawn, Player(8)), function Trig_kill_standing_units_REMADE_Copy_Copy_Func004Func001002 )
if ( Trig_kill_standing_units_REMADE_Copy_Copy_Func004Func002001() ) then
call IssuePointOrderLocBJ( udg_StandingNonMoversCheck[udg_INTEGERSTANDINGAJIZ], "attack", GetRectCenter(gg_rct_Attack_region) )
else
call DoNothing( )
endif
call PingMinimapLocForForceEx( GetPlayersAll(), GetRectCenter(gg_rct_ajizizoc_move_stuck_units), 2.00, bj_MINIMAPPINGSTYLE_ATTACK, 100, 100, 100 )
else
call DoNothing( )
endif
endfunction
//===========================================================================
function InitTrig_kill_standing_units_REMADE_Copy_Copy takes nothing returns nothing
set gg_trg_kill_standing_units_REMADE_Copy_Copy = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_kill_standing_units_REMADE_Copy_Copy, gg_rct_Middle_Top_Spawn )
call TriggerAddCondition( gg_trg_kill_standing_units_REMADE_Copy_Copy, Condition( function Trig_kill_standing_units_REMADE_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_kill_standing_units_REMADE_Copy_Copy, function Trig_kill_standing_units_REMADE_Copy_Copy_Actions )
endfunction
function Trig_kill_standing_units_REMADE_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(GetTriggerUnit()) == Player(8) ) ) then
return false
endif
return true
endfunction
function Trig_kill_standing_units_REMADE_Copy_Copy_Copy_Func004Func001002 takes nothing returns nothing
call SetUnitPositionLoc( udg_StandingNonMoversCheck[udg_INTEGERSTANDINGAJIZ], GetRectCenter(gg_rct_ajizizoc_move_stuck_units) )
endfunction
function Trig_kill_standing_units_REMADE_Copy_Copy_Copy_Func004Func002001 takes nothing returns boolean
return ( CountUnitsInGroup(GetUnitsInRectOfPlayer(gg_rct_ajizizoc_move_stuck_units, Player(7))) <= udg_INTEGERSTANDINGAJIZ )
endfunction
function Trig_kill_standing_units_REMADE_Copy_Copy_Copy_Func004C takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectOfPlayer(gg_rct_Top_Left_Spawn, Player(8))) <= ( udg_INTEGERSTANDINGAJIZ + 0 ) ) ) then
return false
endif
return true
endfunction
function Trig_kill_standing_units_REMADE_Copy_Copy_Copy_Actions takes nothing returns nothing
set udg_INTEGERSTANDINGAJIZ = ( CountUnitsInGroup(GetUnitsInRectOfPlayer(gg_rct_Top_Left_Spawn, Player(8))) + 0 )
set udg_StandingNonMoversCheck[udg_INTEGERSTANDINGAJIZ] = GetTriggerUnit()
call TriggerSleepAction( 15.00 )
if ( Trig_kill_standing_units_REMADE_Copy_Copy_Copy_Func004C() ) then
call ForGroupBJ( GetUnitsInRectOfPlayer(gg_rct_Top_Left_Spawn, Player(8)), function Trig_kill_standing_units_REMADE_Copy_Copy_Copy_Func004Func001002 )
if ( Trig_kill_standing_units_REMADE_Copy_Copy_Copy_Func004Func002001() ) then
call IssuePointOrderLocBJ( udg_StandingNonMoversCheck[udg_INTEGERSTANDINGAJIZ], "attack", GetRectCenter(gg_rct_Attack_region) )
else
call DoNothing( )
endif
call PingMinimapLocForForceEx( GetPlayersAll(), GetRectCenter(gg_rct_ajizizoc_move_stuck_units), 2.00, bj_MINIMAPPINGSTYLE_ATTACK, 100, 100, 100 )
else
call DoNothing( )
endif
endfunction
//===========================================================================
function InitTrig_kill_standing_units_REMADE_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_kill_standing_units_REMADE_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_kill_standing_units_REMADE_Copy_Copy_Copy, gg_rct_Top_Left_Spawn )
call TriggerAddCondition( gg_trg_kill_standing_units_REMADE_Copy_Copy_Copy, Condition( function Trig_kill_standing_units_REMADE_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_kill_standing_units_REMADE_Copy_Copy_Copy, function Trig_kill_standing_units_REMADE_Copy_Copy_Copy_Actions )
endfunction
function Trig_kill_standing_units_REMADE_Copy_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(GetTriggerUnit()) == Player(8) ) ) then
return false
endif
return true
endfunction
function Trig_kill_standing_units_REMADE_Copy_Copy_Copy_Copy_Func004Func001002 takes nothing returns nothing
call SetUnitPositionLoc( udg_StandingNonMoversCheck[udg_INTEGERSTANDINGAJIZ], GetRectCenter(gg_rct_ajizizoc_move_stuck_units) )
endfunction
function Trig_kill_standing_units_REMADE_Copy_Copy_Copy_Copy_Func004Func002001 takes nothing returns boolean
return ( CountUnitsInGroup(GetUnitsInRectOfPlayer(gg_rct_ajizizoc_move_stuck_units, Player(7))) <= udg_INTEGERSTANDINGAJIZ )
endfunction
function Trig_kill_standing_units_REMADE_Copy_Copy_Copy_Copy_Func004C takes nothing returns boolean
if ( not ( CountUnitsInGroup(GetUnitsInRectOfPlayer(gg_rct_Spawn_Lower_Left, Player(8))) <= ( udg_INTEGERSTANDINGAJIZ + 0 ) ) ) then
return false
endif
return true
endfunction
function Trig_kill_standing_units_REMADE_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
set udg_INTEGERSTANDINGAJIZ = ( CountUnitsInGroup(GetUnitsInRectOfPlayer(gg_rct_Spawn_Lower_Left, Player(8))) + 0 )
set udg_StandingNonMoversCheck[udg_INTEGERSTANDINGAJIZ] = GetTriggerUnit()
call TriggerSleepAction( 15.00 )
if ( Trig_kill_standing_units_REMADE_Copy_Copy_Copy_Copy_Func004C() ) then
call ForGroupBJ( GetUnitsInRectOfPlayer(gg_rct_Spawn_Lower_Left, Player(8)), function Trig_kill_standing_units_REMADE_Copy_Copy_Copy_Copy_Func004Func001002 )
if ( Trig_kill_standing_units_REMADE_Copy_Copy_Copy_Copy_Func004Func002001() ) then
call IssuePointOrderLocBJ( udg_StandingNonMoversCheck[udg_INTEGERSTANDINGAJIZ], "attack", GetRectCenter(gg_rct_Attack_region) )
else
call DoNothing( )
endif
call PingMinimapLocForForceEx( GetPlayersAll(), GetRectCenter(gg_rct_ajizizoc_move_stuck_units), 2.00, bj_MINIMAPPINGSTYLE_ATTACK, 100, 100, 100 )
else
call DoNothing( )
endif
endfunction
//===========================================================================
function InitTrig_kill_standing_units_REMADE_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_kill_standing_units_REMADE_Copy_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_kill_standing_units_REMADE_Copy_Copy_Copy_Copy, gg_rct_Spawn_Lower_Left )
call TriggerAddCondition( gg_trg_kill_standing_units_REMADE_Copy_Copy_Copy_Copy, Condition( function Trig_kill_standing_units_REMADE_Copy_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_kill_standing_units_REMADE_Copy_Copy_Copy_Copy, function Trig_kill_standing_units_REMADE_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Untitled_Trigger_004_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(GetTriggerUnit()) == Player(8) ) ) then
return false
endif
return true
endfunction
function Trig_Untitled_Trigger_004_Func001Func001002 takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnumUnit(), "attack", GetRectCenter(gg_rct_Attack_region) )
endfunction
function Trig_Untitled_Trigger_004_Func001C takes nothing returns boolean
if ( not ( GetOwningPlayer(GetTriggerUnit()) == Player(8) ) ) then
return false
endif
return true
endfunction
function Trig_Untitled_Trigger_004_Actions takes nothing returns nothing
if ( Trig_Untitled_Trigger_004_Func001C() ) then
call ForGroupBJ( GetUnitsInRectAll(gg_rct_ajizizoc_move_stuck_units), function Trig_Untitled_Trigger_004_Func001Func001002 )
else
call DoNothing( )
endif
endfunction
//===========================================================================
function InitTrig_Untitled_Trigger_004 takes nothing returns nothing
set gg_trg_Untitled_Trigger_004 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Untitled_Trigger_004, gg_rct_Top_Right_Spawn )
call TriggerAddCondition( gg_trg_Untitled_Trigger_004, Condition( function Trig_Untitled_Trigger_004_Conditions ) )
call TriggerAddAction( gg_trg_Untitled_Trigger_004, function Trig_Untitled_Trigger_004_Actions )
endfunction
function Trig_random_make_knight_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(GetAttacker()) != Player(8) ) ) then
return false
endif
return true
endfunction
function Trig_random_make_knight_Func001Func002C takes nothing returns boolean
if ( not ( GetRandomInt(1, 110) == 1 ) ) then
return false
endif
return true
endfunction
function Trig_random_make_knight_Func001C takes nothing returns boolean
if ( not ( IsUnitType(GetAttacker(), UNIT_TYPE_HERO) == true ) ) then
return false
endif
return true
endfunction
function Trig_random_make_knight_Actions takes nothing returns nothing
if ( Trig_random_make_knight_Func001C() ) then
if ( Trig_random_make_knight_Func001Func002C() ) then
call CreateNUnitsAtLoc( 1, 'h00E', GetOwningPlayer(GetAttacker()), PolarProjectionBJ(GetUnitLoc(GetAttacker()), 500.00, 90.00), bj_UNIT_FACING )
else
call DoNothing( )
endif
else
call DoNothing( )
endif
endfunction
//===========================================================================
function InitTrig_random_make_knight takes nothing returns nothing
set gg_trg_random_make_knight = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_random_make_knight, EVENT_PLAYER_UNIT_ATTACKED )
call TriggerAddCondition( gg_trg_random_make_knight, Condition( function Trig_random_make_knight_Conditions ) )
call TriggerAddAction( gg_trg_random_make_knight, function Trig_random_make_knight_Actions )
endfunction
function Trig_wowowol_Conditions takes nothing returns boolean
if ( not ( GetClickedButtonBJ() == udg_cheatbuttonajizizoc[1] ) ) then
return false
endif
return true
endfunction
function Trig_wowowol_Func001002 takes nothing returns nothing
call CreateFogModifierRectBJ( true, GetEnumPlayer(), FOG_OF_WAR_VISIBLE, GetPlayableMapRect() )
endfunction
function Trig_wowowol_Actions takes nothing returns nothing
call ForForce( GetPlayersAll(), function Trig_wowowol_Func001002 )
endfunction
//===========================================================================
function InitTrig_wowowol takes nothing returns nothing
set gg_trg_wowowol = CreateTrigger( )
call TriggerRegisterDialogEventBJ( gg_trg_wowowol, udg_cheatajizizoc )
call TriggerAddCondition( gg_trg_wowowol, Condition( function Trig_wowowol_Conditions ) )
call TriggerAddAction( gg_trg_wowowol, function Trig_wowowol_Actions )
endfunction
function Trig_wowowol_Copy_Conditions takes nothing returns boolean
if ( not ( GetClickedButtonBJ() == udg_cheatbuttonajizizoc[2] ) ) then
return false
endif
return true
endfunction
function Trig_wowowol_Copy_Actions takes nothing returns nothing
call AdjustPlayerStateBJ( 1000000000, Player(0), PLAYER_STATE_RESOURCE_GOLD )
endfunction
//===========================================================================
function InitTrig_wowowol_Copy takes nothing returns nothing
set gg_trg_wowowol_Copy = CreateTrigger( )
call TriggerRegisterDialogEventBJ( gg_trg_wowowol_Copy, udg_cheatajizizoc )
call TriggerAddCondition( gg_trg_wowowol_Copy, Condition( function Trig_wowowol_Copy_Conditions ) )
call TriggerAddAction( gg_trg_wowowol_Copy, function Trig_wowowol_Copy_Actions )
endfunction
function Trig_wowowol_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetClickedButtonBJ() == udg_cheatbuttonajizizoc[3] ) ) then
return false
endif
return true
endfunction
function Trig_wowowol_Copy_Copy_Func001002 takes nothing returns nothing
call AdjustPlayerStateBJ( 1000000000, GetEnumPlayer(), PLAYER_STATE_RESOURCE_GOLD )
endfunction
function Trig_wowowol_Copy_Copy_Actions takes nothing returns nothing
call ForForce( GetPlayersAll(), function Trig_wowowol_Copy_Copy_Func001002 )
endfunction
//===========================================================================
function InitTrig_wowowol_Copy_Copy takes nothing returns nothing
set gg_trg_wowowol_Copy_Copy = CreateTrigger( )
call TriggerRegisterDialogEventBJ( gg_trg_wowowol_Copy_Copy, udg_cheatajizizoc )
call TriggerAddCondition( gg_trg_wowowol_Copy_Copy, Condition( function Trig_wowowol_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_wowowol_Copy_Copy, function Trig_wowowol_Copy_Copy_Actions )
endfunction
function Trig_wowowol_Copy_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetClickedButtonBJ() == udg_cheatbuttonajizizoc[5] ) ) then
return false
endif
return true
endfunction
function Trig_wowowol_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc( 1, 'o00R', Player(0), GetRectCenter(gg_rct_Attack_region), bj_UNIT_FACING )
endfunction
//===========================================================================
function InitTrig_wowowol_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_wowowol_Copy_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterDialogEventBJ( gg_trg_wowowol_Copy_Copy_Copy_Copy, udg_cheatajizizoc )
call TriggerAddCondition( gg_trg_wowowol_Copy_Copy_Copy_Copy, Condition( function Trig_wowowol_Copy_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_wowowol_Copy_Copy_Copy_Copy, function Trig_wowowol_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_wowowol_Copy_Copy_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetClickedButtonBJ() == udg_cheatbuttonajizizoc[6] ) ) then
return false
endif
return true
endfunction
function Trig_wowowol_Copy_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call EnableTrigger( gg_trg_assholeeeeeeLOL )
call EnableTrigger( gg_trg_assholerrrrZZZ )
endfunction
//===========================================================================
function InitTrig_wowowol_Copy_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_wowowol_Copy_Copy_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterDialogEventBJ( gg_trg_wowowol_Copy_Copy_Copy_Copy_Copy, udg_cheatajizizoc )
call TriggerAddCondition( gg_trg_wowowol_Copy_Copy_Copy_Copy_Copy, Condition( function Trig_wowowol_Copy_Copy_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_wowowol_Copy_Copy_Copy_Copy_Copy, function Trig_wowowol_Copy_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_assholerrrrZZZ_Actions takes nothing returns nothing
call PlaySoundBJ( gg_snd_ws_10003 )
endfunction
//===========================================================================
function InitTrig_assholerrrrZZZ takes nothing returns nothing
set gg_trg_assholerrrrZZZ = CreateTrigger( )
call DisableTrigger( gg_trg_assholerrrrZZZ )
call TriggerRegisterTimerEventPeriodic( gg_trg_assholerrrrZZZ, 15.00 )
call TriggerAddAction( gg_trg_assholerrrrZZZ, function Trig_assholerrrrZZZ_Actions )
endfunction
function Trig_wowowol_Copy_Copy_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call DisplayTextToForce( GetPlayersAll(), "TRIGSTR_2909" )
endfunction
//===========================================================================
function InitTrig_assholeeeeeeLOL takes nothing returns nothing
set gg_trg_assholeeeeeeLOL = CreateTrigger( )
call DisableTrigger( gg_trg_assholeeeeeeLOL )
call TriggerRegisterTimerEventPeriodic( gg_trg_assholeeeeeeLOL, 5.00 )
call TriggerAddAction( gg_trg_assholeeeeeeLOL, function Trig_wowowol_Copy_Copy_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_Untitled_Trigger_002_Func003002 takes nothing returns nothing
call LeaderboardAddItemBJ( GetEnumPlayer(), GetLastCreatedLeaderboard(), GetPlayerName(GetEnumPlayer()), 0 )
endfunction
function Trig_Untitled_Trigger_002_Actions takes nothing returns nothing
set udg_board = GetLastCreatedLeaderboard()
call CreateLeaderboardBJ( GetPlayersAll(), "TRIGSTR_2868" )
call ForForce( GetPlayersAll(), function Trig_Untitled_Trigger_002_Func003002 )
call LeaderboardDisplayBJ( true, udg_board )
endfunction
//===========================================================================
function InitTrig_Untitled_Trigger_002 takes nothing returns nothing
set gg_trg_Untitled_Trigger_002 = CreateTrigger( )
call TriggerRegisterTimerEventSingle( gg_trg_Untitled_Trigger_002, 1.00 )
call TriggerAddAction( gg_trg_Untitled_Trigger_002, function Trig_Untitled_Trigger_002_Actions )
endfunction
function Trig_Untitled_Trigger_001_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(GetDyingUnit()) == Player(8) ) ) then
return false
endif
return true
endfunction
function Trig_Untitled_Trigger_001_Func004C takes nothing returns boolean
if ( not ( GetRandomInt(1, 4) == 1 ) ) then
return false
endif
return true
endfunction
function Trig_Untitled_Trigger_001_Actions takes nothing returns nothing
set udg_BOARDAJIZkillCOUNT2 = ( 0 + udg_BOARDAJIZkillCOUNT2 )
set udg_BOARDKILL = GetDyingUnit()
call LeaderboardSetPlayerItemValueBJ( GetOwningPlayer(GetKillingUnitBJ()), GetLastCreatedLeaderboard(), ( udg_BOARDAJIZkillCOUNT2 + GetPlayerScore(GetOwningPlayer(GetKillingUnitBJ()), PLAYER_SCORE_UNITS_KILLED) ) )
if ( Trig_Untitled_Trigger_001_Func004C() ) then
call LeaderboardSortItemsBJ( GetLastCreatedLeaderboard(), bj_SORTTYPE_SORTBYVALUE, false )
else
endif
call DoNothing( )
endfunction
//===========================================================================
function InitTrig_Untitled_Trigger_001 takes nothing returns nothing
set gg_trg_Untitled_Trigger_001 = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_Untitled_Trigger_001, EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Untitled_Trigger_001, Condition( function Trig_Untitled_Trigger_001_Conditions ) )
call TriggerAddAction( gg_trg_Untitled_Trigger_001, function Trig_Untitled_Trigger_001_Actions )
endfunction
function Trig_Untitled_Trigger_003_Actions takes nothing returns nothing
call LeaderboardDisplayBJ( true, GetLastCreatedLeaderboard() )
endfunction
//===========================================================================
function InitTrig_Untitled_Trigger_003 takes nothing returns nothing
set gg_trg_Untitled_Trigger_003 = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Untitled_Trigger_003, Player(0), "-showboard", true )
call TriggerAddAction( gg_trg_Untitled_Trigger_003, function Trig_Untitled_Trigger_003_Actions )
endfunction
function Trig_Untitled_Trigger_003_Copy_Actions takes nothing returns nothing
call LeaderboardDisplayBJ( false, GetLastCreatedLeaderboard() )
endfunction
//===========================================================================
function InitTrig_Untitled_Trigger_003_Copy takes nothing returns nothing
set gg_trg_Untitled_Trigger_003_Copy = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Untitled_Trigger_003_Copy, Player(0), "-hideboard", true )
call TriggerAddAction( gg_trg_Untitled_Trigger_003_Copy, function Trig_Untitled_Trigger_003_Copy_Actions )
endfunction
function Trig_kick_player_assholes_Actions takes nothing returns nothing
call DialogClearBJ( udg_KICKPLAYERD )
call DialogSetMessageBJ( udg_KICKPLAYERD, "TRIGSTR_2872" )
call DialogAddButtonBJ( udg_KICKPLAYERD, GetPlayerName(Player(0)) )
set udg_KICKPLAYERbbb[1] = GetLastCreatedButtonBJ()
call DialogAddButtonBJ( udg_KICKPLAYERD, GetPlayerName(Player(1)) )
set udg_KICKPLAYERbbb[2] = GetLastCreatedButtonBJ()
call DialogAddButtonBJ( udg_KICKPLAYERD, GetPlayerName(Player(2)) )
set udg_KICKPLAYERbbb[3] = GetLastCreatedButtonBJ()
call DialogAddButtonBJ( udg_KICKPLAYERD, GetPlayerName(Player(3)) )
set udg_KICKPLAYERbbb[4] = GetLastCreatedButtonBJ()
call DialogAddButtonBJ( udg_KICKPLAYERD, GetPlayerName(Player(4)) )
set udg_KICKPLAYERbbb[5] = GetLastCreatedButtonBJ()
call DialogAddButtonBJ( udg_KICKPLAYERD, GetPlayerName(Player(5)) )
set udg_KICKPLAYERbbb[6] = GetLastCreatedButtonBJ()
call DialogAddButtonBJ( udg_KICKPLAYERD, GetPlayerName(Player(6)) )
set udg_KICKPLAYERbbb[7] = GetLastCreatedButtonBJ()
call DialogAddButtonBJ( udg_KICKPLAYERD, "TRIGSTR_2907" )
set udg_KICKPLAYERbbb[8] = GetLastCreatedButtonBJ()
call DialogDisplayBJ( true, udg_KICKPLAYERD, Player(0) )
endfunction
//===========================================================================
function InitTrig_kick_player_assholes takes nothing returns nothing
set gg_trg_kick_player_assholes = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_kick_player_assholes, Player(0), "-kickplayer", true )
call TriggerAddAction( gg_trg_kick_player_assholes, function Trig_kick_player_assholes_Actions )
endfunction
function Trig_kick_players_Conditions takes nothing returns boolean
if ( not ( GetClickedButtonBJ() == udg_KICKPLAYERbbb[1] ) ) then
return false
endif
return true
endfunction
function Trig_kick_players_Actions takes nothing returns nothing
call CustomDefeatBJ( Player(0), "TRIGSTR_2878" )
call DisplayTextToForce( GetPlayersAll(), "TRIGSTR_2888" )
endfunction
//===========================================================================
function InitTrig_kick_players takes nothing returns nothing
set gg_trg_kick_players = CreateTrigger( )
call TriggerRegisterDialogEventBJ( gg_trg_kick_players, udg_KICKPLAYERD )
call TriggerAddCondition( gg_trg_kick_players, Condition( function Trig_kick_players_Conditions ) )
call TriggerAddAction( gg_trg_kick_players, function Trig_kick_players_Actions )
endfunction
function Trig_kick_players_Copy_Conditions takes nothing returns boolean
if ( not ( GetClickedButtonBJ() == udg_KICKPLAYERbbb[2] ) ) then
return false
endif
return true
endfunction
function Trig_kick_players_Copy_Actions takes nothing returns nothing
call CustomDefeatBJ( Player(1), "TRIGSTR_2879" )
call DisplayTextToForce( GetPlayersAll(), ( GetPlayerName(Player(0)) + " |cff333333has kicked a player.|r" ) )
endfunction
//===========================================================================
function InitTrig_kick_players_Copy takes nothing returns nothing
set gg_trg_kick_players_Copy = CreateTrigger( )
call TriggerRegisterDialogEventBJ( gg_trg_kick_players_Copy, udg_KICKPLAYERD )
call TriggerAddCondition( gg_trg_kick_players_Copy, Condition( function Trig_kick_players_Copy_Conditions ) )
call TriggerAddAction( gg_trg_kick_players_Copy, function Trig_kick_players_Copy_Actions )
endfunction
function Trig_kick_players_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetClickedButtonBJ() == udg_KICKPLAYERbbb[3] ) ) then
return false
endif
return true
endfunction
function Trig_kick_players_Copy_Copy_Actions takes nothing returns nothing
call CustomDefeatBJ( Player(2), "TRIGSTR_2879" )
call DisplayTextToForce( GetPlayersAll(), ( GetPlayerName(Player(0)) + " |cff333333has kicked a player.|r" ) )
endfunction
//===========================================================================
function InitTrig_kick_players_Copy_Copy takes nothing returns nothing
set gg_trg_kick_players_Copy_Copy = CreateTrigger( )
call TriggerRegisterDialogEventBJ( gg_trg_kick_players_Copy_Copy, udg_KICKPLAYERD )
call TriggerAddCondition( gg_trg_kick_players_Copy_Copy, Condition( function Trig_kick_players_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_kick_players_Copy_Copy, function Trig_kick_players_Copy_Copy_Actions )
endfunction
function Trig_kick_players_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetClickedButtonBJ() == udg_KICKPLAYERbbb[4] ) ) then
return false
endif
return true
endfunction
function Trig_kick_players_Copy_Copy_Copy_Actions takes nothing returns nothing
call CustomDefeatBJ( Player(3), "TRIGSTR_2879" )
call DisplayTextToForce( GetPlayersAll(), ( GetPlayerName(Player(0)) + " |cff333333has kicked a player.|r" ) )
endfunction
//===========================================================================
function InitTrig_kick_players_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_kick_players_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterDialogEventBJ( gg_trg_kick_players_Copy_Copy_Copy, udg_KICKPLAYERD )
call TriggerAddCondition( gg_trg_kick_players_Copy_Copy_Copy, Condition( function Trig_kick_players_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_kick_players_Copy_Copy_Copy, function Trig_kick_players_Copy_Copy_Copy_Actions )
endfunction
function Trig_kick_players_Copy_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetClickedButtonBJ() == udg_KICKPLAYERbbb[5] ) ) then
return false
endif
return true
endfunction
function Trig_kick_players_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call CustomDefeatBJ( Player(4), "TRIGSTR_2879" )
call DisplayTextToForce( GetPlayersAll(), ( GetPlayerName(Player(0)) + " |cff333333has kicked a player.|r" ) )
endfunction
//===========================================================================
function InitTrig_kick_players_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_kick_players_Copy_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterDialogEventBJ( gg_trg_kick_players_Copy_Copy_Copy_Copy, udg_KICKPLAYERD )
call TriggerAddCondition( gg_trg_kick_players_Copy_Copy_Copy_Copy, Condition( function Trig_kick_players_Copy_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_kick_players_Copy_Copy_Copy_Copy, function Trig_kick_players_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_kick_players_Copy_Copy_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetClickedButtonBJ() == udg_KICKPLAYERbbb[6] ) ) then
return false
endif
return true
endfunction
function Trig_kick_players_Copy_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call CustomDefeatBJ( Player(5), "TRIGSTR_2879" )
call DisplayTextToForce( GetPlayersAll(), ( GetPlayerName(Player(0)) + " |cff333333has kicked a player.|r" ) )
endfunction
//===========================================================================
function InitTrig_kick_players_Copy_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_kick_players_Copy_Copy_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterDialogEventBJ( gg_trg_kick_players_Copy_Copy_Copy_Copy_Copy, udg_KICKPLAYERD )
call TriggerAddCondition( gg_trg_kick_players_Copy_Copy_Copy_Copy_Copy, Condition( function Trig_kick_players_Copy_Copy_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_kick_players_Copy_Copy_Copy_Copy_Copy, function Trig_kick_players_Copy_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_kick_players_Copy_Copy_Copy_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetClickedButtonBJ() == udg_KICKPLAYERbbb[7] ) ) then
return false
endif
return true
endfunction
function Trig_kick_players_Copy_Copy_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call CustomDefeatBJ( Player(6), "TRIGSTR_2879" )
call DisplayTextToForce( GetPlayersAll(), ( GetPlayerName(Player(0)) + " |cff333333has kicked a player.|r" ) )
endfunction
//===========================================================================
function InitTrig_kick_players_Copy_Copy_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_kick_players_Copy_Copy_Copy_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterDialogEventBJ( gg_trg_kick_players_Copy_Copy_Copy_Copy_Copy_Copy, udg_KICKPLAYERD )
call TriggerAddCondition( gg_trg_kick_players_Copy_Copy_Copy_Copy_Copy_Copy, Condition( function Trig_kick_players_Copy_Copy_Copy_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_kick_players_Copy_Copy_Copy_Copy_Copy_Copy, function Trig_kick_players_Copy_Copy_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_kick_players_Copy_Copy_Copy_Copy_Copy_Copy_Copy_Conditions takes nothing returns boolean
if ( not ( GetClickedButtonBJ() == udg_KICKPLAYERbbb[8] ) ) then
return false
endif
return true
endfunction
function Trig_kick_players_Copy_Copy_Copy_Copy_Copy_Copy_Copy_Actions takes nothing returns nothing
call DisplayTextToForce( GetPlayersAll(), "TRIGSTR_2886" )
endfunction
//===========================================================================
function InitTrig_kick_players_Copy_Copy_Copy_Copy_Copy_Copy_Copy takes nothing returns nothing
set gg_trg_kick_players_Copy_Copy_Copy_Copy_Copy_Copy_Copy = CreateTrigger( )
call TriggerRegisterDialogEventBJ( gg_trg_kick_players_Copy_Copy_Copy_Copy_Copy_Copy_Copy, udg_KICKPLAYERD )
call TriggerAddCondition( gg_trg_kick_players_Copy_Copy_Copy_Copy_Copy_Copy_Copy, Condition( function Trig_kick_players_Copy_Copy_Copy_Copy_Copy_Copy_Copy_Conditions ) )
call TriggerAddAction( gg_trg_kick_players_Copy_Copy_Copy_Copy_Copy_Copy_Copy, function Trig_kick_players_Copy_Copy_Copy_Copy_Copy_Copy_Copy_Actions )
endfunction
function Trig_mana_replenish_Conditions takes nothing returns boolean
if ( not ( IsUnitType(GetTriggerUnit(), UNIT_TYPE_HERO) == true ) ) then
return false
endif
return true
endfunction
function Trig_mana_replenish_Actions takes nothing returns nothing
call SetUnitManaPercentBJ( GetTriggerUnit(), 100 )
endfunction
//===========================================================================
function InitTrig_mana_replenish takes nothing returns nothing
set gg_trg_mana_replenish = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_mana_replenish, gg_rct_mana_replenish )
call TriggerAddCondition( gg_trg_mana_replenish, Condition( function Trig_mana_replenish_Conditions ) )
call TriggerAddAction( gg_trg_mana_replenish, function Trig_mana_replenish_Actions )
endfunction
function Trig_Untitled_Trigger_010_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(GetTriggerUnit()) == Player(PLAYER_NEUTRAL_PASSIVE) ) ) then
return false
endif
return true
endfunction
function Trig_Untitled_Trigger_010_Actions takes nothing returns nothing
call IssuePointOrderLocBJ( GetTriggerUnit(), "move", GetRectCenter(gg_rct_Region_026) )
endfunction
//===========================================================================
function InitTrig_Untitled_Trigger_010 takes nothing returns nothing
set gg_trg_Untitled_Trigger_010 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Untitled_Trigger_010, gg_rct_Region_025 )
call TriggerAddCondition( gg_trg_Untitled_Trigger_010, Condition( function Trig_Untitled_Trigger_010_Conditions ) )
call TriggerAddAction( gg_trg_Untitled_Trigger_010, function Trig_Untitled_Trigger_010_Actions )
endfunction
function Trig_Untitled_Trigger_010_Copy_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(GetTriggerUnit()) == Player(PLAYER_NEUTRAL_PASSIVE) ) ) then
return false
endif
return true
endfunction
function Trig_Untitled_Trigger_010_Copy_Actions takes nothing returns nothing
call RemoveUnit( GetTriggerUnit() )
endfunction
//===========================================================================
function InitTrig_Untitled_Trigger_010_Copy takes nothing returns nothing
set gg_trg_Untitled_Trigger_010_Copy = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Untitled_Trigger_010_Copy, gg_rct_Region_026 )
call TriggerAddCondition( gg_trg_Untitled_Trigger_010_Copy, Condition( function Trig_Untitled_Trigger_010_Copy_Conditions ) )
call TriggerAddAction( gg_trg_Untitled_Trigger_010_Copy, function Trig_Untitled_Trigger_010_Copy_Actions )
endfunction
function Trig_Untitled_Trigger_006_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'hgyr' ) ) then
return false
endif
return true
endfunction
function Trig_Untitled_Trigger_006_Actions takes nothing returns nothing
call RemoveUnit( GetTriggerUnit() )
endfunction
//===========================================================================
function InitTrig_Untitled_Trigger_006 takes nothing returns nothing
set gg_trg_Untitled_Trigger_006 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Untitled_Trigger_006, gg_rct_Region_026 )
call TriggerAddCondition( gg_trg_Untitled_Trigger_006, Condition( function Trig_Untitled_Trigger_006_Conditions ) )
call TriggerAddAction( gg_trg_Untitled_Trigger_006, function Trig_Untitled_Trigger_006_Actions )
endfunction
function Trig_Untitled_Trigger_007_Conditions takes nothing returns boolean
if ( not ( IsUnitType(GetTriggerUnit(), UNIT_TYPE_HERO) == true ) ) then
return false
endif
return true
endfunction
function Trig_Untitled_Trigger_007_Func001C takes nothing returns boolean
if ( not ( GetOwningPlayer(GetTriggerUnit()) == Player(8) ) ) then
return false
endif
return true
endfunction
function Trig_Untitled_Trigger_007_Actions takes nothing returns nothing
if ( Trig_Untitled_Trigger_007_Func001C() ) then
call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_ajizizoc_move_stuck_units) )
else
call DoNothing( )
endif
endfunction
//===========================================================================
function InitTrig_Untitled_Trigger_007 takes nothing returns nothing
set gg_trg_Untitled_Trigger_007 = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_Untitled_Trigger_007, gg_rct_create_hero )
call TriggerAddCondition( gg_trg_Untitled_Trigger_007, Condition( function Trig_Untitled_Trigger_007_Conditions ) )
call TriggerAddAction( gg_trg_Untitled_Trigger_007, function Trig_Untitled_Trigger_007_Actions )
endfunction
function Trig__MOVE_MOVE_Func001C takes nothing returns boolean
if ( not ( GetEventPlayerChatString() == "-move" ) ) then
return false
endif
return true
endfunction
function Trig__MOVE_MOVE_Actions takes nothing returns nothing
if ( Trig__MOVE_MOVE_Func001C() ) then
call TriggerExecute( gg_trg_MOVE_UNITS_ALWAYS )
else
call DoNothing( )
endif
endfunction
//===========================================================================
function InitTrig__MOVE_MOVE takes nothing returns nothing
set gg_trg__MOVE_MOVE = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg__MOVE_MOVE, Player(0), "-MOVE", true )
call TriggerRegisterPlayerChatEvent( gg_trg__MOVE_MOVE, Player(1), "-MOVE", true )
call TriggerRegisterPlayerChatEvent( gg_trg__MOVE_MOVE, Player(2), "-MOVE", true )
call TriggerRegisterPlayerChatEvent( gg_trg__MOVE_MOVE, Player(3), "-MOVE", true )
call TriggerRegisterPlayerChatEvent( gg_trg__MOVE_MOVE, Player(4), "-MOVE", true )
call TriggerRegisterPlayerChatEvent( gg_trg__MOVE_MOVE, Player(5), "-MOVE", true )
call TriggerRegisterPlayerChatEvent( gg_trg__MOVE_MOVE, Player(6), "-MOVE", true )
call TriggerRegisterPlayerChatEvent( gg_trg__MOVE_MOVE, Player(7), "-MOVE", true )
call TriggerAddAction( gg_trg__MOVE_MOVE, function Trig__MOVE_MOVE_Actions )
endfunction
function Trig_MOVE_UNITS_ALWAYS_Func001002 takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnumUnit(), "attack", GetRectCenter(gg_rct_Attack_region) )
endfunction
function Trig_MOVE_UNITS_ALWAYS_Func003002 takes nothing returns nothing
call GroupPointOrderLocBJ( GetUnitsOfPlayerAll(Player(8)), "attack", GetRectCenter(gg_rct_Attack_region) )
endfunction
function Trig_MOVE_UNITS_ALWAYS_Actions takes nothing returns nothing
call ForGroupBJ( GetUnitsOfPlayerAll(Player(8)), function Trig_MOVE_UNITS_ALWAYS_Func001002 )
call TriggerSleepAction( 5.00 )
call ForGroupBJ( GetUnitsOfPlayerAll(GetOwningPlayer(GetEnumUnit())), function Trig_MOVE_UNITS_ALWAYS_Func003002 )
endfunction
//===========================================================================
function InitTrig_MOVE_UNITS_ALWAYS takes nothing returns nothing
set gg_trg_MOVE_UNITS_ALWAYS = CreateTrigger( )
call TriggerRegisterTimerEventPeriodic( gg_trg_MOVE_UNITS_ALWAYS, 45.00 )
call TriggerAddAction( gg_trg_MOVE_UNITS_ALWAYS, function Trig_MOVE_UNITS_ALWAYS_Actions )
endfunction
function Trig_set_stuff_Actions takes nothing returns nothing
set udg_questman = gg_unit_h01J_0393
endfunction
//===========================================================================
function InitTrig_set_stuff takes nothing returns nothing
set gg_trg_set_stuff = CreateTrigger( )
call TriggerRegisterTimerEventSingle( gg_trg_set_stuff, 5 )
call TriggerAddAction( gg_trg_set_stuff, function Trig_set_stuff_Actions )
endfunction
function Trig_quest_one_complete_Func004002 takes nothing returns nothing
call IssuePointOrderLocBJ( GetEnumUnit(), "attack", GetRectCenter(gg_rct_Middle_Top_Spawn) )
endfunction
function Trig_quest_one_complete_Actions takes nothing returns nothing
set udg_COUNTREINF = ( udg_COUNTREINF + 1 )
call CreateNUnitsAtLoc( 2, 'h00E', Player(7), GetRectCenter(gg_rct_Attack_region), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 3, 'z000', Player(7), GetRectCenter(gg_rct_Attack_region), bj_UNIT_FACING )
call ForGroupBJ( GetUnitsInRectOfPlayer(gg_rct_Attack_region, Player(7)), function Trig_quest_one_complete_Func004002 )
call DisplayTextToForce( GetPlayersAll(), ( "|cffb8a26e Reinforcements " + ( "|cffff0000" + I2S(udg_COUNTREINF) ) ) )
endfunction
//===========================================================================
function InitTrig_quest_one_complete takes nothing returns nothing
set gg_trg_quest_one_complete = CreateTrigger( )
call DisableTrigger( gg_trg_quest_one_complete )
call TriggerRegisterTimerEventPeriodic( gg_trg_quest_one_complete, 60.00 )
call TriggerAddAction( gg_trg_quest_one_complete, function Trig_quest_one_complete_Actions )
endfunction
function Trig_adver_ajiz_Func001001 takes nothing returns boolean
return ( GetRandomInt(1, 5) == 1 )
endfunction
function Trig_adver_ajiz_Actions takes nothing returns nothing
if ( Trig_adver_ajiz_Func001001() ) then
call DisplayTextToForce( GetPlayersAll(), "TRIGSTR_3284" )
else
return
endif
endfunction
//===========================================================================
function InitTrig_adver_ajiz takes nothing returns nothing
set gg_trg_adver_ajiz = CreateTrigger( )
call TriggerRegisterTimerEventPeriodic( gg_trg_adver_ajiz, 55.00 )
call TriggerAddAction( gg_trg_adver_ajiz, function Trig_adver_ajiz_Actions )
endfunction
function Trig_asdfff_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(GetTriggerUnit()) == Player(8) ) ) then
return false
endif
return true
endfunction
function Trig_asdfff_Actions takes nothing returns nothing
call RemoveUnit( GetTriggerUnit() )
call DisplayTextToForce( GetPlayersAll(), "TRIGSTR_3160" )
endfunction
//===========================================================================
function InitTrig_asdfff takes nothing returns nothing
set gg_trg_asdfff = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_asdfff, gg_rct_REVIVALAREA )
call TriggerAddCondition( gg_trg_asdfff, Condition( function Trig_asdfff_Conditions ) )
call TriggerAddAction( gg_trg_asdfff, function Trig_asdfff_Actions )
endfunction
function Trig_asdfasdff_Conditions takes nothing returns boolean
if ( not ( GetOwningPlayer(GetTriggerUnit()) == Player(PLAYER_NEUTRAL_AGGRESSIVE) ) ) then
return false
endif
return true
endfunction
function Trig_asdfasdff_Actions takes nothing returns nothing
call RemoveUnit( GetTriggerUnit() )
call DisplayTextToForce( GetPlayersAll(), "TRIGSTR_3170" )
endfunction
//===========================================================================
function InitTrig_asdfasdff takes nothing returns nothing
set gg_trg_asdfasdff = CreateTrigger( )
call TriggerRegisterEnterRectSimple( gg_trg_asdfasdff, gg_rct_REVIVALAREA )
call TriggerAddCondition( gg_trg_asdfasdff, Condition( function Trig_asdfasdff_Conditions ) )
call TriggerAddAction( gg_trg_asdfasdff, function Trig_asdfasdff_Actions )
endfunction