4
Fork 0

Added a check for Dialogue Menu to validation in DisableDialogueQuitting to prevent false positives

english-generic-dialogue
Eddoursul 3 years ago
parent d3a31a4d94
commit 8af2b08f85
  1. BIN
      scripts/_00e_questfunctions.pex
  2. 10
      source/scripts/_00e_questfunctions.psc

Binary file not shown.

@ -134,11 +134,13 @@ endFunction
Function DisableDialogueQuitting() Global
{Disables the TAB Key during dialogue. Resets automatically upon dialogue exit via Goodbye.}
if UI.GetBool("Dialogue Menu", "_root.DialogueMenu_mc.bEnableTab") != true
; Suspected non-Enderal dialoguemenu.swf replacer, rechecking value in order to be sure.
UI.InvokeBool("Dialogue Menu", "_root.DialogueMenu_mc.SetVariable", True)
if UI.IsMenuOpen("Dialogue Menu")
if UI.GetBool("Dialogue Menu", "_root.DialogueMenu_mc.bEnableTab") != true
Debug.Notification("Detected incompatible dialoguemenu.swf!")
; Suspected non-Enderal dialoguemenu.swf replacer, rechecking value in order to be sure.
UI.InvokeBool("Dialogue Menu", "_root.DialogueMenu_mc.SetVariable", True)
if UI.GetBool("Dialogue Menu", "_root.DialogueMenu_mc.bEnableTab") != true
Debug.Notification("Detected incompatible dialoguemenu.swf!")
endif
endif
endif

Loading…
Cancel
Save