I apology, my previous post was a little misleading, it will work if you put these
Issgard_ShipBed Property ShipBed_Script autoShipBed_Script.RegisterForSleepEvent()
inside your main Quest, NOT fragment Quest window.
RegisterForSleepEvent should be http://www.creationkit.com/RegisterForSleep_-_Form. If it still doesn't compile, exactly what's in your quest fragments script, and what are you trying to put in your quest stage result script?
RegisterForSleepEvent is custom function I suggested. This was meant to be called remotely from other script....
@Prometheus: You can try to put those code I mentioned inside a main Quest script, not Fragment, or... making your Bed's script looks something like this:
Scriptname Issgard_Shipbed extends ReferenceAlias;;;; Variables and stuff goes herebool activeOnce;{Register this script for player's sleep when player click/activate the bed}Event OnActivate(ObjectReference akActionRef) if (!activeOnce) RegisterForSleep() activeOnce = true endifEndEvent;{Handling the quest's stage after when player finish sleeping}Event OnSleepStop(bool abInterrupted) ;do what you must here ;advance quest stage, or start new quest, or Keyword.SendStoryEvent ......EndEventPlz note that, this script must be attached to the bed's Quest Alias