ACE3/addons/map_gestures/XEH_postInit.sqf

17 lines
391 B
Plaintext

#include "script_component.hpp"
if (!hasInterface) exitWith {};
["SettingsInitialized", {
[{
if (isNull (findDisplay 12)) exitWith {};
params ["", "_pfhId"];
call FUNC(receiverInit);
call FUNC(transmitterInit);
[_pfhId] call CBA_fnc_removePerFrameHandler;
}, 1, []] call CBA_fnc_addPerFrameHandler;
}] call EFUNC(common,addEventHandler);