My book adding quest script doesn't work :(

Post » Mon Jun 18, 2012 10:49 pm

I try to lauch a quest by reading a book. Here is my script on the book. I have set the quest property to the quest. The quest is created. But nothing happens when I read the book.

Scriptname YsmirnBookVol1Read extends ObjectReference  Quest Property YsmirnQuest Autoauto State waiting    Event OnRead()        YsmirnQuest.Start()        YsmirnQuest.SetStage(10)        GoToState("allDone")    EndEventendStateState allDoneendState

Do you know what I am doing wrong ? Thanks by advance.
User avatar
Rhysa Hughes
 
Posts: 3438
Joined: Thu Nov 23, 2006 3:00 pm

Post » Mon Jun 18, 2012 1:09 pm

Are you checking the current quest stage with the 'sqv' command?
To get the quest objectives to show up, you need http://www.creationkit.com/Bethesda_Tutorial_Quest_Objectives
User avatar
Jessica Nash
 
Posts: 3424
Joined: Tue Dec 19, 2006 10:18 pm

Post » Mon Jun 18, 2012 2:56 pm

Try putting a debug.messagebox("hello") in that event. Never used stages yet but that could be the issue rather than the onRead event or the code within it.
User avatar
David John Hunter
 
Posts: 3376
Joined: Sun May 13, 2007 8:24 am

Post » Mon Jun 18, 2012 11:10 pm

Thanx, it was effectively the objectives that were wrong. But I have another error now, it displays the objective text, but not the log entry text :(
User avatar
Shae Munro
 
Posts: 3443
Joined: Fri Feb 23, 2007 11:32 am


Return to V - Skyrim