How to start a quest by reading a book? Newbie question

Post » Wed Jun 20, 2012 5:45 pm

Hello,
I'm trying to make a quest starting by reading a book, opening a door and finishing with picking item in chest.
Surely I'm doing someting wrong, can you help what I've to do step-by-step? ie: Create new quest, set this, set that, check this, open that, etc.
To simplify, the quest is called "MannyQuest", the book name reference is "bookManny", the door is "DoorManny" and item is "ItemManny".

What I did:

1. Maked the Quest "MannyQuest"
2. Maked the Stages (0, 10, 20, 30, the zero had the start flag)
3. Maked the Objectives for 10,20

Now I'm a bit confused with aliases... What exatly I've to do?
The "BookManny" has the defaultonreadsetstage script with these parameters:
- myQuest: "MannyQuest"
- myStage: 10
The "BookManny" did not trigger the quest when I read the book....
I've no dialogues to do with that quest. What exactly I'm wrong and what I've to do with Quest Aliases?

Thank you.
User avatar
Etta Hargrave
 
Posts: 3452
Joined: Fri Sep 01, 2006 1:27 am

Post » Wed Jun 20, 2012 9:33 pm

the book needs a script attached to it that has an Event OnRead which triggers mannyquest.setstage(0) or whatever number the stage you need to start it.

you might also want to add in a doOnce boolean so that the quest is only triggered once even if the payer reads the book multiple times
User avatar
Arnold Wet
 
Posts: 3353
Joined: Fri Jul 07, 2006 10:32 am

Post » Thu Jun 21, 2012 12:56 am

the book needs a script attached to it that has an Event OnRead which triggers mannyquest.setstage(0) or whatever number the stage you need to start it.

you might also want to add in a doOnce boolean so that the quest is only triggered once even if the payer reads the book multiple times

Hello,
what you are saying it will be:

The "BookManny" has the defaultonreadsetstage script with these parameters:
- myQuest: "MannyQuest"
- myStage: 10

?

It is not enough to trigger the quest?

ps: I've tried with myStage: 0 but no lucky.

Thank you
User avatar
Syaza Ramali
 
Posts: 3466
Joined: Wed Jan 24, 2007 10:46 am

Post » Wed Jun 20, 2012 8:32 pm

that default script should work as long as your quest is set to only run once with no possibility to redo stages, since it does not have a doOnce failsafe

also, if you have aliases in your quest that are not filling properly, the quest will not run even when the script fires the setstage successfully
User avatar
Greg Cavaliere
 
Posts: 3514
Joined: Thu Nov 01, 2007 6:31 am

Post » Wed Jun 20, 2012 3:31 pm

Thanks Amethyst!
I'll do a try tonight.
Another newbie question: When I have to use aliases? I'm making an "old-school" quest without map marker. You may have to find the "MannyDoor" and the "MannyItem" only by exploring the entire dungeon that I'm making so I've to script these objects to advance stages quest.
Aliases are really needed?
User avatar
Charlotte Buckley
 
Posts: 3532
Joined: Fri Oct 27, 2006 11:29 am

Post » Thu Jun 21, 2012 2:56 am

probably not.
User avatar
Emily Martell
 
Posts: 3469
Joined: Sun Dec 03, 2006 7:41 am

Post » Wed Jun 20, 2012 6:34 pm

Thanks again! Please can you be more specific about doOnce boolean?
User avatar
DarkGypsy
 
Posts: 3309
Joined: Tue Jan 23, 2007 11:32 am

Post » Thu Jun 21, 2012 1:08 am

Hello.
I've made my custom script.
Scriptname questStarter extends ObjectReferenceQuest Property myQuest  Auto  Int Property doOnce  Auto  Int Property myStage AutoEvent OnRead()	if (doOnce == 1)		debug.notification("Reading")		doOnce = 0   	 myQuest.setStage(0)	EndIfEndEvent

Properties settings:

myQuest: MannyQuest
myStage: 0
doOnce: 1

The notification is displayed but the quest is not started. What I'm wrong?
User avatar
Steeeph
 
Posts: 3443
Joined: Wed Apr 04, 2007 8:28 am

Post » Thu Jun 21, 2012 4:06 am

try myQuest.Start()
User avatar
Steven Hardman
 
Posts: 3323
Joined: Sun Jun 10, 2007 5:12 pm

Post » Wed Jun 20, 2012 7:48 pm

try myQuest.Start()

didn't works :(

I've tried to place script to the referenced book too but still does not works!
Is there someting to check to the quest object?


* UPDATE *

I've tried to change myQuest with another Skyrim quest and it started! :( So the problem is directly my quest! I've no script in my quest...

What I've to do?
User avatar
Sabrina Schwarz
 
Posts: 3538
Joined: Fri Jul 14, 2006 10:02 am

Post » Wed Jun 20, 2012 10:45 pm

Solved! I've missed the log entry and his scripting -.-'
User avatar
Rex Help
 
Posts: 3380
Joined: Mon Jun 18, 2007 6:52 pm


Return to V - Skyrim