BIS fnc kbTopicConfig: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|+$" to "")
m (Text replacement - " |r1=[[" to " |r1= [[")
Line 19: Line 19:
|p2= topic: [[String]]
|p2= topic: [[String]]


|r1=[[Config]] - the topic's config entry. [[nil]] on error or not found
|r1= [[Config]] - the topic's config entry. [[nil]] on error or not found


|x1= <code>[[private]] _configTopic = ["missionName", "topic"] [[call]] [[BIS_fnc_kbTopicConfig]];</code>
|x1= <code>[[private]] _configTopic = ["missionName", "topic"] [[call]] [[BIS_fnc_kbTopicConfig]];</code>

Revision as of 22:26, 7 August 2021

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