BIS fnc kbTopicConfig: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Remove note template usage)
Line 11: Line 11:
| Reads the [[Config|configs]] to return a matching <tt>config [[config greater greater name|&gt;&gt;]] [[Description.ext#CfgSentences|CfgSentences]] [[config greater greater name|&gt;&gt;]] missionName [[config greater greater name|&gt;&gt;]] topic</tt> entry.
| Reads the [[Config|configs]] to return a matching <tt>config [[config greater greater name|&gt;&gt;]] [[Description.ext#CfgSentences|CfgSentences]] [[config greater greater name|&gt;&gt;]] missionName [[config greater greater name|&gt;&gt;]] topic</tt> entry.
{{Informative | [[Config]]s are checked in that order: [[configFile]], [[campaignConfigFile]], [[missionConfigFile]].}}
{{Informative | [[Config]]s are checked in that order: [[configFile]], [[campaignConfigFile]], [[missionConfigFile]].}}
{{note | This function is intended to be used by [[BIS_fnc_kbTell]] only.}} |DESCRIPTION=
{{Important | This function is intended to be used by [[BIS_fnc_kbTell]] only.}} |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 19:04, 26 December 2020

Hover & click on the images for description

Description

Description:
Reads the configs to return a matching config >> CfgSentences >> missionName >> topic entry.
This function is intended to be used by BIS_fnc_kbTell only.
Execution:
call
Groups:
Conversations

Syntax

Syntax:
[missionName, topic] call BIS_fnc_kbTopicConfig
Parameters:
missionName: String
topic: String
Return Value:
Config - the topic's config entry. nil on error or not found

Examples

Example 1:
private _configTopic = ["missionName", "topic"] call BIS_fnc_kbTopicConfig;

Additional Information

See also:
Conversations BIS_fnc_kbTell

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section