FANDOM



Syntax

LevelInit( string strMapName, string strMapEntities, string strLandmarkName, boolean loadGame, boolean background )

Ran when the level starts.

Return

Returns nothing.

Examples

Example 1:
function GM:LevelInit( strMapName, strMapEntities, strOldLevel, strLandmarkName, loadGame, background )
  print("Hello World!")
end
Output:
prints "Hello World!" when the level starts.

See AlsoEdit