ACE3/addons/vector/functions/fnc_dataTransfer.sqf
Phyma ffaa195fe5 Conform function headers to coding guidelines (#5255)
* Fixed headers to work with silentspike python script

* Fixed rest of the files

* Fixed ace-team
2017-06-08 15:31:51 +02:00

26 lines
577 B
Plaintext

/*
* 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
*/
#include "script_component.hpp"
private ["_distance", "_direction", "_azimuth", "_inclination"];
_distance = call FUNC(getDistance);
_direction = call FUNC(getDirection);
_azimuth = _direction select 0;
_inclination = _direction select 1;
//Send Data to connected GPS
[QGVAR(rangefinderData), [_distance, _azimuth, _inclination]] call CBA_fnc_localEvent;