function GetHost takes nothing returns nothing
local gamecache g = InitGameCache("Map.w3v")
call StoreInteger(g, "Map", "Host", GetPlayerId(GetLocalPlayer()))
call TriggerSyncStart()
call SyncStoredInteger(g, "Map", "Host")
call TriggerSyncReady()
set udg_Host = Player(GetStoredInteger(g, "Map", "Host"))
call FlushGameCache(g)
set g = null
endfunction
function InitTrig_HostGet takes nothing returns nothing
call FlushGameCache(InitGameCache("Map.w3v"))
endfunction