mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Disable action menu on mouse hint with inGameUISetEventHandler rather than showHud, as showHud disables UI script commands
This commit is contained in:
parent
f956675d35
commit
c378cd9f12
@ -19,4 +19,7 @@ if (isNull (uiNamespace getVariable ["ACE_Helper_Display", objNull])) exitWith {
|
||||
|
||||
(QGVAR(InteractionHelper) call BIS_fnc_rscLayer) cutText ["", "PLAIN"];
|
||||
|
||||
["mouseHint", []] call EFUNC(common,showHud); //This is equivalent to the old showHud true
|
||||
// Disable action menu, showHud also disables all scripted UI (such as drawIcon3D)
|
||||
inGameUISetEventHandler ["PrevAction", "false"];
|
||||
inGameUISetEventHandler ["NextAction", "false"];
|
||||
inGameUISetEventHandler ["Action", "false"];
|
||||
|
@ -50,4 +50,7 @@ if (_scroll == "") exitWith {
|
||||
|
||||
(_display displayCtrl 1002) ctrlSetText _scroll;
|
||||
|
||||
["mouseHint", [false, true, true, true, true, true, true, false]] call EFUNC(common,showHud); //This is equivalent to the old showHud false
|
||||
// Enable action menu
|
||||
inGameUISetEventHandler ["PrevAction", "true"];
|
||||
inGameUISetEventHandler ["NextAction", "true"];
|
||||
inGameUISetEventHandler ["Action", "true"];
|
||||
|
Loading…
Reference in New Issue
Block a user