Difference between revisions of "PrintToConsole"
no edit summary
imported>Quetzilla (→Notes) |
imported>Quetzilla |
||
Line 15: | Line 15: | ||
..\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 [[MessageBoxEX|"EX"]] formatting specifiers. | * As of v0014, PrintToConsole accepts the [[MessageBoxEX|"EX"]] formatting specifiers. | ||
== Style Suggestions == | |||
For modders using PrintToConsole to print debug info in a 'released' version of a mod, it is a good idea to add an identifying tag to the beginning of the text. For example, if the mod is named Random Modder's Mod, do the following: | |||
printc "RMM: some debug info goes here" | |||
If the mod is complex with several scripts running simultaneously, it can be a good idea to identify the script as well, in order to easily identify where a message is coming from, such as: | |||
printc "RMM|OptionsMenu: the player closed the menu" | |||
By following the above suggestions you also help the end-user of your mod determine where possible bugs are occuring, as well as to be able to distinguish which mod is printing the various console messages that show up when running multiple mods. | |||
== Displaying Variables == | == Displaying Variables == |