PrintDebug

From GECK
(Redirected from PrintD)
Jump to: navigation, search


A function added by the New Vegas Script Extender.

Description

As Print, but outputs to console only if the calling mod has debug mode enabled.

Syntax

[help]
(none) PrintDebug string:expression 

Or:

(none) PrintD string:expression 

Example

SetDebugMode 1

PrintDebug "SomeVariable = " + $SomeVariable

See Also