mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-13 15:33:29 +00:00
updated send_human_cot to send-eud_cot to match new cot generation flow
This commit is contained in:
12
addons/main/functions/api/fn_send_eud_cot.sqf
Normal file
12
addons/main/functions/api/fn_send_eud_cot.sqf
Normal file
@@ -0,0 +1,12 @@
|
||||
// function name: armatak_fnc_extract_eud_cot_info
|
||||
// function author: Valmo
|
||||
// function description: Gets the information necessary for generating the EUD Cursor Over Time
|
||||
|
||||
params ["_unit", "_callsign", "_group_name", "_group_role"];
|
||||
|
||||
_position = _unit call armatak_fnc_extract_position;
|
||||
_uuid = _unit call armatak_fnc_extract_uuid;
|
||||
|
||||
_eud_cot = [_uuid, _position select 0, _position select 1, _position select 2, _callsign, _group_name, _group_role, _position select 3, speed player / 3.6];
|
||||
|
||||
"armatak" callExtension ["cot_router:send_eud_cot", [_eud_cot]];
|
||||
Reference in New Issue
Block a user