16 lines
556 B
Plaintext
16 lines
556 B
Plaintext
Scriptname _00E_Func_CheckEnderalDLL Hidden
|
|
|
|
Function Run() global
|
|
|
|
Int SKSEVer = SKSE.GetVersion()
|
|
|
|
; To get rid of this, make alternatives for CreatePotion and CalculateContentStrength first
|
|
if SKSEVer == 0 || SKSE.GetPluginVersion("EnderalSE") == -1
|
|
Utility.wait(2.0)
|
|
Game.QuitToMainMenu()
|
|
Debug.MessageBox("EnderalSE.dll is not loaded! The game will not run properly. Verify integrity of your files.\n\nThis may also happen, if your version of SKSE or Enderal is too old. In this case, it is advised to upgrade.")
|
|
Return
|
|
endif
|
|
|
|
EndFunction
|