ACE3/addons/map_gestures/functions/fnc_initTransmit.sqf

22 lines
377 B
Plaintext
Raw Normal View History

/*
2015-08-10 06:45:43 +00:00
* Author: Dslyecxi, 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;