BIS fnc kbTellLocal: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[[cC]ategory:\{\{Name\|arma3\}\}: [fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "= <code>([^<{]+)<\/code>" to "= <sqf>$1</sqf>") |
||
(29 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| tkoh | |game1= tkoh | ||
|version1= 1.00 | |||
| | |game2= arma3 | ||
|version2= 0.50 | |||
|arg= global | |arg= global | ||
|eff= local|gr1 = Conversations | |eff= local|gr1= Conversations | ||
| Play given sentence, disable radio and/or lower sounds. Will use [[BIS_fnc_showSubtitle]] for better effects if channel is DIRECT or VEHICLE. | |descr= Play given sentence, disable radio and/or lower sounds. Will use [[BIS_fnc_showSubtitle]] for better effects if channel is DIRECT or VEHICLE. | ||
{{ | {{Feature | important | This function is intended to be used by [[BIS_fnc_kbTell]] only.}} | ||
| [mode, parameters] call [[BIS_fnc_kbTellLocal]] | |s1= [mode, parameters] call [[BIS_fnc_kbTellLocal]] | ||
|p1= mode: [[String]] - can be either "sentence", "conversationStart" or "conversationEnd" | |p1= mode: [[String]] - can be either "sentence", "conversationStart" or "conversationEnd" | ||
Line 28: | Line 30: | ||
** disableRadioUsedInStart: [[Boolean]] - has the radio chat been disabled and should be restored | ** disableRadioUsedInStart: [[Boolean]] - has the radio chat been disabled and should be restored | ||
| [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>["sentence", [player, [BIS_HQ, "myTopic", "playerSentence1"]]] call BIS_fnc_kbTellLocal;</sqf> | ||
|x2= < | |x2= <sqf>["conversationStart", [0.5, true]] call BIS_fnc_kbTellLocal;</sqf> | ||
|x3= < | |x3= <sqf>["conversationEnd", [0.5, true]] call BIS_fnc_kbTellLocal;</sqf> | ||
| [[Conversations]] | |seealso= [[Conversations]] [[kbTell]] [[BIS_fnc_kbCanSpeak]] [[BIS_fnc_kbCreateDummy]] [[BIS_fnc_kbIsSpeaking]] [[BIS_fnc_kbMenu]] [[BIS_fnc_kbPriority]] [[BIS_fnc_kbSentence]] [[BIS_fnc_kbSkip]] [[BIS_fnc_kbTell]] [[BIS_fnc_kbTopicConfig]] | ||
}} | }} |
Latest revision as of 17:00, 13 July 2022
Description
- Description:
- Play given sentence, disable radio and/or lower sounds. Will use BIS_fnc_showSubtitle for better effects if channel is DIRECT or VEHICLE.
- Execution:
- call
- Groups:
- Conversations
Syntax
- Syntax:
- [mode, parameters] call BIS_fnc_kbTellLocal
- Parameters:
- mode: String - can be either "sentence", "conversationStart" or "conversationEnd"
- parameters: Array - depends on the mode:
- "sentence": same parameters as kbTell (receiver, topicName etc.)
- "conversationStart": [volumeCoef, disableRadio]
- Return Value:
- Nothing
Examples
- Example 1:
- Example 2:
- Example 3:
Additional Information
- See also:
- Conversations kbTell BIS_fnc_kbCanSpeak BIS_fnc_kbCreateDummy BIS_fnc_kbIsSpeaking BIS_fnc_kbMenu BIS_fnc_kbPriority BIS_fnc_kbSentence BIS_fnc_kbSkip BIS_fnc_kbTell BIS_fnc_kbTopicConfig
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