Jump to content

[LE] Need help setting up a quest to trigger at a map marker


Recommended Posts

So yeah,

 

I'm starting to get the hang of papyrus just a tad but not enough to get all crazy so bare with me. I'd like to trigger a quest/objective to start when I enter a map marker's radius/area regardless if I've been there already or not.

 

I'm not for sure on how this works exactly but my guess is to set up a map marker (or one that's preset) for my mod, then double-click the marker (green M) to open the reference window, then go to the script and add a script...?

 

If so, what kind of script would go here is my question?

 

I'm guessing Something like:

Scriptname FAKE_SCRIPT extends ObjectReference  ;but it's probably not object reference, would it be an alias like a location alias?


Quest Property MAPMARKER_QUEST_TRIGGER Auto  


event onLoad() ;I'm just guessing here on the onLoad
      MAPMARKER_QUEST_TRIGGER.SetStage(10) ;alternatively could put SetObjectiveDisplayed(10)
endEvent
Thanks for any guidance! Love modding.
Edited by justinglen75
Link to comment
Share on other sites

I would just a default script on a trigger. Click on the map marker, in the top ui select a trigger and size it to your liking.

In the trigger script tab choose a new script, select a default setstageonenterplayer

In the property tab set the quest, the stage you want to set,

Link to comment
Share on other sites

  • Recently Browsing   0 members

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