ACE3/addons/interaction/functions/fnc_hideMouseHint.sqf
2016-06-18 11:50:41 +02:00

26 lines
674 B
Plaintext

/*
* Author: Garth de Wet (LH)
* Hides the interaction helper text with the mouse buttons at the bottom middle of the screen
*
* Arguments:
* None
*
* Return Value:
* None
*
* Example:
* call ace_interaction_fnc_hideMouseHint
*
* Public: No
*/
#include "script_component.hpp"
if (isNull (uiNamespace getVariable ["ACE_Helper_Display", objNull])) exitWith {};
(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"];