- Found in:
- Vanilla
Description
Wiki Description
Outputs a string to the Papyrus log on disk, and the Papyrus overlay, pretty-printing the passed in self object and function name.
The output format is: "[Script]-->FunctionName(): Text"
Documentation String
Convenient way to trace the script name and optional function name as a prefix to the trace string
Note, always pass in SELF as the CallingScript
Documentation Comment
jduvall
Parameters
ScriptObjectCallingScript
CK Wiki Description
The script to print out
stringFunctionName
CK Wiki Description
The function name to print out
stringStringToTrace
CK Wiki Description
The text that should be printed to the log and text page.
Examples
; Outputs something like: "[MyScript (020001FD83)]-->DoStuff(): Hello World!"
Debug.TraceSelf(self, "DoStuff", "Hello World!")Auto-Generated Example
ScriptObject myScriptObject__CallingScript
string myString__FunctionName
string myString__StringToTrace
Debug.TraceSelf(myScriptObject__CallingScript, myString__FunctionName, myString__StringToTrace)Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
