Jump to content

One specific quest script doesn't run.


BerserkKnight

Recommended Posts

This problem puzzles me, and I just can't seem to figure out what's wrong with it.

 

 

There are 3 related quests, that I'll refer to as (1), (2) and (3). (3) is the one that's causing the problem.

 

 

(1) is always active. It checks for variables in other quests to determine whether it should activate (2) or (3), and stores variables commonly used by (2) and (3). (2) and (3) are never run together.

 

(2) and (3) are almost identical; quest stages, the scripts, everything. They are both initially disabled, and are activated by (1) in the exact same manner.

 

(2) runs just fine. Everything works just as I intended.

 

Given all that, (3) should run just fine as well, but it doesn't. The quest script simply won't run. The only thing that DOES run is the "End Result" script for each quest stage.

 

 

I've checked the quest properties to see if the correct script was selected, and also checked the script to see if it was tagged as as quest script.

 

GetQuestRunning, GetStage, Show "quest variable", and everything else that I can think of basically says that everything is just right, but the script just won't run at all.

 

The script is divided into 4 separate "if ~ endif" sections. None of them run at all.

 

There isn't a single 'return' command in the script which could end the script abruptly, so that's out of the question.

 

 

So...anyone able to explain what the heck is wrong here?

Link to comment
Share on other sites

If you have a function that is trying to operate on a null reference, this can sometimes halt a script or cause a CTD. Are you running FOSE? If not, you can put a ShowMessage MyTestMessage1, ShowMessage MyTestMessage2, etc at various parts of your script to see where is is halting.

 

Other that that, it's hard to tell without seeing it.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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