2015-01-11 16:42:31 +00:00
|
|
|
// 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);
|
2015-01-11 16:42:31 +00:00
|
|
|
|
|
|
|
// request marker data for JIP
|
2015-01-18 16:17:06 +00:00
|
|
|
if (isMultiplayer && {!isServer} && {hasInterface}) then {
|
|
|
|
private "_logic";
|
|
|
|
_logic = createGroup sideLogic createUnit ["Logic", [0,0,0], [], 0, "NONE"];
|
|
|
|
|
|
|
|
[QGVAR(sendMarkersJIP), _logic] call EFUNC(common,serverEvent);
|
2015-01-11 16:42:31 +00:00
|
|
|
};
|