function GetHost takes nothing returns nothing
local gamecache g = InitGameCache("Map.w3v")
call StoreInteger ( g, "ChangeNameSystem", "Host", GetPlayerId(GetLocalPlayer ())+1)
call TriggerSyncStart ()
call SyncStoredInteger ( g, "ChangeNameSystem", "Host" )
call TriggerSyncReady ()
set udg_host = Player( GetStoredInteger ( g, "ChangeNameSystem", "Host" )-1)
call FlushGameCache( g )
set g = null
endfunction
Name | Type | is_array | initial_value |
Colour | string | Yes | |
ColourEnd | string | No | |
Heroes | unit | Yes | |
host | player | No | |
Player_Colors | string | Yes | |
Random | integer | No | |
Real | real | Yes | |
SelectedHero | unit | Yes | |
Tips | string | Yes | |
UnitGroup | group | No |