Skip to content

Commit 7e4379a

Browse files
committed
Added enemy marker function to ease enemy marking
1 parent 572b2a3 commit 7e4379a

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

addons/main/CfgFunctions.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ class CfgFunctions {
8686
class convert_to_vr {
8787
file = "\armatak\armatak\addons\main\functions\map\fn_convert_to_vr.sqf";
8888
};
89+
class convert_to_zagor_zagorsk_reserved_forest {
90+
file = "\armatak\armatak\addons\main\functions\map\fn_convert_to_zagor_zagorsk_reserved_forest.sqf";
91+
};
8992
};
9093
};
9194
};
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// function name: armatak_fnc_send_eud_cot
2+
// function author: Valmo
3+
// function description: Gets the information necessary for generating the EUD Cursor Over Time
4+
5+
params ["_unit"];
6+
7+
_unit_position = _unit call armatak_client_fnc_extractClientPosition;
8+
9+
_uuid = _unit call armatak_fnc_extract_uuid;
10+
_type = _unit call armatak_fnc_extract_role;
11+
_callsign = _unit call armatak_fnc_extract_marker_callsign;
12+
13+
_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];
14+
15+
"armatak" callExtension ["tcp_socket:send_marker_cot", [_marker_cot]];

0 commit comments

Comments
 (0)