4
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

15 lines
556 B

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