Difference between revisions of "DebugPrint"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
m (Robot: Automated text replacement (-'''.*'''\r\n +))
imported>Odessa
(link to scof)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function
{{Function
  |origin = FOSE1
  |origin = FOSE1
  |summary = Prints a formatted string to the console if debug mode is enabled for calling script
  |summary = Identical to [[PrintToConsole]], but message is only printed if [[SetDebugMode|Debug mode]] is enabled for the calling mod.
  |name = DebugPrint
  |name = DebugPrint
  |alias = dbprintc
  |alias = DBPrintC
  |returnType = void
  |returnType = void
  |arguments =  
  |arguments =  
   {{FunctionArgument
   {{FunctionArgument
   |Name = format string
   |Name = Message
   |Type = string
   |Type = string
   }}{{FunctionArgument
   }}{{FunctionArgument
   |Name = variable
   |Name = Formatting
   |Type = float
   |Type =  
  |Optional = optional
  }}{{FunctionArgument
  |Name = variable
  |Type = float
  |Optional = optional
  }}{{FunctionArgument
  |Name = variable
  |Type = float
  |Optional = optional
  }}{{FunctionArgument
  |Name = variable
  |Type = float
  |Optional = optional
  }}{{FunctionArgument
  |Name = variable
  |Type = float
  |Optional = optional
  }}{{FunctionArgument
  |Name = variable
  |Type = float
  |Optional = optional
  }}{{FunctionArgument
  |Name = variable
  |Type = float
  |Optional = optional
  }}{{FunctionArgument
  |Name = variable
  |Type = float
  |Optional = optional
  }}{{FunctionArgument
  |Name = variable
  |Type = float
  |Optional = optional
  }}{{FunctionArgument
  |Name = variable
  |Type = float
  |Optional = optional
  }}{{FunctionArgument
  |Name = variable
  |Type = float
  |Optional = optional
  }}{{FunctionArgument
  |Name = variable
  |Type = float
  |Optional = optional
  }}{{FunctionArgument
  |Name = variable
  |Type = float
  |Optional = optional
  }}{{FunctionArgument
  |Name = variable
  |Type = float
  |Optional = optional
  }}{{FunctionArgument
  |Name = variable
  |Type = float
  |Optional = optional
  }}{{FunctionArgument
  |Name = variable
  |Type = float
  |Optional = optional
  }}{{FunctionArgument
  |Name = variable
  |Type = float
  |Optional = optional
  }}{{FunctionArgument
  |Name = variable
  |Type = float
  |Optional = optional
  }}{{FunctionArgument
  |Name = variable
  |Type = float
  |Optional = optional
  }}{{FunctionArgument
  |Name = variable
  |Type = float
   |Optional = optional
   |Optional = optional
   }}
   }}
}}
}}
==Notes==
*Requires use of [[ToString|ToString($)]] to print [[String Variable|string variables]].
==See Also==
*[[String Formatting]]
*[[PrintToConsole]]
*[[SetDebugMode]]
*[[SCOF]] / [[Con_SCOF]] (to write console output to a file)
*[[Print]]
[[Category:Functions_(FOSE)]]
[[Category:Functions_(FOSE)]]
[[Category:Debugging]]

Latest revision as of 07:34, 21 July 2014

< [[::Category:Functions|Category:Functions]]

A function added by the Fallout Script Extender.

Description

Identical to PrintToConsole, but message is only printed if Debug mode is enabled for the calling mod.

Syntax

[help]
DebugPrint Message:string Formatting 

Or:

DBPrintC Message:string Formatting

Notes

See Also