Jump to content

Quest Not Functioning


thirteenoranges1

Recommended Posts

Ok, I have a simple 3 part quest with 3 stages and 2 objectives.

 

The first stage and objective should be displayed when a book is read. For this i used the default OnRead script (the same used by The Legend of Red Eagle book) simply assigning the properties to fit my own quest.

 

The second stage and objective should be displayed when a specific item has been picked up. This is done through a script on the item to check if it has been picked up by the player (essentially the same script as in the CK website's tutorial quest)

 

The third stage simply completes the quest when the target unique Actor has been killed, again, a simple script on the Actor should trigger this.

 

Each stage has a log entry, and each objective has a Reference Alias, without any conditions. The quest is set to priority 60 and doesn't feature any dialog. Each stage has the simple script used to display the objective and complete any previous objective which may be active.

 

Basically. The quest doesn't work. I've tested with two characters, a number of times.

- On the first character, the book does NOT trigger the quest starting or give any objectives, basically seeming to have no effect. However, picking up the item for stage 2 DOES start the quest and trigger the second stage, and displays the objective, BUT the Reference Alias does not appear, nor does the Log Entry for that objective.

- On the second character, no stages will successfully trigger, and I cannot get the quest to start at all.

 

Does anyone have any suggestions as to what might be going wrong here?

Edited by thirteenoranges1
Link to comment
Share on other sites

The script to trigger the first stage is attached to the book Object (not a specific reference):

 

 

Scriptname DefaultOnReadSetQuestStage extends ReferenceAlias

 

int Property myStage Auto

 

Quest Property myQuest Auto

 

event onRead()

myQuest.setStage(myStage)

endEvent

 

**This is also the EXACT same script used for The Legend of Red Eagle**

 

The script on the item to trigger the second stage is attached to the item, and works on one character but not another (although the log entry and alias don't display):

 

Quest Property tos_QST40 auto

 

Event OnContainerChanged(ObjectReference newContainer, ObjectReference oldContainer)

if (newContainer == Game.GetPlayer())

tos_QST40.SetStage(40)

endif

EndEvent

 

It seems to me like it's more likely a problem with the Quest somewhere, rather than the scripts, but I can't work out what. I've compared it to numerous other working quests and tutorials, and can't find any significant differences.

 

I have also tried progressing the Quest via the Console, however, the first stage still does not trigger at all and the other stages still do not display Log Entries or Alias References

Edited by thirteenoranges1
Link to comment
Share on other sites

Ok, an update on the issue. I made an EXACT duplicate of the stage AND objective that were not triggering via the book or the console, the only difference is the associated index numbers (which were 20, and are now both 50) and that seems to have fixed THAT issue, so the Quest starts and progresses as desired. HOWEVER, the Alias Reference markers still fail to show on the map and the Log Entries do not show either...I have no idea as to why. Edited by thirteenoranges1
Link to comment
Share on other sites

  • Recently Browsing   0 members

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