ACE3/addons/map_gestures/functions/fnc_initTransmit.sqf

22 lines
367 B
Plaintext

/*
* Author: MikeMatrix
* Initializes transmitting map gestures.
*
* Arguments:
* None
*
* Return Value:
* None
*
* Example:
* [] call ace_map_gestures_fnc_initTransmit
*
* Public: No
*/
#include "script_component.hpp"
if (!GVAR(enabled)) exitWith {};
GVAR(EnableTransmit) = true;
[FUNC(transmit), GVAR(interval), []] call CBA_fnc_addPerFrameHandler;