mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
742626ff1a
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
24 lines
511 B
Plaintext
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;
|