PrintDebugF

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


A function added by the New Vegas Script Extender.

Description

As PrintF, but only outputs if the calling mod has Debug Mode enabled.

Syntax

[help]
(none) PrintDebugF OutputFileName:string OutputText:string 

Or:

(none) PrintDF OutputFileName:string OutputText:string

Example

SetDebugMode 1 
PrintDebugF "MyLog.txt", "That Gum you like is going to come back in style."

MyLog.txt --> That Gum you like is going to come back in style.

See Also