Ykkrosh
4fed9b8242
Merge from 22b478ffed8d. Pure scripted interface definitions. Entity creation from scripts. Improved messaging system. Messages on entity deletion. Basic player entities. Player ownership. Bug fixes. This was SVN commit r7281.
9 lines
274 B
JavaScript
9 lines
274 B
JavaScript
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);
|