ACE3/addons/vector/functions/fnc_dataTransfer.sqf
jonpas 742626ff1a
General - Relative script_component.hpp includes (#9378)
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-09-12 20:58:10 +02:00

24 lines
511 B
Plaintext

#include "..\script_component.hpp"
/*
* Author: PabstMirror
* Data transfer over a connected cable. Based on page 14 of pdf.
*
* Arguments:
* None
*
* Return Value:
* None
*
* Example:
* [] call ace_vector_fnc_dataTransfer
*
* Public: No
*/
private _distance = call FUNC(getDistance);
private _direction = call FUNC(getDirection);
_direction params ["_azimuth", "_inclination"];
//Send Data to connected GPS
[QGVAR(rangefinderData), [_distance, _azimuth, _inclination]] call CBA_fnc_localEvent;