BIS fnc kbTell: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| tkoh \|1.([0-9]{2}) +\|([^g])" to " | tkoh |1.$1 |game2= arma3 |version2= 0.50 |$2") |
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3") |
||
Line 13: | Line 13: | ||
|gr1= Conversations | |gr1= Conversations | ||
| Play given sentence/conversation. Script terminates itself when conversation is finished.<br> | |descr= Play given sentence/conversation. Script terminates itself when conversation is finished.<br> | ||
Conversation must be declared in [[Description.ext#CfgSentences|Description.ext/CfgSentences]]. | Conversation must be declared in [[Description.ext#CfgSentences|Description.ext/CfgSentences]]. | ||
{{Feature|Informative|This function can also be executed with [[call]]. Doing so will make it internally [[spawn]] since it needs to be able suspend its execution.}} | {{Feature|Informative|This function can also be executed with [[call]]. Doing so will make it internally [[spawn]] since it needs to be able suspend its execution.}} |
Revision as of 20:49, 13 June 2021
Description
- Description:
- Play given sentence/conversation. Script terminates itself when conversation is finished.
Conversation must be declared in Description.ext/CfgSentences. - Execution:
- spawn
- Groups:
- Conversations
Syntax
- Syntax:
- [topic, container, section, radioMode, code, speakers, soundVolume, radioProtocol] spawn BIS_fnc_kbTell
- Parameters:
- topic: String - topic name
- container: String - (Optional, default missionName) container name (CfgSentences sub-category)
- section: Array or String - (Optional, default "") section to be played. Elements can be:
- radioMode: Boolean, String, Object or Code - (Optional, default: false) can be:
- code: Code or Array - (Optional, default
{true}
) can be: - speakers: Array or Boolean - (Optional, default []) can be:
- soundVolume: Number - (Optional, default 0.1) music and sound volumes will be multiplied by this value when conversation starts
- radioProtocol: Boolean - (Optional, default true) true to disable radio protocol message while the conversation is playing
- Return Value:
- Nothing
Examples
Additional Information
- See also:
- See also needed
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