Jump to content

Need some help completing an objective when the player discovers a location


Recommended Posts

First and foremost, sorry about the title. Had no idea what to write so it's a bit long. Long story short i've been working on a follower that has a quest for about a week. I've gotten to a point in the quest where i want it to go to the next objective as the player discovers a house. How would i go about setting that up? I've tried creating an alias for the house and setting that as the target ref but all that does is put a waypoint on the house. When i arrive the last objective isn't completing and the waypoint is forever there. Just not sure what i am doing wrong

 

This is the papyrus fragment i've been using the advance to the next objective. It is set on the stage i want to complete as the player discovers the house yet nothing happens

 

SetObjectiveCompleted(10, 1)
setobjectivedisplayed(20)
Maybe i'm just in way over my head but i really wanted to figure this out
Edited by mylastsong18
Link to comment
Share on other sites

Thank you so much. I would have never figured that out on my own. I didn't even think of looking at already made quests for help so i will do that from now on. Thanks again!

lol at first I thought this was sarcasm. Yea, if you have a good memory you can usually find something that you want that has already been done before, works with mods too.

Link to comment
Share on other sites

Thank you so much. I would have never figured that out on my own. I didn't even think of looking at already made quests for help so i will do that from now on. Thanks again!

 

The player basically "discovers" a house or location, when they enter the radius of the map marker. You could use a trigger box set to initially disabled with the defaultsetstageonenter script that covers the radius of the map marker and fill the properties. Set the trigger box as an alias on your quest, and and set it to allow disabled. In the prior stage using this line Alias_triggerbox.getreference().enable()

when the player enters the box the next stage will set. By setting it as an Alias on a quest, the player can't inadvertently trigger it before the quest has started.

 

Basically what Eliass said only a little more.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...