Difference between revisions of "ReplaceGame"

From The Official Visionaire Studio: Adventure Game Engine Wiki
(Created page with "==replaceGame== <div class="command-min-version-info">Available since: <span class="command-min-version">v4.0</span></div> <div class="command-doc">Replaces the game with a...")
(No difference)

Revision as of 22:27, 30 September 2014

replaceGame

Available since: v4.0
Replaces the game with a file relative from the current file.

Lua Syntax:

replaceGame(path)

Arguments

path

"string" (string should contain 'vispath:' prefix) - Relative filename of game file.

Flags

Return Values

None.

Examples

Example 1:

replaceGame('load.vis')