2015-06-07 15:53:37 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
2015-06-14 07:59:06 +00:00
|
|
|
if (!hasInterface) exitWith {};
|
|
|
|
|
2015-06-11 09:56:25 +00:00
|
|
|
#include "initKeybinds.sqf"
|
|
|
|
|
2015-06-12 16:23:01 +00:00
|
|
|
GVAR(outputPFH) = -1;
|
|
|
|
|
2015-06-09 20:46:04 +00:00
|
|
|
GVAR(run) = false;
|
2015-06-12 16:23:01 +00:00
|
|
|
GVAR(hidden) = true;
|
2015-06-11 09:56:25 +00:00
|
|
|
GVAR(menuRun) = false;
|
2015-06-09 20:46:04 +00:00
|
|
|
GVAR(useDegrees) = true;
|
|
|
|
GVAR(updateInterval) = 0.5;
|
2015-06-07 15:53:37 +00:00
|
|
|
|
2015-06-09 20:46:04 +00:00
|
|
|
GVAR(numWaypoints) = 0;
|
|
|
|
GVAR(wpString0) = "";
|
|
|
|
GVAR(wpString1) = "";
|
|
|
|
GVAR(wpString2) = "";
|
|
|
|
GVAR(wpString3) = "";
|
|
|
|
GVAR(wpString4) = "";
|
|
|
|
GVAR(wp0) = 0;
|
|
|
|
GVAR(wp1) = 0;
|
|
|
|
GVAR(wp2) = 0;
|
|
|
|
GVAR(wp3) = 0;
|
|
|
|
GVAR(wp4) = 0;
|
2015-06-07 15:53:37 +00:00
|
|
|
|
2015-06-09 20:46:04 +00:00
|
|
|
GVAR(displaySelection) = "DATA";
|
2015-06-07 15:53:37 +00:00
|
|
|
|
2015-06-09 20:46:04 +00:00
|
|
|
GVAR(vectorConnected) = false;
|
|
|
|
GVAR(noVectorData) = true;
|
|
|
|
GVAR(vectorGrid) = "00000000";
|
2015-06-07 15:53:37 +00:00
|
|
|
|
2015-06-11 09:56:25 +00:00
|
|
|
["RangerfinderData", {_this call FUNC(handleRangeFinderData)}] call EFUNC(common,addEventHandler);
|