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