EnableDisable Disability

Post » Tue Jun 19, 2012 8:22 am

Alright, so I have this journal, and it starts out disabled. I want to enable it through either a) a dialogue topic or B) a quest stage initiating. I have made this script:

Scriptname bookenabler extends ObjectReference ObjectReference Property thatbook  Auto Function getthatbook()   thatbook.enable()endFunction

and I want to run it. Unfortunately, if I use a kmyQuest from the quest stages tab, it says something about their types being incompatible. If I try to run it from the dialogue, the Papyrus can't seem to see the script. Any tips?
User avatar
Victoria Vasileva
 
Posts: 3340
Joined: Sat Jul 29, 2006 5:42 pm

Post » Tue Jun 19, 2012 1:33 pm

I think I got this working. My problem was that apparently you can't have two different lines in a papyrus script refer to two different scripts. So, I made one script that both enables the book and progresses the quest stage all at once. About to test it.
User avatar
Agnieszka Bak
 
Posts: 3540
Joined: Fri Jun 16, 2006 4:15 pm


Return to V - Skyrim