Talk:Debug Scripts

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

Finally found the discussion thread. Sorry for being that thumb ;)

I have incorporated some parts again, as the problem is repeatable on my configuration. But I've left the confusing unknown user thing ... sorry again ... just have to get custom to this wiki and its rules

AdiBeiElderScrolls 16:02, 13 November 2006 (EST)

Don't worry about it. Learn as you go. Obviously, no one around here hesitates to point you in the right direction. ;-) Scruggs 16:25, 13 November 2006 (EST)

Good idea for an article. Debugging scripts can be confusing. I think the article would benefit from some organization, though. Also, could you give examples of when an AI package might interfere with a script? Scruggs 11:32, 13 November 2006 (EST)

I removed the following comments from the article page:


Yep, in fact, thats what I say. 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
GetCurrentAIPackage "AnyParameterNotValid-ButMaybeValidPackageName?"
PickIdle My name is Bob
Or
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
So you see, some functions have unwanted behavior, not foreseen and others don't! But probably the circumstance, that object name was within apostrophes caused other unexpected event handling?
Details: Using localized german version, with Update German V1.1, Plugin Oblivion Deutsch 3.0, BTMod 2.20 - also maybe plugin malfunctions?
P.S.: Would have been nice, if you would have left a notice of yourself. Just add four times the ~ sign at the end of your message ... so I maybe able to contact and discuss with you ... thanks anyway for the comment ... made the nature of the problem more clear ;)
--AdiBeiElderScrolls 15:02, 13 November 2006 (EST)

The idea is that discussion of the article takes place on the Discussion page, rather than cluttering up the article itself. I explained my changes on this page.

I like the way you have organized the page. I'm still kinda confused about getCurrentAIPackage working as a "return function" - do you mean that the script only returned for one frame, or that it stopped processing completely? Scruggs 15:36, 13 November 2006 (EST)