BIS fnc kbTopicConfig: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<tt>([^= ]+)<\/tt>" to "{{hl|$1}}") |
Lou Montana (talk | contribs) m (Text replacement - "<code>\[\[private\]\] (_?[a-zA-Z0-9_]+) = \[([^\[]*)\] \[\[(call|spawn)\]\] \[\[(BI(N|S)_fnc_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>private $1 = [$2] $3 $4;</sqf>") |
||
Line 21: | Line 21: | ||
|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= < | |x1= <sqf>private _configTopic = ["missionName", "topic"] call BIS_fnc_kbTopicConfig;</sqf> | ||
|seealso= [[Conversations]] [[BIS_fnc_kbTell]] | |seealso= [[Conversations]] [[BIS_fnc_kbTell]] | ||
}} | }} |
Revision as of 13:35, 1 July 2022
Description
- Description:
- Reads the configs to return a matching config >> CfgSentences >> missionName >> topic entry.
- 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:
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