ACE3/addons/interaction/functions/fnc_hideMouseHint.sqf

26 lines
616 B
Plaintext
Raw Normal View History

#include "script_component.hpp"
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
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"];
// Re-enable action menu
inGameUISetEventHandler ["PrevAction", "false"];
inGameUISetEventHandler ["NextAction", "false"];
inGameUISetEventHandler ["Action", "false"];