ACE3/addons/markers/XEH_postInit.sqf

21 lines
744 B
Plaintext
Raw Permalink Normal View History

// by commy2
2015-01-18 16:17:06 +00:00
#include "script_component.hpp"
// recieve remote marker data
2015-01-19 15:59:00 +00:00
[QGVAR(setMarkerNetwork), {_this call DFUNC(setMarkerNetwork)}] call EFUNC(common,addEventHandler);
2015-01-18 16:17:06 +00:00
// recieve marker data for JIP
2015-01-19 15:59:00 +00:00
[QGVAR(setMarkerJIP), {_this call DFUNC(setMarkerJIP)}] call EFUNC(common,addEventHandler);
// request marker data for JIP
2015-01-18 16:17:06 +00:00
if (isMultiplayer && {!isServer} && {hasInterface}) then {
2016-02-27 12:06:19 +00:00
GVAR(localLogic) = (createGroup sideLogic) createUnit ["Logic", [0,0,0], [], 0, "NONE"];
2016-02-23 22:32:39 +00:00
[QGVAR(sendMarkersJIP), [GVAR(localLogic)]] call EFUNC(common,serverEvent);
};
2015-03-28 03:55:19 +00:00
GVAR(mapDisplaysWithDrawEHs) = [];
GVAR(currentMarkerPosition) = [];
GVAR(currentMarkerAngle) = 0;
GVAR(currentMarkerColorConfigName) = "";
2015-12-10 14:32:31 +00:00
GVAR(currentMarkerConfigName) = "";