PrintDebug

From the Fallout3 GECK Wiki
Revision as of 07:19, 16 August 2014 by imported>Odessa (created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

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. Added by NVSE 4.5.6.

Syntax

[help]
(none) PrintDebug string:expression 

Or:

(none) PrintD string:expression

Example

SetDebugMode 1

PrintDebug "SomeVariable = " + $SomeVariable

See Also