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 |
Bauern | force | No | |
chatInput | integer | Yes | |
CheatBuildFast | integer | No | |
CheatTurbo | boolean | No | |
EinheitengruppeTest | group | No | |
GMDialog | dialog | No | |
Gold | integer | No | 2 |
Host | player | No | |
Koenigreich | force | No | |
NormalGM | button | No | |
PlayerAlive | boolean | Yes | true |
PlayerLeft | boolean | Yes | |
RushGM | button | No | |
StartGold | integer | No | 35 |
tech | techcode | No |