Difference between revisions of "Debug Scripts"

Jump to navigation Jump to search
35 bytes added ,  07:40, 15 November 2006
no edit summary
imported>AdiBeiElderScrolls
imported>AdiBeiElderScrolls
PickIdle My name is Bob</pre>
 
:Yep,And 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 not using it correctly in a compare statement ... but using a valid package name ... just try (the package doesn't need to be related to the NPC)
 
<pre>GetCurrentAIPackage "ValidPackageName"
EndIf</pre>
 
:IYou usedmay want to use the following test sequence with an NPC not related to the used package to verify the problem. ItYou turnedwill outnotice, that the script could notcan't be saved, if no valid package name wasis given. Also, it happenedmay happen, that the script afterwards didnwon't seem to execute anymore. In my case, FramesRun stayed at value 1, even if talking to the NPC (activating)- see details of my configuration below.
 
<pre>short FramesRun

Navigation menu