mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-14 02:23:30 +00:00
improved drone_cot function to use other extract functions
This commit is contained in:
@@ -4,9 +4,9 @@
|
||||
|
||||
params ["_unit", "_callsign", "_group_name", "_group_role"];
|
||||
|
||||
_unit_position = _unit call armatak_fnc_extract_position;
|
||||
_position = _unit call armatak_fnc_extract_position;
|
||||
_uuid = _unit call armatak_fnc_extract_uuid;
|
||||
|
||||
_human_cot = [_uuid, _unit_position select 0, _unit_position select 1, _unit_position select 2, _callsign, _group_name, _group_role, _unit_position select 3, speed player / 3.6];
|
||||
_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]];
|
||||
Reference in New Issue
Block a user