scn LFQuestScriptbegin gamemode if player.getincell LFICroom == 1 setstage LFQuest 10 endif if player.getincell LFBoattCabin == 1 setstage LFQuest 20 endif if player.getincell LFOTower == 1 setstage LFQuest 60 endifendbegin menumode if GetStage LFQuest == 20 if IsPCSleeping == 1 setstage LFQuest 30 endif endifendbegin menumode if GetStage LFQuest >= 40 if IsPCSleeping == 1 setstage LFQuest 50 endif endifend
The player should sleep (aboard a boat in this instance) which advances the quest to stage 30, which in turn should move the player to a target ref. Instead, the game crashes on sleeping.
Yay...
This doesn't happen if you use setstage in game to advance the quest, in that instance the player is moved to the target no problem.
Originally the player.moveto command was in this script as well, I moved it out to attempt to solve the crash... apparently to no avail.
So yeah, what am I doing wrong?
(Also, as an extra... any idea how to make Ungrdltraphingedoor actually activate?)