Gemberkoekje 0 Posted April 1, 2023 Hi all, I want to call BIS_fnc_unitAddon to get the addon from which an object came from, but I only have a config: _weapons = [configFile >> "CfgGlasses",0] call BIS_fnc_returnChildren; { _configName = configName _x; _addon = [ configFile >> "CfgGlasses" >> _configName ] call BIS_fnc_unitAddon; diag_log text(format['addon: "%1",',_addon]); } } foreach _weapons; This fails as it expects an object, instead of a config. How can I call this function properly? Share this post Link to post Share on other sites