dofile

Opens the named file and executes its contents as a Lua chunk. In case of errors, dofile propagates the error to its caller.

Kind: Function

Environments: Game, Terrain

Game

dofile( filename )

Open the full Game reference

Parameters:

Name Type Description
filename string The name of the file to be loaded.

Terrain

dofile( filename )

Open the full Terrain reference

Parameters:

Name Type Description
filename string The name of the file to be loaded.