Name | Type | is_array | initial_value |
AAAPG_Arthas | force | No | |
ArthasDenials | real | No | |
ArthasReturnPoint | location | No | |
ArthasVariable | unit | No | |
BootingPlayer | boolean | No | false |
Buildings1 | group | No | |
Buildings2 | group | No | |
Buildings3 | group | No | |
Buildings4 | group | No | |
Buildings5 | group | No | |
Buildings6 | group | No | |
BuildingsGone | boolean | No | false |
BuildingsToAttackArray | group | Yes | |
CullingQuest | quest | No | |
DeathsOfDeathSquad | real | No | 0.00 |
DestroyedBuilding | unit | No | |
EndCinematicPlaying | boolean | No | false |
GameOver | boolean | No | false |
HideUnits | group | No | |
IntroCancel | boolean | No | false |
JainaVariable | unit | No | |
MalganisAttackTimer | timer | No | |
MalganisCaptainX | real | No | |
MalganisCaptainY | real | No | |
MalganisConversions | real | No | |
MalganisCountdown | timerdialog | No | |
MalganisDeathSquad | group | No | |
MalganisFirstTeleCin | boolean | No | false |
MalganisFirstTeleCinSkip | boolean | No | false |
MalganisGloatCin | boolean | No | false |
MalganisTargetHouse | unit | No | |
MalganisTargetHouseX | real | No | |
MalganisTargetHouseY | real | No | |
MalganisTimer | timer | No | |
MalganisVariable | unit | No | |
MaySendCommands | boolean | No | true |
mp_activeplayers | integer | No | |
mp_ai_townhall | unit | Yes | |
mp_ai_TownHallDeathPosition | location | No | |
mp_ArthasPlayer | player | No | |
mp_boughtunit | unit | Yes | |
mp_boughtunit_queue | integer | No | |
mp_boughtunits_group | group | Yes | |
mp_CanBuildCastle | boolean | No | |
mp_count_blacksmiths | integer | No | |
mp_count_workshops | 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_foodLimit | integer | No | 0 |
mp_hasHero | boolean | Yes | |
mp_hero | unit | Yes | |
mp_HeroTwoPlayer | player | No | |
mp_housesUntilBoss | integer | No | |
mp_LeaverPlayer | player | No | |
mp_playerCount | integer | No | |
mp_playergroup_temp | force | No | |
mp_rescuegroup | force | No | |
mp_spawned_lich | boolean | No | |
mp_spawned_meathook | boolean | No | |
mp_spawned_salraam | boolean | No | |
mp_temp_int | integer | No | |
mp_temp_real | real | No | |
mp_temp_unitgroup | group | No | |
mp_TownHallBuildQueueSize | integer | No | |
mp_TownHallBuildQueueUnits | unitcode | Yes | |
mp_twoCriticalHeroes | boolean | No | |
mp_ut_Captain | unitcode | No | |
mp_ut_DummyBlacksmith | unitcode | No | |
mp_ut_DummyBuyer | unitcode | No | |
mp_ut_DummyCastle | unitcode | No | |
mp_ut_DummyCastleUpgrade | unitcode | No | |
mp_ut_DummyKeep | unitcode | No | |
mp_ut_DummyKeepUpgrade | unitcode | No | |
mp_ut_DummyKnight | unitcode | No | |
mp_ut_DummyRifleman | unitcode | No | |
mp_ut_DummySiegeEngine | unitcode | No | |
mp_ut_DummyWorkshop | unitcode | No | |
mp_ut_Mage | unitcode | No | |
mp_ut_PeasantLumber | unitcode | No | |
mp_ut_PeasantPlayer | unitcode | No | |
mp_ut_Ranger | unitcode | No | |
mp_ut_Sorcerer | unitcode | No | |
mp_ut_Spellblade | unitcode | No | |
mp_ut_TownHallBasic | unitcode | No | |
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 | |
NextSquad | integer | No | 1 |
PlayerCameraPosition | location | No | |
RANDOMINTEGER | integer | No | |
RegionBucket | integer | No | 1 |
RegionLength | integer | No | |
RegionPicked | rect | No | |
RegionsArray | rect | Yes | |
RevivalAltar | unit | No | UnitNull |
SelectedUnits | group | No | |
soundint | integer | No | |
soundSheep | group | No | |
TargetArray | integer | Yes | |
TargetArrayLength | integer | No | |
TeleportEffect | effect | No | |
TeleportFast | boolean | No | false |
Teleporting | boolean | No | false |
ThePlayer | player | No | Player01 |
TimerMaySendCommands | timer | No | |
UthersGroup | group | No | |
UtherVariable | unit | No | |
VictoryCinSkip | boolean | No | false |
VillagerToBeConverted | unit | No | |
VillagerToZombieGROUP | group | No | |
WaterfallRevealVis | fogmodifier | No | |
WaterfallSwitch | boolean | No | false |
WaveTimer | timer | No | |
WaygateCin1Playing | boolean | No | false |
WaygateCin2Playing | boolean | No | false |
WaygateCin3Playing | boolean | No | false |
WayGatesGroup | group | No | |
WaygatesQuest | quest | No |
//===========================================================================
function Trig_Malganis_Continuously_Attacks_Buildings_Actions takes nothing returns nothing
if udg_BootingPlayer or IsUnitDeadBJ(udg_MalganisVariable) then
return
endif
loop
exitwhen udg_MaySendCommands
call TriggerSleepAction( 0.1 )
endloop
set udg_MaySendCommands = false
call StartTimerBJ( udg_TimerMaySendCommands, false, 1.00 )
call CommandAI( Player(6), 3, 0 )
call CommandAI( Player(6), 2, R2I(udg_MalganisTargetHouseY) )
call CommandAI( Player(6), 1, R2I(udg_MalganisTargetHouseX) )
endfunction
//===========================================================================
function InitTrig_Malganis_Continuously_Attacks_Buildings takes nothing returns nothing
set gg_trg_Malganis_Continuously_Attacks_Buildings = CreateTrigger( )
call TriggerAddAction( gg_trg_Malganis_Continuously_Attacks_Buildings, function Trig_Malganis_Continuously_Attacks_Buildings_Actions )
endfunction
//===========================================================================
function Trig_Malganis_Booting_Player_Actions takes nothing returns nothing
if IsUnitDeadBJ(udg_MalganisVariable) then
return
endif
loop
exitwhen udg_MaySendCommands
call TriggerSleepAction( 0.1 )
endloop
set udg_MaySendCommands = false
call StartTimerBJ( udg_TimerMaySendCommands, false, 1.00 )
set udg_BootingPlayer = true
call CommandAI( Player(6), 4, 1 )
call EnableTrigger( gg_trg_Das_Boot_to_Arthas )
endfunction
//===========================================================================
function InitTrig_Malganis_Booting_Player takes nothing returns nothing
set gg_trg_Malganis_Booting_Player = CreateTrigger( )
call TriggerAddAction( gg_trg_Malganis_Booting_Player, function Trig_Malganis_Booting_Player_Actions )
endfunction
function Trig_Convert_Villager_Actions takes nothing returns nothing
local unit villager
// Save villager in local variable
set villager = udg_VillagerToBeConverted
call TriggerSleepAction( 2 )
// Make sure villager is still alive
if IsUnitDeadBJ(villager) then
return
endif
// Handle Conversion
call CreateNUnitsAtLocFacingLocBJ( 1, 'UC05', Player(7), GetUnitLoc(villager), GetUnitLoc(villager) )
call ShowUnitHide( GetLastCreatedUnit() )
call SetHeroLevel( GetLastCreatedUnit(), 10, false )
call SelectHeroSkill( GetLastCreatedUnit(), 'SNdc' )
call IssueTargetOrderBJ( GetLastCreatedUnit(), "darkconversion", villager )
endfunction
//===========================================================================
function InitTrig_Convert_Villager takes nothing returns nothing
set gg_trg_Convert_Villager = CreateTrigger( )
call TriggerAddAction( gg_trg_Convert_Villager, function Trig_Convert_Villager_Actions )
endfunction