Difference between revisions of "Debug Scripts"
no edit summary
imported>Scruggs (removing discussion) |
imported>AdiBeiElderScrolls |
||
|
PickIdle My name is Bob</pre>
:Yep, in fact, thats what's also true. But the GetCurrentAIPackage worked this time like a return function ... so it didn't execute any code above the first occurrence of GetCurrentAIPackage due to the use of no (valid) parameters ... just try (the package has to be associated also to the NPC - at least that was my situation)
<pre>GetCurrentAIPackage "AnyParameterNotValid-ButMaybeValidPackageName?"
PickIdle My name is Bob</pre>
:Or
<pre>If ( GetCurrentAIPackage "AnyParameterNotValid-ButMaybeValidPackageName?" )
PickIdle My name is Bob
EndIf
; at least I used valid package names and didn't test it
; against invalid parameters</pre>
:So you see, some functions (especially that one's that can also work like a return function) have unwanted behavior, not foreseen and others don't!
:Details about configuration: Using localized german version, with Update German V1.1, Plugin Oblivion Deutsch 3.0, BTMod 2.20
===Ingame starting debug messages at defined points===
| |||