Moved stuck help message fix from _00E_MQP01_Functions

This commit is contained in:
Eddoursul 2024-01-10 23:26:46 +01:00
parent a600cd5022
commit 68d9a97ded
4 changed files with 6 additions and 8 deletions

Binary file not shown.

View File

@ -1,11 +1,14 @@
Scriptname _00E_FixStuckHelpMessagesAlias extends ReferenceAlias Hidden Scriptname _00E_FixStuckHelpMessagesAlias extends ReferenceAlias Hidden
Event OnPlayerLoadGame() ; Clears stuck help messages, leaking between game loads
Event OnInit()
OnPlayerLoadGame()
EndEvent
; Clear stuck help messages, leaking between game loads Event OnPlayerLoadGame()
Message.ResetHelpMessage("Clear") Message.ResetHelpMessage("Clear")
_00E_MQP01_Thoughts01.ShowAsHelpMessage("Clear", 0.1, 1, 1) _00E_MQP01_Thoughts01.ShowAsHelpMessage("Clear", 0.1, 1, 1)
EndEvent EndEvent
Message Property _00E_MQP01_Thoughts01 Auto Message Property _00E_MQP01_Thoughts01 Auto

View File

@ -15,11 +15,6 @@ Function SetUpScene()
GameHour.SetValue(18.5) GameHour.SetValue(18.5)
Game.ForceFirstPerson() Game.ForceFirstPerson()
Game.DisablePlayerControls(false, true, true, false, true, false, false) Game.DisablePlayerControls(false, true, true, false, true, false, false)
Message.ResetHelpMessage("Clear")
; This message is empty, repurposed to clear stuck help messages
_00E_MQP01_Thoughts01.ShowAsHelpMessage("Clear", 0.1, 1, 1)
FadeToBlackBackImod.Apply() FadeToBlackBackImod.Apply()
FadeToBlackHoldIMOD.Remove() FadeToBlackHoldIMOD.Remove()
MQP01_DreamDoorREF.BlockActivation(True) MQP01_DreamDoorREF.BlockActivation(True)