Difference between revisions of "Debug Scripts"
Jump to navigation
Jump to search
no edit summary
imported>Scruggs (grammar and minor corrections) |
imported>AdiBeiElderScrolls |
||
|
<pre>disable objectID 1
PickIdle My name is Bob</pre>
Probably the circumstance, that object name was within apostrophes?
Details: Using localized german versio, with Update German V1.1, Plugin Oblivion Deutsch 3.0, BTMod 2.20 - also maybe plugin malfunctions?
[[User:AdiBeiElderScrolls|AdiBeiElderScrolls]] 14:14, 13 November 2006 (EST)
===Ingame starting debug messages at defined points===
If you want to evoke messages or messageboxes at defined point, it helps, if you define a debugOn variable in the script and set it via general topic or quest topic.
All code inside would look like:
<pre>short debugOn
... your code
If debugOn
Message "whatever you want to say %.0f" MyVar
EndIf
... your code
If debugOn
Message "whatever you want to say %.0f" MyVar
EndIf
... and so on</pre>
[[Category:Scripting]]
| |||