ReplaceGame

From The Official Visionaire Studio: Adventure Game Engine Wiki
Revision as of 21:27, 30 September 2014 by Vis apiuser (talk) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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')