Added vehicle sensor handler to get sensor input and throw it on ATAK

This commit is contained in:
Valmo Trindade
2025-11-22 12:15:15 -03:00
parent 7e4379ada4
commit 524e7a0b3e
7 changed files with 43 additions and 3 deletions

View File

@@ -44,6 +44,8 @@ if (isServer) exitWith {
_callsign = [_x] call armatak_fnc_extract_marker_callsign;
[_x, _atak_type, _callsign] call armatak_fnc_send_marker_cot;
_x call armatak_fnc_extract_sensor_data;
};
case ((_objectType select 0) == "VehicleAutonomous"): {
_atak_type = [_x] call armatak_fnc_extract_role;
@@ -51,6 +53,8 @@ if (isServer) exitWith {
[_x, _atak_type, _callsign] call armatak_fnc_send_drone_cot;
[_x] call armatak_fnc_send_digital_pointer_cot;
_x call armatak_fnc_extract_sensor_data;
};
};
} forEach GVAR(syncedUnits);