glcdos Posted November 21, 2017 Share Posted November 21, 2017 (edited) I am having some issues which I am pretty sure are simple scripting things but I can’t get it for the life of me.I have EXTREMELY BASIC Papyrus knowledge, and I know the CK on a similar level. I have managed to set up the skeleton for the quests I want to implement, and I can get them to work through console commands, but that’s about it. No idea how to connect them, and I’ve read the tutorial quests on the Creation Kit wiki, but they aren’t really helping me.Anyways, here’s what I need some help with.1. Starting the questline through a book. I want it to start through this, preferably via the courier. No idea how to script this. I've looked at vanilla quests with this aspect but I can’t get the script to work for mine.2. Updating the objective when reaching a certain map marker.3. Updating the objective when an actor is killed by the player.Also, I'm unsure if this is causing problems but I have no objective markers for immersion reasons, and there are no dialogue trees. If this is creating conflicts, I want to know if thereâs a way to do a questline without either.That’s about it. Any help is appreciated! Edited November 21, 2017 by glcdos Link to comment Share on other sites More sharing options...
Niborino9409 Posted November 21, 2017 Share Posted November 21, 2017 (edited) https://www.creationkit.com/index.php?title=Bethesda_Tutorial_Planning_the_Quest https://www.creationkit.com/index.php?title=Using_the_Vanilla_Courier I never had any luck with the Courier tutorial myself but perhaps you'll succeed. I had luck with the quest tutorial though, had to follow it to the letter.Should be able to figure out what you want with the help of the first tutorial. From having done it I know for a fact that they go over number 3. Possibly 2 as well Edited November 21, 2017 by Niborino9409 Link to comment Share on other sites More sharing options...
morrowind1979 Posted November 21, 2017 Share Posted November 21, 2017 (edited) I am having some issues which I am pretty sure are simple scripting things but I can’t get it for the life of me.I have EXTREMELY BASIC Papyrus knowledge, and I know the CK on a similar level. I have managed to set up the skeleton for the quests I want to implement, and I can get them to work through console commands, but that’s about it. No idea how to connect them, and I’ve read the tutorial quests on the Creation Kit wiki, but they aren’t really helping me. Anyways, here’s what I need some help with. 1. Starting the questline through a book. I want it to start through this, preferably via the courier. No idea how to script this. I've looked at vanilla quests with this aspect but I can’t get the script to work for mine.2. Updating the objective when reaching a certain map marker.3. Updating the objective when an actor is killed by the player. Also, I'm unsure if this is causing problems but I have no objective markers for immersion reasons, and there are no dialogue trees. If this is creating conflicts, I want to know if thereâs a way to do a questline without either. That’s about it. Any help is appreciated! 1) To start the quest via reading a book use something like. No idea how to script the courier though. Event OnRead() myquest.Setstage(10) EndEvent Change myquest to the name of your created quest 10 to whichever Stage you want to update. 2) Have a triggerbox set up beside the mapmarker big enough for the player to enter with the following script attached: To display an Objective: Event OnTriggerEnter(ObjectReference akActionRef) If akActionRef == Game.Getplayer() myquest.setobjectivedisplayed(10) EndEvent To complete an Objective: Event OnTriggerEnter() myquest.setobjectivecompleted(10) EndEvent Again change myquest to your quest name 10 to whichever objective you want to update. 3) Use this script attached to the actor the player will kill Event OnDying(Actor akKiller) If akKiller == Game.GetPlayer() myquest.SetObjectiveCompleted(10) EndEvent Again change myquest to your quest name and 10 to whichever objective you want to update. Edited November 21, 2017 by morrowind1979 Link to comment Share on other sites More sharing options...
glcdos Posted November 21, 2017 Author Share Posted November 21, 2017 2) Have a triggerbox set up beside the mapmarker big enough for the player to enter with the following script attached: To display an Objective: Event OnTriggerEnter(ObjectReference akActionRef) If akActionRef == Game.Getplayer() myquest.setobjectivedisplayed(10) EndEvent To complete an Objective: Event OnTriggerEnter() myquest.setobjectivecompleted(10) EndEvent Again change myquest to your quest name 10 to whichever objective you want to update. 3) Use this script attached to the actor the player will kill Event OnDying(Actor akKiller) If akKiller == Game.GetPlayer() myquest.SetObjectiveCompleted(10) EndEvent Again change myquest to your quest name and 10 to whichever objective you want to update. I got basically everything to work but the quoted section. I keep getting this for my Objective Trigger: and this for my Objective Completed Trigger: And this for the Actor Death: I have no idea what I'm doing, so I'm sorry if I'm missing something obvious. Thanks for your help, regardless! Link to comment Share on other sites More sharing options...
glcdos Posted November 21, 2017 Author Share Posted November 21, 2017 Okay, update, I fixed all the errors, but I'm still having issues with the Objective Trigger. This is the error: "the parameter types of function ontriggerenter in the empty state on script nertrigscript do not match the parent script objectreference" I have no idea what this means. Link to comment Share on other sites More sharing options...
morrowind1979 Posted November 22, 2017 Share Posted November 22, 2017 (edited) You have to set your quest as a script property: Scriptname NERScriptQuest30 extends ObjectReference. Quest Property NERQuest01 auto Event OnTriggerEnter(ObjectReference akActionRef) If akActionRef == Game.Getplayer() NERQuest01.setobjectivedisplayed(10) EndIf EndEvent And don't forget to fill the script property as your quest (click properties on the edit script tab thingy, Choose NERQuest01, edit property, then choose your quest from the drop down menu. Sorry I forgot an EndIf too add the EndIf to all your scripts that have an If function, put the EndIf in the line above EndEvent. Also you dont need the conditional flag on your actor script Edited November 22, 2017 by morrowind1979 Link to comment Share on other sites More sharing options...
Recommended Posts