function GetHost takes nothing returns nothing
local gamecache g = InitGameCache("Map.w3v")
call StoreInteger ( g, "Map", "Host", GetPlayerId(GetLocalPlayer ())+1)
call TriggerSyncStart ()
call SyncStoredInteger ( g, "Map", "Host" )
call TriggerSyncReady ()
set udg_Host = Player( GetStoredInteger ( g, "Map", "Host" )-1)
call FlushGameCache( g )
set g = null
endfunction
Name | Type | is_array | initial_value |
All_Pick | boolean | No | |
All_Players_LB | force | No | |
All_Random | boolean | No | false |
Alliance | force | No | |
Alliance_AI | boolean | No | |
Alliance_Defender | unit | No | |
Alliance_Players | force | No | |
Alliance_Seconds_Gold | real | No | |
Alliance_Seconds_Lumber | real | No | |
Alliance_Spawn_Portal | rect | No | |
AllianceBottomSE | effect | No | |
AllianceCenterSE | effect | No | |
AllianceTopSE | effect | No | |
Ankh | boolean | No | |
Ankh_Group | group | No | |
Ankh_Unit | unit | No | |
Artificial_Night | boolean | No | |
Assassin1 | unit | No | |
Assassin2 | unit | No | |
Avoid_Detection | boolean | Yes | |
Bandit1 | unit | No | |
Bandit2 | unit | No | |
Beast_Attack_Ability_Level | integer | No | |
Beast_Attack_Atribute | integer | No | |
Beast_Attack_Atribute_Damage | real | No | |
Beast_Attack_Caster | unit | No | |
Beast_Attack_Current_Life | real | No | |
Beast_Attack_Damage_Splitter | integer | No | |
Beast_Attack_Life_Damage | real | No | |
Beast_Attack_Location | location | No | |
Beast_Attack_Location2 | location | No | |
Beast_Attack_Max_Life | real | No | |
Beast_Attack_Target | unit | No | |
Beast_Attack_Total_Damage | real | No | |
Blood_Rage_Unit | unit | No | |
Boss_Enabled | boolean | No | |
Bounty_Point | location | No | |
Bounty_Unit | unit | No | |
Burning_Blood_Checker | unit | No | |
Captain_Tanks_Enabled | boolean | No | |
Casting_Unit | unit | No | |
Chain_Lightning_Splash | integer | No | |
Chain_Lightning_unit_Enabled | boolean | No | |
Creep_Respawn | boolean | No | true |
Crit_level | integer | No | |
Day_Time | boolean | No | true |
Deaths | integer | Yes | |
Dialog_Button_1 | button | No | |
Dialog_Button_2 | button | No | |
Dialog_Button_3 | button | No | |
Dialog_Button_4 | button | No | |
Dialog_Button_5 | button | No | |
Difficulty | dialog | No | |
Dragons_Enabled | boolean | No | |
Dying_Hero | unit | No | |
Dying_Position | location | No | |
EL_Ability_Level | integer | No | |
EL_Base_Damage | integer | No | |
EL_Base_Number_of_Ligtnings | integer | No | |
EL_Caster | unit | No | |
EL_Damage_Area_of_Effect | real | No | |
EL_Damage_Group | group | No | |
EL_Dummy_Ability_Ligtning | abilcode | No | |
EL_Loop_Location | location | No | |
EL_Owner | player | No | |
EL_Seek_Area_of_Effect | real | No | |
EL_Seek_Group | group | No | |
EL_Seek_Unit | unit | No | |
EL_Targeted_Location | location | No | |
EL_Total_Damage | integer | No | |
EL_Total_Number_of_Ligtnings | integer | No | |
Electric_Shield | unit | No | |
Electric_Shield_Level | integer | No | |
Electric_Shield_Point | location | No | |
Enslaved_Demon | unit | No | |
FrostBarrier | group | No | |
Gold_Seconds_Factor | real | No | 0.70 |
Hammerfall_Caster | unit | No | |
Hammerfall_Target | unit | No | |
Heartstone_SE | effect | Yes | |
Hero_Array | unitcode | Yes | |
Hero_Position | location | No | |
Hints_Enabled | boolean | No | true |
Host | player | No | |
Hurl_Boulder_Caster | unit | No | |
Hurl_Boulder_Target | unit | No | |
Ice_Block_SE | effect | No | |
Ice_Block_Unit | unit | No | |
Ion_Canon_Ability_Level | integer | No | |
Ion_Canon_AoE | real | No | |
Ion_Canon_Base_Damage | real | No | |
Ion_Canon_Base_Mana_Burn | real | No | |
Ion_Canon_Caster | unit | No | |
Ion_Canon_Damage_Group | group | No | |
Ion_Canon_Distance | real | No | |
Ion_Canon_Location | location | No | |
Ion_Canon_Loop_Location | location | No | |
Ion_Canon_Loop_Number | integer | No | |
Ion_Canon_Total_Damage | real | No | |
Ion_Canon_Total_Mana_Burn | real | No | |
Kill_Count | integer | Yes | |
Knockback_Loc1 | location | No | |
Knockback_Loc2 | location | No | |
Knockback_Target | unit | No | |
KnockbackAngle | real | No | |
KnockbackDistance | real | No | |
KnockbackSpeed | real | No | |
KnockbackTable | hashtable | No | |
KnockbackUnits | group | No | |
Legion | force | No | |
Legion_AI | boolean | No | |
Legion_Defender | unit | No | |
Legion_Players | force | No | |
Legion_Seconds_Gold | real | No | |
Legion_Seconds_Lumber | real | No | |
Legion_Spawn_Portal | rect | No | |
LegionBottomSE | effect | No | |
LegionCenterSE | effect | No | |
LegionTopSE | effect | No | |
List | integer | No | |
LocalPlayer | player | No | |
Mass_Slow_Level | integer | No | |
Meteor_Caster | unit | No | |
Meteor_Damage | integer | No | |
Meteor_Location | location | No | |
Moon_fire_Caster | unit | No | |
Moonfire_Dot_Amount | real | No | |
Moonfire_Initial_Damage | real | No | |
Moonfire_Target | unit | No | |
MoonfireMultiplier | real | No | |
Mounted_Unit_Enabled | boolean | No | |
Multiboard_Spots | integer | Yes | |
Murloc1 | unit | No | |
Murloc2 | unit | No | |
Murloc3 | unit | No | |
Murloc4 | unit | No | |
Nether_Swap_Caster | unit | No | |
Nether_Swap_Target | unit | No | |
No_Summoning_Mode | boolean | No | |
Original_TArget | unit | No | |
Player_Color | string | Yes | |
Player_Count | integer | No | |
Poisoned_Axe_Target | unit | No | |
Posioned_Axe_Caster | unit | No | |
Previous_Owner | player | No | |
Rain | weathereffect | Yes | |
Rampage_Unit | unit | No | |
Random_Count | integer | No | |
Random_Data | integer | Yes | |
Random_Hero | integer | No | |
Random_Multiplier | integer | No | |
Razor_Edge_Ability_Level | integer | No | |
Razor_Edge_Area_of_Effect | real | No | |
Razor_Edge_Base_Damage | real | No | |
Razor_Edge_Caster | unit | No | |
Razor_Edge_Damage_Group | group | No | |
Razor_Edge_Location | location | No | |
Razor_Edge_Location2 | location | No | |
Razor_Edge_Total_Damage | real | No | |
RE_Knock_Angle | real | No | |
RE_Knock_Distance | real | No | |
RE_Knock_Group | group | No | |
RE_Knock_Loc1 | location | No | |
RE_Knock_Loc2 | location | No | |
RE_Knock_Speed | real | No | |
RE_Knocktable | hashtable | No | |
Rejuvenation_Amount | real | No | |
Rejuvenation_Multiplier | real | No | |
RejuvenationTarget | unit | No | |
Rune_North | item | No | |
Rune_South | item | No | |
Second_Wind_Dummy | unit | No | |
Second_Wind_Level | integer | No | |
Shadowstep_Ability_Level | integer | No | |
Shadowstep_Base_Damage | real | No | |
Shadowstep_Calculation | real | No | |
Shadowstep_Caster | unit | No | |
Shadowstep_Damage_Multiplier | real | No | |
Shadowstep_Location | location | No | |
Shadowstep_Location_2 | location | No | |
Shadowstep_Loop_Location | location | No | |
Shadowstep_Loop_Number | integer | No | |
Shadowstep_Target | unit | No | |
Shadowstep_Total_Damage | real | No | |
Siege_Enabled | boolean | No | |
Siege_Relief_Caster | unit | No | |
Siege_Relief_Point | location | No | |
Siege_Relief_Summoned_Units | integer | No | |
Slow_Poison_Arrow_Caster | unit | No | |
SlowPoisonArrowTarget | unit | No | |
SP_Flow | boolean | No | |
SP_Loss | integer | No | |
Spider1 | unit | No | |
Spider2 | unit | No | |
Splinter_Damage | integer | No | |
Splintering_Rock_Caster | unit | No | |
Splintering_Rock_Target | unit | No | |
Summoning_Points_Bounty | integer | No | |
T1Rocket_Caster | unit | No | |
T1Rocket_Target | unit | No | |
Target_Unit | unit | No | |
Temp_Group | group | No | |
Temp_Integer | integer | No | |
Temp_Integer2 | integer | No | |
Temp_Integer3 | integer | No | |
Temp_Player_Group | force | No | |
Temp_Point | location | No | |
Temp_Point2 | location | No | |
Temp_Unit | unit | No | |
Total_Bounty | integer | No | |
Total_Heroes | integer | No | |
Total_Kills | integer | Yes | |
Tower_Kills | integer | Yes | |
Troll1 | unit | No | |
Troll2 | unit | No | |
WarStomp | group | No | |
Weapon_Profiency_Unit | unit | No | |
Weather | integer | No | |
Wolf1 | unit | No | |
Wolf2 | unit | No | |
Y_Map_Point | location | Yes | |
Y_Wish_Group | group | Yes |