parent
687c28275b
commit
ddf5960320
5 changed files with 37 additions and 25 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,37 @@ |
|||||||
|
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() |
||||||
|
|
||||||
|
EndEvent |
||||||
|
|
||||||
|
Event OnPlayerLoadGame() |
||||||
|
|
||||||
|
CheckForgottenStories() |
||||||
|
|
||||||
|
_00E_Func_CheckSKSE.Run() |
||||||
|
_00E_Func_CheckEnderalDLL.Run() |
||||||
|
|
||||||
|
EndEvent |
||||||
|
|
||||||
|
function CheckForgottenStories() |
||||||
|
; 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) |
||||||
|
Game.QuitToMainMenu() |
||||||
|
Debug.MessageBox("Enderal - Forgotten Stories.esm is not loaded! The game will not run properly. Open Data Files and enable it.") |
||||||
|
return |
||||||
|
EndIf |
||||||
|
endfunction |
||||||
|
|
||||||
|
GlobalVariable Property _00E_FS_IsForgottenStoriesActivated Auto |
Loading…
Reference in new issue