Con SCOF

< [[::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"

See Also