Mod:Creation Kit/TraceConditional - Debug

Mod:Creation Kit/Category:Scripting Mod:Creation Kit/Category:Papyrus Mod:Creation Kit/Category:Papyrus Debug Only Functions Member of: Mod:Creation Kit/Debug Script

Outputs a string to the Papyrus log on disk, and the Papyrus overlay. But only if the condition is true.

Parameters

 * TextToPrint: The text that should be printed to the log and text page.
 * ShowTrace: If true, the trace is printed out, otherwise it is eaten by the function.
 * Severity: the severity to pass through to the trace command

Return Value
None