Name | Type | is_array | initial_value |
Ally_Command | string | No | |
button1legion | button | No | |
button2naga | button | No | |
button3NightElf | button | No | |
button4Nerubian | button | No | |
button5satyr | button | No | |
button6tribunal | button | No | |
button7orc | button | No | |
button8scouge | button | No | |
button9human | button | No | |
Color | string | Yes | |
defeat | dialog | No | |
defeatbutton | button | No | |
DialogButtons | button | Yes | |
Frostshroom | unit | No | |
ghostlyWhich | unit | Yes | |
HeroDialog1 | dialog | No | |
HeroDialog2 | dialog | No | |
Heroes | unitcode | Yes | |
MoonLight | weathereffect | No | |
mydialog | dialog | No | |
NumberOfPlayers | integer | No | |
PlayerName | string | Yes | |
String | string | No | |
SunLight | weathereffect | No | |
TempPoint | location | No | |
tempUnitGroup | group | No | |
Timer | timer | No | |
TimerWindow | timerdialog | No | |
triggeringplayer | player | No | |
Unally_Command | string | No |
function Trig_Test_Func001001001 takes nothing returns boolean
return ( GetPlayerSlotState(GetFilterPlayer()) == PLAYER_SLOT_STATE_PLAYING )
endfunction
function Trig_Test_Func001002001 takes nothing returns boolean
return ( GetPlayerSlotState(GetFilterPlayer()) == PLAYER_SLOT_STATE_PLAYING )
endfunction
function Trig_Map_Initialization_Actions takes nothing returns nothing
call SetMapFlag( MAP_FOG_MAP_EXPLORED, true )
call SetMapFlag( MAP_RESOURCE_TRADING_ALLIES_ONLY, false )
call SetMapFlag( MAP_LOCK_ALLIANCE_CHANGES, false )
call SetMapFlag( MAP_LOCK_RESOURCE_TRADING, false )
call SetGameSpeed( MAP_SPEED_FASTEST )
call SetMapFlag( MAP_OBSERVERS_ON_DEATH, true )
call SetMapFlag( MAP_SHARED_ADVANCED_CONTROL, true )
call MeleeStartingVisibility( )
call MeleeStartingHeroLimit( )
call MeleeGrantHeroItems( )
call MeleeStartingResources( )
call MeleeClearExcessUnits( )
call MeleeStartingAI( )
call SetMapFlag( MAP_ALLIANCE_CHANGES_HIDDEN, true )
call TriggerExecute( gg_trg_Turn_Off_Other_Triggers )
call SetForceAllianceStateBJ( GetPlayersMatching(Condition(function Trig_Test_Func001001001)), GetPlayersMatching(Condition(function Trig_Test_Func001002001)), bj_ALLIANCE_ALLIED_VISION )
call TriggerExecute( gg_trg_Turn_On_Other_Triggers )
call SetMapFlag( MAP_ALLIANCE_CHANGES_HIDDEN, false )
endfunction
//===========================================================================
function InitTrig_Map_Initialization takes nothing returns nothing
set gg_trg_Map_Initialization = CreateTrigger( )
call TriggerAddAction( gg_trg_Map_Initialization, function Trig_Map_Initialization_Actions )
endfunction