isMedic -> medicClass

This commit is contained in:
SilentSpike 2015-05-10 20:19:32 +01:00
parent d321ed2753
commit 518cfdab9e
3 changed files with 4 additions and 4 deletions

View File

@ -21,4 +21,4 @@ _vehicle = vehicle _unit;
if (_unit == _vehicle) exitWith {false};
if (_unit in [driver _vehicle, gunner _vehicle, commander _vehicle]) exitWith {false};
_vehicle getVariable [QGVAR(isMedic), getNumber (configFile >> "CfgVehicles" >> typeOf _vehicle >> "attendant") == 1]
_vehicle getVariable [QGVAR(medicClass), getNumber (configFile >> "CfgVehicles" >> typeOf _vehicle >> "attendant") == 1]

View File

@ -15,4 +15,4 @@
private ["_vehicle"];
_vehicle = _this select 0;
_vehicle getVariable [QGVAR(isMedic), getNumber (configFile >> "CfgVehicles" >> typeOf _vehicle >> "attendant") == 1]
_vehicle getVariable [QGVAR(medicClass), getNumber (configFile >> "CfgVehicles" >> typeOf _vehicle >> "attendant") == 1]

View File

@ -44,7 +44,7 @@ if (!isNull _logic) then {
if (!isnil "_x") then {
if (typeName _x == typeName objNull) then {
if (local _x) then {
_x setvariable [QGVAR(isMedic), _setting, true];
_x setvariable [QGVAR(medicClass), _setting, true];
};
};
};
@ -54,7 +54,7 @@ if (!isNull _logic) then {
if (!isnil "_x") then {
if (typeName _x == typeName objNull) then {
if (local _x) then {
_x setvariable [QGVAR(isMedic), _setting, true];
_x setvariable [QGVAR(medicClass), _setting, true];
};
};
};