AI just stands there; he won't budge!

Post » Thu Apr 03, 2014 9:30 pm

There are commands in the NPC script for "onpackagedone," that sets to a new stage and the next package is supposed to go off. But instead, the NPC just stands there like a dork.

What's weirder is this was working before, and YES, when I use the console to set the next quest stage, the AI package...works. So for whatever reason, SOMETHING I did broke the "onpackagedone," and the block won't set the stage on its own. What does this mean?

I can tell you what it doesn't mean: it doesn't mean I'm missing a quest stage, or that the AI package doesn't work at all. I even tried "evp" and nothing happens.

It's like the AI package will not complete, and/or the "onpackagedone" suddenly no longer works. Has anyone ever had this problem? Will re-installing Oblivion help? Like I said, I wasn't having this problem before. But now it's happening to every script block on this NPC (I haven't even tested any other NPCs yet, this one has got me so stumped).

CODE!

begin onpackagedone myQuest    setstage myQuest 10end

And on 10 the AI package starts...except that once the package finishes, the quest never goes to stage 10. I have to manually set it to stage 10, and then everything works. I have NO IDEA at this point what is causing the problem. My ideas:

  • Having too many AI packages on one NPC fubars the entire thing, and I should try to pare things down
  • Having too many "onepackagedone" blocks in one script fubars the entire thing, etc. etc.
  • Having too many script blocks in one script fubars everything
  • Something else is broken; is there something better I can use in place of my current "onpackagedone" system for setting up a string of consecutive AI packages?
User avatar
Bryanna Vacchiano
 
Posts: 3425
Joined: Wed Jan 31, 2007 9:54 pm

Return to IV - Oblivion