Jump to content

Dialogue Package Trouble


th3overseer

Recommended Posts

I'm working on a mod that includes a courier who is supposed to deliver a message, and then leave. The condition for his dialogue package is if the quest stage is 40, when he delivers the note to the player it sets the quest stage to 50, and the condition for his exiting package is also quest stage 50. What actually happens is he spawns, delivers the message, and then he just constantly tries to initiate dialogue with the player, and he won't leave. The quest stage is definitely at 50 by this point, but he doesn't care. He is completely ignoring the travel package that should be taking over at stage 50, and is stuck on the dialogue package that is supposed to stop having any effect once the quest stage isn't 40 anymore.

 

What do I do?

Link to comment
Share on other sites

Are you actually using the functions "GetStage" or "GetStageDone"? If so, I suspect your problem is one of timing for those functions. All the dialog I've seen has used created "gateway" variables to track the progress of dialog lines instead. I.e. "If saidline = 1" then say dialog line2, and in End Result Script "set saidline =2", etc..

 

To initiate your travel package, make sure no other packages will also have conditions that are true, and use the "EVP" command to force a re-evaluation of all your packages.

 

-Dubious-

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...