ACE3/addons/vector/functions/fnc_dataTransfer.sqf
Dedmen Miller 0633b807fa Some Refactoring (#6607)
* SwitchUnits

* tacticalLadder

* vehiclelock

* vector

* Typo, thanks circleCI

* Fix stuff

* Fix animate loop
2018-10-09 20:21:46 -05:00

24 lines
508 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;