Difference between revisions of "Talk:RunBatchScript"
Jump to navigation
Jump to search
Reply to Zumbs
imported>Zumbs m (→Robustness?) |
imported>Scruggs (Reply to Zumbs) |
||
Line 38: | Line 38: | ||
Is this by design or have I just been lucky? If by design, I would suggest that these points are added to the description (under notes). Also, does this function correspond to the console command bat? | Is this by design or have I just been lucky? If by design, I would suggest that these points are added to the description (under notes). Also, does this function correspond to the console command bat? | ||
--[[User:Zumbs|Zumbs]] 13:46, 14 June 2008 (EDT) | --[[User:Zumbs|Zumbs]] 13:46, 14 June 2008 (EDT) | ||
: When you use the console, Oblivion passes your input to its Script::CompileAndRun function which parses and executes the input. RunBatchScript does essentially the same thing, taking input one line at a time from the text file and passing each line to CompileAndRun(). If there is an error in one line of the batch file, we just continue on to the next line. An error in the script file has the same chance of crashing the game as a typing error in the console (i.e. very little). | |||
: I don't see a "bat" function on the console command page, although there are some special console functions (like UseWorkbook) that aren't defined like normal script/console commands. RunBatchScript doesn't call that command but the behavior might be similar. What does that command do? [[User:Scruggs|Scruggs]] 00:06, 21 June 2008 (EDT) |