Difference between revisions of "PrintToConsole"
Jump to navigation
Jump to search
→Notes
imported>DragoonWraith (killing TOC) |
imported>Quetzilla (→Notes) |
||
Line 10: | Line 10: | ||
== Notes == | == 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. | * This function works in conjunction with the console function [[:Category:Console_Functions|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. | ||
* [[GetInventoryObject]] and [[GetNumItems]] will also return messages to the console (1 message for each item). As the number of console lines is limited, use caution with these and PrintToConsole | * If using an OBSE version prior to v0013, [[GetInventoryObject]] and [[GetNumItems]] will also return messages to the console (1 message for each item). As the number of console lines is limited, use caution with these and PrintToConsole. | ||
* You can increase the number of lines in the console by increasing the '''iConsoleVisibleLines''' setting in the config file, found at | * You can increase the number of lines in the console by increasing the '''iConsoleVisibleLines''' setting in the config file, found at | ||
..\Documents and Settings\"User Name"\My Documents\My Games\Oblivion\Oblivion.ini | ..\Documents and Settings\"User Name"\My Documents\My Games\Oblivion\Oblivion.ini | ||
* As of v0014, PrintToConsole accepts the "EX" formatting specifiers. | * As of v0014, PrintToConsole accepts the [[MessageBoxEX|"EX"]] formatting specifiers. | ||
== Displaying Variables == | == Displaying Variables == |