DefaultOnReadSetQuestStage doesn't seem to work?

Post » Mon Nov 19, 2012 11:42 am

I have created a new quest as per usual. Only this one I wish to start when the player reads a note.
I have attached the DeafultOnReadSetQuestStage script to the note and pointed it to the startup stage of my quest (10).
When I go in game and read the note, nothing happens.

if I fire up the console and type setstage myquestname 10 it works fine. I see the objective and its loaded in my journal.

Is the ..SetQuestStage not appropirate for STARTING a quest only advancing the stage of an already active one or something? This is all I can think is the issue?
User avatar
Sandeep Khatkar
 
Posts: 3364
Joined: Wed Jul 18, 2007 11:02 am

Post » Sun Nov 18, 2012 8:03 pm

Are the properties filled in the editor?
User avatar
Myles
 
Posts: 3341
Joined: Sun Oct 21, 2007 12:52 pm

Post » Mon Nov 19, 2012 11:38 am

Yes. The properties for the DefaultOnReadSetQuestStage script are two-fold in the editor: myQuest Quest *myquestname* & myStage Int *mystarting stage*
Both are correct and point to the correct startup stage of my quest.
The quest itself is fine, as it can be started using the console. So I am fairly certain the issue is with the note and this function not working as I want.

edit: I guess I will try and not use the built in script and just write a custom one that does the same thing and see if that works

edit2: Yes it works fine. In fact it looks like the problem is the aliases. There is actually a version built in which does not use aliases called DefaultOnReadSetQuestStageNoAlias.
Guess thats the one you should use! :biggrin:
User avatar
Chris Johnston
 
Posts: 3392
Joined: Fri Jul 07, 2006 12:40 pm

Post » Mon Nov 19, 2012 12:09 pm

Oh! If it's not a ReferenceAlias, you want DefaultOnReadSetQuestStageNotAlias.psc instead.
User avatar
Dan Scott
 
Posts: 3373
Joined: Sun Nov 11, 2007 3:45 am

Post » Mon Nov 19, 2012 9:50 am

Hehe yeah, all sorted. Thanks for the help Justin. :banana:
User avatar
ashleigh bryden
 
Posts: 3446
Joined: Thu Jun 29, 2006 5:43 am


Return to V - Skyrim