PrintDebug
From GECK
(Redirected from PrintD)
A function added by the New Vegas Script Extender.
Contents
Description
As Print, but outputs to console only if the calling mod has debug mode enabled.
Syntax
(none) PrintDebug string:expression
Or:
(none) PrintD string:expression
Example
SetDebugMode 1 PrintDebug "SomeVariable = " + $SomeVariable
See Also
- SetDebugMode
- GetDebugMode
- DebugPrint (the old equivalent which requires string formatting)
- Con_SCOF to transfer console outputs into Debug Logs.
- ToString($)
- String Variable