BIS fnc kbTellLocal: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| tkoh | | tkoh | ||
|1.00 | |1.00 | ||
|arg= global |MParg= | |arg= global |MParg= | ||
Line 9: | Line 9: | ||
|eff= local |MPEFFECTS= | |eff= local |MPEFFECTS= | ||
|gr1 = Conversations | |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. | | Play given sentence, disable radio and/or lower sounds. Will use [[BIS_fnc_showSubtitle]] for better effects if channel is DIRECT or VEHICLE. | ||
{{Important | This function is intended to be used by [[BIS_fnc_kbTell]] only.}} | {{Important | This function is intended to be used by [[BIS_fnc_kbTell]] only.}} | ||
| [mode, parameters] call [[BIS_fnc_kbTellLocal]] | | [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" | ||
|p2= parameters: [[Array]] - depends on the mode: | |p2= parameters: [[Array]] - depends on the mode: | ||
Line 28: | Line 28: | ||
* "conversationEnd": [volumeCoefUsedInStart, disableRadioUsedInStart] | * "conversationEnd": [volumeCoefUsedInStart, disableRadioUsedInStart] | ||
** volumeCoefUsedInStart: [[Number]] - a volume multiplier, shouldn't be used - if < 0 or >= 1, the volume won't be restored | ** volumeCoefUsedInStart: [[Number]] - a volume multiplier, shouldn't be used - if < 0 or >= 1, the volume won't be restored | ||
** 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]] | | [[Nothing]] | ||
|x1= <code>["sentence", [<nowiki/>[[player]], [BIS_HQ, "myTopic", "playerSentence1"]]] [[call]] [[BIS_fnc_kbTellLocal]];</code> | |x1= <code>["sentence", [<nowiki/>[[player]], [BIS_HQ, "myTopic", "playerSentence1"]]] [[call]] [[BIS_fnc_kbTellLocal]];</code> | ||
|x2= <code>["conversationStart", [0.5, true]] [[call]] [[BIS_fnc_kbTellLocal]];</code> | |x2= <code>["conversationStart", [0.5, true]] [[call]] [[BIS_fnc_kbTellLocal]];</code> | ||
|x3= <code>["conversationEnd", [0.5, true]] [[call]] [[BIS_fnc_kbTellLocal]];</code> | |x3= <code>["conversationEnd", [0.5, true]] [[call]] [[BIS_fnc_kbTellLocal]];</code> | ||
| [[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]] | | [[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]] | ||
}} | }} |
Revision as of 23:11, 17 January 2021
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:
["sentence", [player, [BIS_HQ, "myTopic", "playerSentence1"]]] call BIS_fnc_kbTellLocal;
- Example 2:
["conversationStart", [0.5, true]] call BIS_fnc_kbTellLocal;
- Example 3:
["conversationEnd", [0.5, true]] call BIS_fnc_kbTellLocal;
Additional Information
- See also:
- ConversationskbTellBIS_fnc_kbCanSpeakBIS_fnc_kbCreateDummyBIS_fnc_kbIsSpeakingBIS_fnc_kbMenuBIS_fnc_kbPriorityBIS_fnc_kbSentenceBIS_fnc_kbSkipBIS_fnc_kbTellBIS_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