Background for Skyrim SE
Member of the Debug script
voidfunctionTraceConditional(stringTextToPrint, boolShowTrace)Global

[DEV SERVER] Loading description...


Caveats


Parameters

stringTextToPrint

CK Wiki Description

The text that should be printed to the log and text page.

boolShowTrace

CK Wiki Description

If true, the trace is printed out, otherwise it is eaten by the function.


Examples

; Output "Hello World" to the log, but only if the bdebug variable is true
Debug.TraceConditional("Hello, World!", bDebug)

Auto-Generated Example

string myString__TextToPrint
bool myBool__ShowTrace

Debug.TraceConditional(myString__TextToPrint, myBool__ShowTrace)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.