Jump to content

Condition on a quest stage


Recommended Posts

I have successfully done this before with a different patch of mine but for my current one I cannot get anything to happen using the GetStageDone condition on a quest stage item:

https://i.imgur.com/R5p5TQy.png

my monitoring quest starts, I know this because stage 0 prints a notification to the screen  I know that stage 10 of my quest is visited because the console tells me so, i also know that stage 5 of the bittercup quest has been visited because the console says so and I read that 'GetStageDone' is defined as the stage being 'visited'.  So I conclude that my stage 10 is visited but the quest stage item script fragment never runs because the condition isn't satisfied - except it is as far as I can see using the console to check the Bittercup quest.

What kind of stuff might I be missing, does it matter that in the patch where I got this to work I was looking at the stages for a mod added quest, whereas this is to monitor a Creation?

 

diziet

Link to comment
Share on other sites

I'm still having problem with this so here is more detail.  I have a quest which at the moment has one purpose, monitor the Bittercup quest and when the player goes to the altars in the Forbidden Ruins and selects the Altar of Nothing, prints  a notification to the screen.  The quest uses a condition on the quest fragment that prints the notification:

debug.trace("DBMQ: monitored quest reached stage 5")
debug.notification("Bittercup quest stage 5 done")

SetStage(20)

this is the stage:

https://i.imgur.com/N6GD4M7.png

the condition is:

Vz8w3Lr.png

I know that the quest stage that has the fragment is reached by using the console command 'sqs', I know my monitoring quest is running because the previous start up stage 0 prints a notification; at which point my quest visits stage 10 and the fragment should wait for the condition to fire.

But the notification never arrives.  I don't know what the 'Parameters (use Aliases)' in the condition dialogue does but I've tried checked and unchecked. Using 'sqs' I know that when my quest starts the Bittercup quest has not visited its stage 5 and that when I select the Altar Of Nothing it has; in fact stage 5 of that quest is the stage that enables the Altars so that a choice can be made.

Any help or suggestions gratefully received:)

 

diziet

Link to comment
Share on other sites

Where is this condition coded?

Quest stage fragment conditions, like most other conditions, are not monitored continuously by the game. They are checked when you attempt to change the quest stage.

The only conditions that are checked continuously (AFAIK) are:
1 - Scene phase ending conditions are checked every frame (like 20 times per second)
2 - Spell-side activation conditions for magic effects are checked every second (not sure if and when ME-side conditions are rechecked after 1st casting)
Link to comment
Share on other sites

This is a pic of the quest stage dialogue:

https://i.imgur.com/N6GD4M7.png

for which I expanded the condition for the image in the post above.  Perhaps I misunderstand but I thought that a stage is visited even if it has a fragment with a condition, but the fragment isn't run unless the condition applies and if the condition doesn't apply then it waits for the condition, which would explain why my fragment bit that says "SetStage(20)" never fires. I reach stage 10 but its fragment never runs as the condition isn't met. except the condition is met, so I'm doing something wrong:)

If the condition is not continually checked for then what purpose do they have for a quest stage?

 

diziet

Link to comment
Share on other sites

3 hours ago, dizietemblesssma said:

If the condition is not continually checked for then what purpose do they have for a quest stage?

Solely to check whether the conditions hold at the time of the stage switch.

It might allow the quest to change a log entry to align with the gender of the player or an NPC... or setup the quest's evolution differently depending on the current situation... For the most part, I think the feature was created to control the quest log, more than to enact world changes.

For my part, I almost completely stopped using quest stages and quest fragments... except to manage log entries...

Link to comment
Share on other sites

  • Recently Browsing   0 members

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