Getting recipe by reading note

Post » Tue Jun 19, 2012 9:55 pm

My question/problem is easy as it is frustrating.


I want the player to learn a recipe by reading a note. I tried almost all condition functions i believed could make sense and it still didnt work.


Can anyone answer me which condition i have to select to make the recipe being learned on reading?



Cheers
User avatar
sally R
 
Posts: 3503
Joined: Mon Sep 25, 2006 10:34 pm

Post » Tue Jun 19, 2012 8:50 pm

My question/problem is easy as it is frustrating.


I want the player to learn a recipe by reading a note. I tried almost all condition functions i believed could make sense and it still didnt work.


Can anyone answer me which condition i have to select to make the recipe being learned on reading?



Cheers

I am pretty certain you will have to add a script and use the OnRead event function.

:biggrin:
User avatar
Jesus Lopez
 
Posts: 3508
Joined: Thu Aug 16, 2007 10:16 pm

Post » Tue Jun 19, 2012 8:53 pm

I am pretty certain you will have to add a script and use the OnRead event function.

:biggrin:


The normal condition is "has perk". I thought something like "grabbed by player" would do the trick, but i was wrong.

Thanks for your answer though, where would I have to add the script?
User avatar
Alexis Acevedo
 
Posts: 3330
Joined: Sat Oct 27, 2007 8:58 pm

Post » Tue Jun 19, 2012 11:57 pm

Exactly. Simply create a global variable that you set in the OnRead() event of the book (in a script attached to the book) and then check in the conditions of the recipe. Pretty simple actually.
User avatar
Alex Vincent
 
Posts: 3514
Joined: Thu Jun 28, 2007 9:31 pm

Post » Tue Jun 19, 2012 4:20 pm

Exactly. Simply create a global variable that you set in the OnRead() event of the book (in a script attached to the book) and then check in the conditions of the recipe. Pretty simple actually.

Simple indeed but I was on the wrong track. Thanks for your answers.
User avatar
Dan Stevens
 
Posts: 3429
Joined: Thu Jun 14, 2007 5:00 pm

Post » Wed Jun 20, 2012 7:46 am

Exactly. Simply create a global variable that you set in the OnRead() event of the book (in a script attached to the book) and then check in the conditions of the recipe. Pretty simple actually.

Its amazing how simple something can be yet you miss the mark completely...

Happens to me more often than I would like.

To OP: No problem and good luck.
User avatar
Richus Dude
 
Posts: 3381
Joined: Fri Jun 16, 2006 1:17 am


Return to V - Skyrim