JimmyChooChoo Posted August 3, 2018 Share Posted August 3, 2018 (edited) In the mod i'm making I want to have the quest go to the next stage once I've read the book or at least whilst I'm reading the book, but what I've got doesn't do anything. Begin onEquip player setQuestObject "ID of book" 0 setStage "ID of quest" 20end this is the script i've put in, but nothing happens Edited August 3, 2018 by JimmyChooChoo Link to comment Share on other sites More sharing options...
JimmyChooChoo Posted August 3, 2018 Author Share Posted August 3, 2018 Sorry should've explained more the script is on the book itself and its set as object. Link to comment Share on other sites More sharing options...
JimmyChooChoo Posted August 3, 2018 Author Share Posted August 3, 2018 OK fixed it now I was doing a little messing around looking at other scripts and testing things and this is what worked short statusbegin onEquip player if ( status == 0 ) set status to 1 endifendbegin gameMode if ( status == 1 ) set status to -1 setQuestObject "Book ID" 0 setStage "Quest ID" "stage of quest example: 15" (mine was 20 in this case) endifend So now when I read the book I go on to the next stage of the quest Link to comment Share on other sites More sharing options...
Recommended Posts