Difference between revisions of "PrintToConsole"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
imported>Scruggs
(works with TDT)
Line 5: Line 5:


Prints a formatted string to console. Uses the same syntax as [[Message]] and [[MessageBox]]. Mainly useful for debugging purposes.
Prints a formatted string to console. Uses the same syntax as [[Message]] and [[MessageBox]]. Mainly useful for debugging purposes.
==Notes==
* This function works in conjunction with the console function ToggleDebugText. When PrintToConsole is called while TDT is active, console messages will be visible during normal gameplay. Useful for debugging when a lot of messages need to be displayed.


[[Category: OBSE Functions]]
[[Category: OBSE Functions]]
[[Category: OBSE Debug Functions]]
[[Category: OBSE Debug Functions]]

Revision as of 18:59, 18 January 2007

A command for Oblivion Script Extender

Syntax:

PrintToConsole "Message text", [var1], [var2], etc

Prints a formatted string to console. Uses the same syntax as Message and MessageBox. Mainly useful for debugging purposes.

Notes

  • This function works in conjunction with the console function ToggleDebugText. When PrintToConsole is called while TDT is active, console messages will be visible during normal gameplay. Useful for debugging when a lot of messages need to be displayed.