Jump to content

Recommended Posts

Posted

I've made a custom quest that no matter what I do will refuse to start. Even if I setstage with the console the current stage still remains on zero.

After scouting Google I bit I discovered that the reason for this is that some Aliases don't fill. So, I ran ShowQuestVars in the console and it returned the bottom 3 Aliases = NONE. I have about 10 Aliases in my quest and all are either markers or actors. So if anyone can tell me what on earth is going on and how to fix it, It would be greatly appreciated.

Posted

I've made a custom quest that no matter what I do will refuse to start. Even if I setstage with the console the current stage still remains on zero.

After scouting Google I bit I discovered that the reason for this is that some Aliases don't fill. So, I ran ShowQuestVars in the console and it returned the bottom 3 Aliases = NONE. I have about 10 Aliases in my quest and all are either markers or actors. So if anyone can tell me what on earth is going on and how to fix it, It would be greatly appreciated.

Which aliases? How are they set? What type of aliases? There's no way to help you if you aren't specific.

Posted

Sorry I should have been more specific.

http://i60.tinypic.com/iqliq8.png

The Highlighted ones are the Aliases been returned as NONE. What I don't understand is why these don't work when other similar ones do?

Posted

Well firstly I recommend trying specific reference rather than unique actor. This has solved issues for me in the past.

Posted (edited)

Well all the aliases work now, which proves that they are not the cause of the problem.

 

The quest is supposed to start when the player reads a note with this script attached:

Scriptname SuhriemMQ01FlyerScript extends ObjectReference
 
Quest Property SuhriemMQ01 Auto 
 
Event OnEquipped(Actor Someone)
 SuhriemMQ01.SetStage(10)
EndEvent

The quest will not advance and remain on stage 0 even if I try and set it manually with the console. I'm testing off a clean save and generated an seq file with TesVedit.

Edited by Anikma
Posted

Well all the aliases work now, which proves that they are not the cause of the problem.

 

The quest is supposed to start when the player reads a note with this script attached:

Scriptname SuhriemMQ01FlyerScript extends ObjectReference
 
Quest Property SuhriemMQ01 Auto 
 
Event OnEquipped(Actor Someone)
 SuhriemMQ01.SetStage(10)
EndEvent

The quest will not advance and remain on stage 0 even if I try and set it manually with the console. I'm testing off a clean save and generated an seq file with TesVedit.

Not sure about the setstaging, but use OnRead for books/notes not OnEquipped. It has no parameters.

Posted (edited)

Ok I think I may have found the problem. The script attached to the note is note executing when I read it. I did what you suggested and changed it to this, as well as adding a few things to help me determine what the problem was.

Here is the full script attached to the note:

 
Scriptname SuhriemMQ01FlyerScript extends ObjectReference
 
Quest Property SuhriemMQ01 Auto 
 
Event OnRead()
 SuhriemMQ01.SetStage(0)
 Debug.Notification("Script Passed")
  If SuhriemMQ01.GetStage() == 0
   Debug.Notification("The Quest stage is set properly") 
  EndIf
EndEvent

I get the notification for 'script passed' but the stage does not set to the start up stage (0, I originally thought it was 10). Any idea why this might be?

Edited by Anikma
Posted

You're second script should be correct, however having your stage 0 marked as the 'start-up' stage, you may need to progress the quest to stage 10 OnRead().

 

Try that and let me know if it fixes it for you.

Posted

You're second script should be correct, however having your stage 0 marked as the 'start-up' stage, you may need to progress the quest to stage 10 OnRead().

 

Try that and let me know if it fixes it for you.

I probably should have mentioned that I had solved this problem already (by doing exactly what LeianneG has suggested, kudos to you for helping). I don't know why I couldn't advance my quest with the console, but it seems to fix itself. Now I am having another huge problem with dialogue which I have opened in this thread here.

  • Recently Browsing   0 members

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