{"name":"BIS_fnc_returnConfigEntry","title":"BIS fnc returnConfigEntry","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_returnConfigEntry","revid":349149,"updated":"2023-11-08T14:49:48Z","groups":["Configs"],"status":"ok","games":{"arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma2 1.00","arma3_since":"0.50","description":"Explores parent classes in the run-time config for the value of a config entry.","syntaxes":[{"syntax":"[config,attribute,defaultValue] call BIS_fnc_returnConfigEntry","params":[{"name":"config","type":"Config","description":"starting config","type_expr":"Config"},{"name":"attribute","type":"String","description":"config attribute to be returned","type_expr":"String"},{"name":"defaultValue","type":"Anything","optional":true,"default":"Nothing","description":"value to be returned if attribute is not existent","type_expr":"Anything","text":"defaultValue: Anything - (Optional, default Nothing) value to be returned if attribute is not existent"}],"returns":{"type":"Array, String or Number","type_expr":"Array | String | Number","description":"attribute value"}}],"examples":[{"code":["[configfile >> \"Cfg3DEN\" >> \"Attributes\" >> \"ActivationType\",\"idc\"] call BIS_fnc_returnConfigEntry;"]}],"see_also":["configFile","BIS_fnc_getCfg","BIS_fnc_getCfgData"]}