SCN ...
Short Once
Short Frames
Long Key
Float fQuestDelayTime
Begin GameMode
if(fquestdelaytime)
set fquestdelaytime to 0.01
endif
if(player.getinworldspace <worldspace>) && (once == 0)
set once to 1
endif
if(once == 0)
return
elseif(once == 1)
disableplayercontrols
player.removeallitems <sack-ref>
Player.moveTo <MarkerInCell>
set once to 2
elseif(once == 2)
set frames to (frames +1)
if(frames < 300)
set key to getcontrol 14
if(isthirdperson)
tapkey key
endif
disablekey key
disablemouse
return
elseif(frames >= 300)
player.modAV2 Fatigue -5000
player.moveTo <MarkerAmStrand>
releaseweatheroverride
setweather <wetterID>
MessageBox "Bla"
set once to 3
elseif(once == 3)
set frames to (frames +1)
if(frames < 800)
player.modAV2 fatigue -5000
return
elseif(frames >= 800)
enablekey key
enableplayercontrols
enablemouse
player.modav2 fatigue +5000
set frames to 0
set once to 3
set key to 0
stopquest <questID>
return
endif
endif
end