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...")
 
(Redirected page to Global Command: replaceGame)
 
Line 1: Line 1:
==replaceGame==
+
#REDIRECT [[Global Command: 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 file relative from the current file.</div>
 
 
 
Lua Syntax:
 
<pre class="command-syntax">replaceGame(path)</pre>
 
===Arguments===
 
====path====
 
:'''"string" (string should contain 'vispath:' prefix)''' - Relative filename of game file.
 
===Flags===
 
===Return Values===
 
None.
 
===Examples===
 
Example 1:  
 
<syntaxhighlight>
 
replaceGame('load.vis')
 
</syntaxhighlight>
 

Latest revision as of 12:29, 19 May 2023