summaryrefslogtreecommitdiffstats
path: root/Common/Functions/Common_GetConfigInfo.sqf
blob: ce83cad7f95f4239ac161eb98c1b67d0dbd10d0d (plain)
1
2
3
4
5
6
7
8
Private ['_element','_from','_object'];
_object = _this select 0;
_element = _this select 1;
_from = if (count _this > 2) then {_this select 2} else {'CfgVehicles'};

if (typeName _object == 'OBJECT') then {_object = typeOf(_object)};

getText (configFile >> _from >> _object >> _element)