Difference between revisions of "Con SCOF"
Jump to navigation
Jump to search
imported>Odessa (new page proper capitalization) |
imported>Odessa (+see also) |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
|origin = NVSE | |origin = NVSE | ||
|summary = Runs the console command [[SCOF]] (Set Console Output File) via a script. This saves all subsequent console output during a game session to an external text file in the main game directory. The file name is specified as a string argument, and if it does not exist then it will be created, otherwise it will be appended to. | |summary = Runs the console command [[SCOF]] (Set Console Output File) via a script. This saves all subsequent console output during a game session to an external text file in the main game directory. The file name is specified as a string argument, and if it does not exist then it will be created, otherwise it will be appended to. | ||
This function can be used to create [[Debug Dumps]]. | |||
|name = Con_SCOF | |name = Con_SCOF | ||
|returnType = none | |returnType = none | ||
Line 12: | Line 14: | ||
==See Also== | ==See Also== | ||
*[[SCOF]] | *[[SCOF]] | ||
*[[ | *[[HasConsoleOutputFile]] | ||
*[[DebugPrint]] | *[[GetConsoleOutputFile]] | ||
*[[Print]] / [[DebugPrint]] | |||
*[[PrintF]] | |||
[[Category:Functions_(NVSE)]] | [[Category:Functions_(NVSE)]] | ||
[[Category:Debugging]] | [[Category:Debugging]] |
Latest revision as of 17:14, 9 March 2015
< [[::Category:Functions|Category:Functions]]
A function added by the New Vegas Script Extender.
Description
Runs the console command SCOF (Set Console Output File) via a script. This saves all subsequent console output during a game session to an external text file in the main game directory. The file name is specified as a string argument, and if it does not exist then it will be created, otherwise it will be appended to.
This function can be used to create Debug Dumps.
Syntax
(none) Con_SCOF FileName:string
Example
con_SCOF "debuglog.txt"