Difference between revisions of "Debug Scripts"
Jump to navigation
Jump to search
→Ingame starting debug messages at defined points: Added note for PrintToConsole
imported>UDUN |
imported>Shademe (→Ingame starting debug messages at defined points: Added note for PrintToConsole) |
||
|
... and so on
</pre>
Alternatively, by using [[Oblivion Script Extender]], debug messages can be logged directly to the console through the [[PrintToConsole]] function. The messages printed thus offer many advantages, the prime being non-overlapping messages.
Messages displayed using [[Message]] and [[MessageEx]] can overlap with successive entries, thereby not displaying what's supposed to be.
In your final version you should remove any debug message and if debugOn blocks, as you deal with an interpreter. So the more statements you have in your code, the more time the script execution will take.
| |||