ACE3/addons/interaction/functions/fnc_hideMouseHint.sqf

26 lines
674 B
Plaintext
Raw Normal View History

2015-01-11 19:32:51 +00:00
/*
* Author: Garth de Wet (LH)
* Hides the interaction helper text with the mouse buttons at the bottom middle of the screen
*
* Arguments:
* None
*
2016-06-18 09:50:41 +00:00
* Return Value:
* None
*
* Example:
* call ace_interaction_fnc_hideMouseHint
*
* Public: No
*/
2015-01-11 23:13:47 +00:00
#include "script_component.hpp"
if (isNull (uiNamespace getVariable ["ACE_Helper_Display", objNull])) exitWith {};
2015-01-11 19:32:51 +00:00
(QGVAR(InteractionHelper) call BIS_fnc_rscLayer) cutText ["", "PLAIN"];
// Disable action menu, showHud also disables all scripted UI (such as drawIcon3D)
inGameUISetEventHandler ["PrevAction", "false"];
inGameUISetEventHandler ["NextAction", "false"];
inGameUISetEventHandler ["Action", "false"];