RunBatchScript
Revision as of 10:46, 24 November 2007 by imported>Haama (There's no info on the console function in the wiki, so putting up some alternative information)
A command for Oblivion Script Extender
Syntax:
(nothing) RunBatchScript
Runs a specified text file under the Oblivion directory as a script.
Notes
- The text will run as if it's been injected into that part of the script. For instance, if you have the script
scn YourScript short YourVar begin GameMode set YourVar to 0 RunBatchScript "Batch.txt" printc "YourVar is %g", YourVar end
and in the text file
set YourVar to 1
you will see the console message YourVar is 1 in-game.