/* * Author: Glowbal * Check if vehicle is a engineeral vehicle * * Arguments: * 0: The Vehicle * * ReturnValue: * Is in of engineer class * * Public: Yes */ #include "script_component.hpp" params ["_vehicle"]; TRACE_1("params",_vehicle); if (_vehicle isKindOf "CAManBase") exitwith {false}; ((_vehicle getVariable ["ACE_isRepairVehicle", getNumber (configFile >> "CfgVehicles" >> typeOf _vehicle >> QGVAR(canRepair))]) > 0);