parent
e6e3f324fb
commit
57b68c6864
14 changed files with 26 additions and 46 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,4 +1,4 @@ |
||||
Scriptname ArmorWeightPerkFixAlias extends ReferenceAlias Hidden |
||||
Scriptname _00E_ArmorWeightPerkFixAlias extends ReferenceAlias Hidden |
||||
|
||||
Event OnPlayerLoadGame() |
||||
|
@ -0,0 +1,11 @@ |
||||
Scriptname _00E_FixStuckHelpMessagesAlias extends ReferenceAlias Hidden |
||||
|
||||
Event OnPlayerLoadGame() |
||||
|
||||
; Clear stuck help messages, leaking between game loads |
||||
Message.ResetHelpMessage("Clear") |
||||
_00E_MQP01_Thoughts01.ShowAsHelpMessage("Clear", 0.1, 1, 1) |
||||
|
||||
EndEvent |
||||
|
||||
Message Property _00E_MQP01_Thoughts01 Auto |
@ -1,37 +1,25 @@ |
||||
Scriptname _00E_IntegrityCheckAlias extends ReferenceAlias Hidden |
||||
|
||||
Event OnInit() |
||||
|
||||
; needs the IsInMenuMode() check to prevent stuck messages |
||||
While Utility.IsInMenuMode() |
||||
Utility.WaitMenuMode(0.1) |
||||
EndWhile |
||||
|
||||
CheckForgottenStories() |
||||
|
||||
_00E_Func_CheckSKSE.Run() |
||||
_00E_Func_CheckEnderalDLL.Run() |
||||
|
||||
RegisterForSingleUpdate(2.0) ; Give a few seconds for the game to warm up at the start |
||||
EndEvent |
||||
|
||||
Event OnPlayerLoadGame() |
||||
|
||||
CheckForgottenStories() |
||||
|
||||
_00E_Func_CheckSKSE.Run() |
||||
_00E_Func_CheckEnderalDLL.Run() |
||||
|
||||
RegisterForSingleUpdate(1.2) |
||||
EndEvent |
||||
|
||||
function CheckForgottenStories() |
||||
; If Enderal - Forgotten Stories.esm is not loaded, kick the player back to main menu |
||||
Event OnUpdate() |
||||
|
||||
; If Enderal - Forgotten Stories.esm is not loaded, kick the player back to main menu |
||||
if _00E_FS_IsForgottenStoriesActivated.GetValue() as Int != 1 |
||||
Utility.wait(2.0) |
||||
Utility.wait(0.1) |
||||
Game.QuitToMainMenu() |
||||
Debug.MessageBox("Enderal - Forgotten Stories.esm is not loaded! The game will not run properly. Open Data Files and enable it.") |
||||
return |
||||
Debug.MessageBox("Enderal - Forgotten Stories.esm is not loaded! The game will not run properly.") |
||||
EndIf |
||||
endfunction |
||||
|
||||
_00E_Func_CheckSKSE.Run() |
||||
_00E_Func_CheckEnderalDLL.Run() |
||||
|
||||
EndEvent |
||||
|
||||
GlobalVariable Property _00E_FS_IsForgottenStoriesActivated Auto |
||||
|
Loading…
Reference in new issue