function InitGame(data) { // This will be called after the map has been loaded, before the simulation has started. // It should initialise the game based on parameters passed from the GUI, e.g. player // names and colours. } Engine.RegisterGlobal("InitGame", InitGame);