Jump to content

[LE] Sleep Quests in Specific Areas


Recommended Posts

Yo! I wanted to do a quest event where it only starts if you sleep in a specific area, like in a home or a city, but I can't find any way of getting it to work. OnSleepStart CAN work, but it doesn't like it when you start specifying that it can only be in Breezehome, any way I can try and get it to tick right? The method I've been using is that it sets a variable to 1 to recognise onsleepstart, and then whenever the player falls asleep, the event starts, like teleporting or etc. Only issue is that it does it ANYWHERE the player sleeps, which is annoying if they're 4 cities away from where it's supposed to be.

Link to comment
Share on other sites

Place a trigger volume box around the area you want it to trigger. If a specific house interior, covering the entire cell would be fine. Advance a global variable when the player enters the trigger volume box, reset the global variable when they leave the trigger volume box. Use that global variable as a condition to initiate your quest. Thus if sleeping inside the trigger volume box, the quest starts. If sleeping outside of the trigger volume box, the quest does not start.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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