Difference between revisions of "PrintToConsole"

Jump to navigation Jump to search
84 bytes added ,  14:16, 4 September 2007
PrintC alias
imported>Scruggs
(works with TDT)
imported>DragoonWraith
(PrintC alias)
Line 3: Line 3:
'''Syntax:'''
'''Syntax:'''
  PrintToConsole "Message text", [var1], [var2], etc
  PrintToConsole "Message text", [var1], [var2], etc
PrintC "Message text", [var1], [var2], etc


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==
==Notes==
* PrintC is an alias for this function.
* 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.
* 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]]

Navigation menu