diff --git a/addons/main/CfgFunctions.hpp b/addons/main/CfgFunctions.hpp index 4475869..777099f 100644 --- a/addons/main/CfgFunctions.hpp +++ b/addons/main/CfgFunctions.hpp @@ -86,6 +86,9 @@ class CfgFunctions { class convert_to_vr { file = "\armatak\armatak\addons\main\functions\map\fn_convert_to_vr.sqf"; }; + class convert_to_zagor_zagorsk_reserved_forest { + file = "\armatak\armatak\addons\main\functions\map\fn_convert_to_zagor_zagorsk_reserved_forest.sqf"; + }; }; }; }; diff --git a/addons/main/functions/api/fn_send_enemy_cot.sqf b/addons/main/functions/api/fn_send_enemy_cot.sqf new file mode 100644 index 0000000..9f3bf27 --- /dev/null +++ b/addons/main/functions/api/fn_send_enemy_cot.sqf @@ -0,0 +1,15 @@ +// function name: armatak_fnc_send_eud_cot +// function author: Valmo +// function description: Gets the information necessary for generating the EUD Cursor Over Time + +params ["_unit"]; + +_unit_position = _unit call armatak_client_fnc_extractClientPosition; + +_uuid = _unit call armatak_fnc_extract_uuid; +_type = _unit call armatak_fnc_extract_role; +_callsign = _unit call armatak_fnc_extract_marker_callsign; + +_marker_cot = [_uuid, _type, _unit_position select 1, _unit_position select 2, _unit_position select 3, _callsign, _unit_position select 5, _unit_position select 6]; + +"armatak" callExtension ["tcp_socket:send_marker_cot", [_marker_cot]];