ACE3/addons/vector/functions/fnc_dataTransfer.sqf

24 lines
508 B
Plaintext
Raw Normal View History

#include "script_component.hpp"
2015-03-12 17:57:44 +00:00
/*
* Author: PabstMirror
* Data transfer over a connected cable. Based on page 14 of pdf.
*
* Arguments:
* None
2015-03-12 17:57:44 +00:00
*
* Return Value:
* None
2015-03-12 17:57:44 +00:00
*
* Example:
* [] call ace_vector_fnc_dataTransfer
*
* Public: No
*/
private _distance = call FUNC(getDistance);
private _direction = call FUNC(getDirection);
_direction params ["_azimuth", "_inclination"];
2015-03-12 17:57:44 +00:00
//Send Data to connected GPS
2016-05-24 23:44:56 +00:00
[QGVAR(rangefinderData), [_distance, _azimuth, _inclination]] call CBA_fnc_localEvent;