Difference between revisions of "SetConsoleOuputFile"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Wkilleen
 
imported>Cipscis
(Changed note - Function name is misspelled, but almost certainly not intentionally so)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
'''SetConsoleOuputFile''' creates a text file (such as "output.txt") that stores console input and output.
{{Function
 
|origin = GECK1
=='''Syntax'''==
|summary = [[SetConsoleOuputFile]] creates a text file in the ''Fallout 3'' directory that stores console input and output.
 
|alias = SCOF
SetConsoleOuputFile ''filename.txt''
|arguments = {{FunctionArgument
SCOF ''filename.txt''
|Name = FileName
 
|Type = string
=='''Example'''==
}}
 
|example = SetConsoleOuputFile "Console.txt"
  SetConsoleOuputFile ''Debug.txt'' (console output will now be written to Debug.txt)
}}
 
==Notes==
=='''Notes'''==
*The long name of this function is misspelled. Attempts to use ''SetConsoleOu'''t'''putFile'' will result in an error.
*A filename is a required parameter for this command.
*The file will not contain [[ToggleDebugText|Debug Text]].
*The file will not contain [[ToggleDebugText|Debug Text]].
*If a file with the specified filename already exists, the output will be appended to the contents of the file.


[[Category:Console Functions]]
[[Category:Console Functions]]
[[Category:Designer Debug Tools]]
[[Category:Designer Debug Tools]]

Latest revision as of 03:05, 25 March 2010

< [[::Category:Functions|Category:Functions]]

A function included in the GECK version 1.1.0.36.

Description

SetConsoleOuputFile creates a text file in the Fallout 3 directory that stores console input and output.

Syntax

[help]
SetConsoleOuputFile FileName:string 

Or:

SCOF FileName:string

Example

SetConsoleOuputFile "Console.txt"

Notes

  • The long name of this function is misspelled. Attempts to use SetConsoleOutputFile will result in an error.
  • The file will not contain Debug Text.
  • If a file with the specified filename already exists, the output will be appended to the contents of the file.