mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Can now also remove a medic class through setMedic
This commit is contained in:
parent
72ae6eb08f
commit
8554cf7e6c
@ -16,6 +16,8 @@ _value = [_this, 1, false,[false]] call BIS_fnc_param;
|
||||
|
||||
if (_unit isKindOf "CaManBase") then {
|
||||
if (_value) then {
|
||||
_unit setvariable [QGVAR(medicClass),1,true];
|
||||
};
|
||||
};
|
||||
_unit setvariable [QGVAR(medicClass), 1, true];
|
||||
} else {
|
||||
_unit setvariable [QGVAR(medicClass), 0, true];
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user