Difference between revisions of "RunBatchScript"
There's no info on the console function in the wiki, so putting up some alternative information
imported>Haama (Reomved link to console functions - no info on it there either) |
imported>Haama (There's no info on the console function in the wiki, so putting up some alternative information) |
||
|
==Notes==
*The text will run as if it's been injected into that part of the script. For instance, if you have the script
<pre>scn YourScript
short YourVar
begin GameMode
set YourVar to 0
RunBatchScript "Batch.txt"
printc "YourVar is %g", YourVar
end</pre>
and in the text file
<pre>set YourVar to 1</pre>
you will see the console message ''YourVar is 1'' in-game.
[[Category: Functions]]
| |||