Allow saving in the MQ10a dream scene

This commit is contained in:
Eddoursul 2024-02-01 00:53:55 +01:00
parent 11b6e15e66
commit b8e60f70e5
2 changed files with 3 additions and 3 deletions

Binary file not shown.

View File

@ -17,9 +17,9 @@ Function SetUpScene()
fPlayerScale = _00E_SetActorScale.Change(PlayerREF, 0.85) fPlayerScale = _00E_SetActorScale.Change(PlayerREF, 0.85)
_00E_TimeControl.SkipTimeToHour(18.4) _00E_TimeControl.SkipTimeToHour(18.4)
Game.ForceFirstPerson() Game.ForceFirstPerson()
_00E_Func_AIWalk.PlayerAIWalkStop() ; workaround for the "uncompiled scripts bug" of patch 1.5.8.0 _00E_Func_AIWalk.PlayerAIWalkStop()
;Game.EnablePlayerControls() ;Game.EnablePlayerControls()
Game.DisablePlayerControls(false, true, true, false, true, true, true, true, 0) Game.DisablePlayerControls(false, true, true, false, true, false, true)
Game.RequestAutoSave() Game.RequestAutoSave()
PlayerREF.PlayIdle(TG05_GetUp) PlayerREF.PlayIdle(TG05_GetUp)
if GetCurrentStageID() >= 5 if GetCurrentStageID() >= 5
@ -49,7 +49,7 @@ Function SetUpSceneForReal()
while iIndex > 0 while iIndex > 0
iIndex -= 1 iIndex -= 1
ObjectReference objToDelete = _00E_Dreams_ObjectList01.GetAt(iIndex) as ObjectReference ObjectReference objToDelete = _00E_Dreams_ObjectList01.GetAt(iIndex) as ObjectReference
objToDelete.Disable() objToDelete.DisableNoWait()
EndWhile EndWhile
MQ10a_SC1_FatherREF.Enable() MQ10a_SC1_FatherREF.Enable()
MQ10a_SC1_FatherREF.SetOutfit(_00E_Father_Outfit_Decayed) MQ10a_SC1_FatherREF.SetOutfit(_00E_Father_Outfit_Decayed)