Name | Type | is_array | initial_value |
AAAPG_Players | force | No | |
Arthas | unit | No | |
BlockingPool | integer | No | 0 |
CameraPoint | location | No | |
DemonsArray | unit | Yes | |
Doom1IsHome | boolean | No | true |
Doom1NearHome | boolean | No | true |
Doom2IsHome | boolean | No | true |
Doom2NearHome | boolean | No | true |
DoomInCombat | boolean | No | false |
EntangledGoldMine | unit | No | UnitNull |
Furion | unit | No | |
GAMEOVER | boolean | No | false |
HiddenPlayerUnits | group | No | |
HintDruidTimer | timer | No | |
HintImmolationTimer | timer | No | |
Illidan | unit | No | |
IllidanFlyHeight | real | No | |
IllidanHasSkull | boolean | No | false |
IllidanKillsCinSkip | boolean | No | false |
IllidanSelected | boolean | No | false |
Infernal1 | unit | No | UnitNull |
Infernal2 | unit | No | UnitNull |
IntroSkip | boolean | No | false |
mp_activeplayers | integer | No | |
mp_ai_townhall | unit | Yes | |
mp_ai_TownHallDeathPosition | location | No | |
mp_boughtunit | unit | Yes | |
mp_boughtunit_queue | integer | No | |
mp_boughtunits_group | group | Yes | |
mp_count_ancientswind | integer | No | |
mp_count_hunterhalls | integer | No | |
mp_count_treesofages | integer | No | |
mp_count_treesofeternity | integer | No | |
mp_difficulty_dialog | dialog | No | |
mp_difficulty_dialog_hard | button | No | |
mp_difficulty_dialog_normal | button | No | |
mp_difficulty_hard | boolean | No | |
mp_difficulty_vote_decided | boolean | No | |
mp_difficulty_votes_hard | integer | No | |
mp_difficulty_votes_normal | integer | No | |
mp_FirstAltar | unit | No | |
mp_FirstGreatHall | unit | No | |
mp_FirstMine | unit | No | |
mp_foodLimit | integer | No | 0 |
mp_hasHero | boolean | Yes | |
mp_hero | unit | Yes | |
mp_HeroOneName | string | No | |
mp_HeroOnePlayer | player | No | |
mp_HeroTwoName | string | No | |
mp_HeroTwoPlayer | player | No | |
mp_LeaverPlayer | player | No | |
mp_playerCount | integer | No | |
mp_playergroup_temp | force | No | |
mp_rescuegroup | force | No | |
mp_SelectionGroup | group | No | |
mp_temp_int | integer | No | |
mp_temp_real | real | No | |
mp_temp_string | string | No | |
mp_temp_unitgroup | group | No | |
mp_TownHallUpgradeLimit | integer | No | |
mp_twoCriticalHeroes | boolean | No | |
mp_UnrootedStructures | group | No | |
mp_ut_DummyAncientWind | unitcode | No | h005 |
mp_ut_DummyBuyer | unitcode | No | h000 |
mp_ut_DummyDruidClaw | unitcode | No | H00A |
mp_ut_DummyGlaiveThrower | unitcode | No | H008 |
mp_ut_DummyHuntress | unitcode | No | H009 |
mp_ut_DummyTowerUpgrade | unitcode | No | |
mp_ut_DummyTreeAgesUpgrade | unitcode | No | h003 |
mp_ut_DummyTreeEternityUpgrade | unitcode | No | h002 |
mp_ut_DummyWindRider | unitcode | No | |
mp_ut_HeroDemonHunter | unitcode | No | E005 |
mp_ut_HeroKeeper | unitcode | No | E000 |
mp_ut_HeroRanger | unitcode | No | E004 |
mp_ut_HeroSatyr | unitcode | No | E003 |
mp_ut_HeroWarden | unitcode | No | E002 |
mp_ut_PeasantLumber | unitcode | No | |
mp_ut_WorkerPlayer | unitcode | No | ewsp |
mp_votedToSkip | boolean | Yes | |
mp_votekick_active | boolean | No | |
mp_votekick_button | button | Yes | |
mp_votekick_choice | button | Yes | |
mp_votekick_dialog | dialog | No | |
mp_votekick_playertokick | player | No | |
mp_votekick_starter | player | No | |
mp_votekick_timelimit | integer | No | |
mp_votekick_timer | integer | Yes | |
mp_votekick_yesno | dialog | No | |
mp_votekickplayserselected | boolean | No | |
mp_votesneededforkick | integer | No | |
mp_votesNeededToSkip | integer | No | |
mp_votestokick | integer | No | |
mp_votestokick_no | integer | No | |
mp_votestokick_yes | integer | No | |
mp_votesToSkip | integer | No | |
Player | player | No | Player01 |
PlayerHere | boolean | No | false |
QuestKillReqKill | questitem | No | |
QuestKillTicho | quest | No | |
QuestSkullofGuldan | quest | No | |
QuestSkullReqDemongate | questitem | No | |
QuestSkullReqSkull | questitem | No | |
SelectionGroup | group | No | |
SkullCinematicSkip | boolean | No | false |
SpawnDemons | boolean | No | true |
TichGuards | group | No | |
TichIsHOme | boolean | No | true |
TichManaPool | boolean | No | true |
TichNearHome | boolean | No | true |
Tichondrius | unit | No | |
TimerUnderAttack | timer | No | |
Tyrande | unit | No | |
u_skullVis | unit | No |
//===========================================================================
function Trig_Mana_Pool_Func takes nothing returns boolean
local unit filtunit = GetFilterUnit()
return IsUnitAliveBJ(filtunit) and IsUnitAlly(filtunit, Player(1))
endfunction
//===========================================================================
function Trig_Mana_Pool_Conditions takes nothing returns boolean
if not IsUnitGroupEmptyBJ(GetUnitsInRectMatching(gg_rct_Tich_Guards, Condition(function Trig_Mana_Pool_Func))) then
set udg_PlayerHere = true
return false
endif
set udg_PlayerHere = false
if not RectContainsUnit(gg_rct_Tich_Guards, gg_unit_Utic_0055) then
return false
endif
return true
endfunction
//===========================================================================
function Trig_Mana_Pool_Actions takes nothing returns nothing
call SetUnitManaBJ( gg_unit_Utic_0055, GetUnitStateSwap(UNIT_STATE_MANA, gg_unit_Utic_0055) + 5 )
call SetUnitLifeBJ( gg_unit_Utic_0055, GetUnitStateSwap(UNIT_STATE_LIFE, gg_unit_Utic_0055) + 5 )
endfunction
//===========================================================================
function InitTrig_Mana_Pool takes nothing returns nothing
set gg_trg_Mana_Pool = CreateTrigger( )
call TriggerRegisterTimerEventPeriodic( gg_trg_Mana_Pool, 1.00 )
call TriggerAddCondition( gg_trg_Mana_Pool, Condition( function Trig_Mana_Pool_Conditions ) )
call TriggerAddAction( gg_trg_Mana_Pool, function Trig_Mana_Pool_Actions )
endfunction
//===========================================================================
function Trig_Doom_Take_Positions_Actions takes nothing returns nothing
local unit doom1 = gg_unit_nbal_0003
local unit doom2 = gg_unit_nbal_0007
local unit tichy = gg_unit_Utic_0055
if udg_PlayerHere or udg_DoomInCombat then
return
endif
if RectContainsUnit(gg_rct_DoomHome1, doom1) then
call SetUnitFacingTimed( doom1, 279.20, 1.00 )
elseif RectContainsUnit(gg_rct_DoomGoHome, doom1) then
call IssuePointOrderLocBJ( doom1, "attack", GetRectCenter(gg_rct_DoomHome1) )
endif
if RectContainsUnit(gg_rct_DoomHome2, doom2) then
call SetUnitFacingTimed( doom2, 174.16, 1.00 )
elseif RectContainsUnit(gg_rct_DoomGoHome, doom2) then
call IssuePointOrderLocBJ( doom2, "attack", GetRectCenter(gg_rct_DoomHome2) )
endif
if RectContainsUnit(gg_rct_TichHome, tichy) then
call SetUnitFacingTimed( tichy, 225.57, 1.00 )
elseif RectContainsUnit(gg_rct_DoomGoHome, tichy) then
call IssuePointOrderLocBJ( tichy, "attack", GetRectCenter(gg_rct_TichHome) )
endif
endfunction
//===========================================================================
function InitTrig_Doom_Take_Positions takes nothing returns nothing
set gg_trg_Doom_Take_Positions = CreateTrigger( )
call TriggerRegisterTimerEventPeriodic( gg_trg_Doom_Take_Positions, 2 )
call TriggerAddAction( gg_trg_Doom_Take_Positions, function Trig_Doom_Take_Positions_Actions )
endfunction