Fixed the Scan prompt getting stuck on screen with DarnUI
This commit is contained in:
parent
be5b2e0902
commit
68c6a351de
Binary file not shown.
@ -21,7 +21,7 @@ begin GameMode
|
|||||||
; As normal activation is temporarily disabled, we need to change it back to "Scan".
|
; As normal activation is temporarily disabled, we need to change it back to "Scan".
|
||||||
|
|
||||||
|
|
||||||
if GetUIFloat "HUDMainMenu\_DUIF3" > 0 ; DarnUI
|
if GetUIFloat "HUDMainMenu/_DUIF3" > 0 ; DarnUI
|
||||||
|
|
||||||
if eval GetUIString "HUDMainMenu/InfoWrap/Info/justify_center_hotrect/string" != "Scan"
|
if eval GetUIString "HUDMainMenu/InfoWrap/Info/justify_center_hotrect/string" != "Scan"
|
||||||
SetUIString "HUDMainMenu/InfoWrap/Info/justify_center_hotrect/string" "Scan"
|
SetUIString "HUDMainMenu/InfoWrap/Info/justify_center_hotrect/string" "Scan"
|
||||||
@ -64,7 +64,7 @@ begin GameMode
|
|||||||
; SetStage CWxScannerTextQuest 0
|
; SetStage CWxScannerTextQuest 0
|
||||||
|
|
||||||
if rTarget == 0
|
if rTarget == 0
|
||||||
if GetUIFloat "HUDMainMenu\_DUIF3" > 0 ; DarnUI
|
if GetUIFloat "HUDMainMenu/_DUIF3" > 0 ; DarnUI
|
||||||
if eval GetUIString "HUDMainMenu/InfoWrap/Info/justify_center_hotrect/string" == "Scan"
|
if eval GetUIString "HUDMainMenu/InfoWrap/Info/justify_center_hotrect/string" == "Scan"
|
||||||
SetUIFloat "HUDMainMenu/InfoWrap/Info/justify_center_hotrect/visible" 0
|
SetUIFloat "HUDMainMenu/InfoWrap/Info/justify_center_hotrect/visible" 0
|
||||||
endif
|
endif
|
||||||
@ -82,7 +82,7 @@ begin GameMode
|
|||||||
|
|
||||||
set iControl to GetControl 5
|
set iControl to GetControl 5
|
||||||
|
|
||||||
if GetUIFloat "HUDMainMenu\_DUIF3" > 0 ; DarnUI
|
if GetUIFloat "HUDMainMenu/_DUIF3" > 0 ; DarnUI
|
||||||
SetUIStringEx "HUDMainMenu/InfoWrap/Info/justify_center_hotrect/_PCButtonText" "%k)" iControl
|
SetUIStringEx "HUDMainMenu/InfoWrap/Info/justify_center_hotrect/_PCButtonText" "%k)" iControl
|
||||||
SetUIString "HUDMainMenu/InfoWrap/Info/justify_center_hotrect/string" "Scan"
|
SetUIString "HUDMainMenu/InfoWrap/Info/justify_center_hotrect/string" "Scan"
|
||||||
SetUIFloat "HUDMainMenu/InfoWrap/Info/justify_center_hotrect/visible" 1
|
SetUIFloat "HUDMainMenu/InfoWrap/Info/justify_center_hotrect/visible" 1
|
||||||
|
@ -7,8 +7,14 @@ begin function {}
|
|||||||
EnableControl 5
|
EnableControl 5
|
||||||
|
|
||||||
if GetActiveMenuMode == 0
|
if GetActiveMenuMode == 0
|
||||||
if eval GetUIString "HUDMainMenu/Info/justify_center_hotrect/string" == "Scan"
|
if GetUIFloat "HUDMainMenu/_DUIF3" > 0 ; DarnUI
|
||||||
SetUIFloat "HUDMainMenu/Info/justify_center_hotrect/visible" 0
|
if eval GetUIString "HUDMainMenu/InfoWrap/Info/justify_center_hotrect/string" == "Scan"
|
||||||
|
SetUIFloat "HUDMainMenu/InfoWrap/Info/justify_center_hotrect/visible" 0
|
||||||
|
endif
|
||||||
|
else
|
||||||
|
if eval GetUIString "HUDMainMenu/Info/justify_center_hotrect/string" == "Scan"
|
||||||
|
SetUIFloat "HUDMainMenu/Info/justify_center_hotrect/visible" 0
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user