mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-13 23:43:28 +00:00
Added vehicle sensor handler to get sensor input and throw it on ATAK
This commit is contained in:
@@ -7,8 +7,13 @@ params["_unit"];
|
||||
private _affiliation = "f";
|
||||
private _type = "G";
|
||||
private _role = "a-f-G-U-C-I";
|
||||
|
||||
switch (str side _unit) do {
|
||||
private _side = side _unit;
|
||||
|
||||
if (isNil {_unit getVariable "armatak_current_side"}) then {
|
||||
_side = _unit getVariable "armatak_current_side";
|
||||
};
|
||||
|
||||
switch (str _side) do {
|
||||
case "WEST": {
|
||||
_affiliation = "f";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user