mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-13 20:14:29 +00:00
12 lines
567 B
Plaintext
12 lines
567 B
Plaintext
// function name: armatak_fnc_extract_human_cot_info
|
|
// function author: Valmo
|
|
// function description: Gets the information necessary for generating the Human Cursor Over Time
|
|
|
|
params ["_unit", "_callsign", "_group_name", "_group_role"];
|
|
|
|
_position = _unit call armatak_fnc_extract_position;
|
|
_uuid = _unit call armatak_fnc_extract_uuid;
|
|
|
|
_human_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_human_cot", [_human_cot]]; |