26 lines
706 B
Plaintext
26 lines
706 B
Plaintext
Scriptname _00E_IntegrityCheckAlias extends ReferenceAlias Hidden
|
|
|
|
Event OnInit()
|
|
RegisterForSingleUpdate(2.0) ; Give a few seconds for the game to warm up at the start
|
|
EndEvent
|
|
|
|
Event OnPlayerLoadGame()
|
|
RegisterForSingleUpdate(1.2)
|
|
EndEvent
|
|
|
|
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(0.1)
|
|
Game.QuitToMainMenu()
|
|
Debug.MessageBox("Enderal - Forgotten Stories.esm is not loaded! The game will not run properly.")
|
|
EndIf
|
|
|
|
_00E_Func_CheckSKSE.Run()
|
|
_00E_Func_CheckEnderalDLL.Run()
|
|
|
|
EndEvent
|
|
|
|
GlobalVariable Property _00E_FS_IsForgottenStoriesActivated Auto
|