#include "../script_component.hpp" private _battalionInfoCfg = (missionConfigFile >> "BattalionInfo"); if (!IS_CONFIG(_battalionInfoCfg) || {!isClass _battalionInfoCfg}) exitWith { [ LEVEL_ERROR, QUOTE(COMPONENT), "ERROR: Battalion config not found. Check that the battalion config is present and correctly named in the mission config file. See defines/BattalionInfo.hpp and framework/util/functions/getBattalionCfg.sqf.", [] ] call EFUNC(common,log); configNull; }; _battalionInfoCfg;