/* * Author: Glowbal * Check if vehicle is a medical vehicle * * Arguments: * 0: The Vehicle * * ReturnValue: * Is in of medic class * * Public: Yes */ #include "script_component.hpp" private ["_vehicle"]; _vehicle = _this select 0; _vehicle getVariable [QGVAR(isMedic), getNumber (configFile >> "CfgVehicles" >> typeOf _vehicle >> "attendant") == 1]