{"name":"BIS_fnc_kbTopicConfig","title":"BIS fnc kbTopicConfig","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_kbTopicConfig","revid":364464,"updated":"2024-05-16T20:41:50Z","groups":["Conversations"],"status":"ok","games":{"tkoh":"1.00","arma3":"0.50"},"since":"tkoh 1.00","arma3_since":"0.50","description":"Reads the configs to return a matching `config >> CfgSentences >> missionName >> topic` entry.\n\n> [!NOTE]\n> Configs are checked in that order: configFile, campaignConfigFile, missionConfigFile.\n\n> [!IMPORTANT]\n> This function is intended to be used by BIS_fnc_kbTell only.","syntaxes":[{"syntax":"[missionName, topic] call BIS_fnc_kbTopicConfig","params":[{"name":"missionName","type":"String","type_expr":"String"},{"name":"topic","type":"String","type_expr":"String"}],"returns":{"type":"Config","type_expr":"Config","description":"the topic's config entry. nil on error or not found"}}],"examples":[{"code":["private _configTopic = [\"missionName\", \"topic\"] call BIS_fnc_kbTopicConfig;"]}],"see_also":["Conversations","BIS_fnc_kbTell"]}