- Found in:
- Vanilla
voidfunctionTraceFunction(stringasTextToPrint="racing function on request", intaiSeverity=0)NativeGlobal
[DEV SERVER] Loading description...
Caveats
Parameters
stringasTextToPrint="racing function on request"
CK Wiki Description
The text that should be printed to the log and text page.
intaiSeverity=0
CK Wiki Description
The severity of the trace statement. Info, the default, will show up as green; warnings will show up as yellow; and errors as red; in the Papyrus debug text page.
- The following values are acceptable:* 0:Info
- 1:Warning
- 2:Error
Examples
; Outputs "Tracing function on request" along with all available information about this function to the log
Debug.TraceFunction(); Outputs "Tracing function on request" along with this function's information to the log, at error severity (colored red)
Debug.TraceFunction(aiSeverity = 2)Auto-Generated Example
string myString__asTextToPrint
int myInt__aiSeverity
Debug.TraceFunction(myString__asTextToPrint, myInt__aiSeverity)Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
