BIS fnc kbCanSpeak: 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 | ||
|gr1 = Conversations | |gr1 = Conversations | ||
| Check if person is not locked by some [[Conversations|conversation]]. | | Check if person is not locked by some [[Conversations|conversation]]. | ||
| unit call [[BIS_fnc_kbCanSpeak]] | | unit call [[BIS_fnc_kbCanSpeak]] | ||
|p1= unit: [[Object]] - checked person | |p1= unit: [[Object]] - checked person | ||
| [[Boolean]] - if the person can speak | | [[Boolean]] - if the person can speak | ||
|x1= <code>_canPlayerTalk = [[player]] [[call]] [[BIS_fnc_kbCanSpeak]];</code> | |x1= <code>_canPlayerTalk = [[player]] [[call]] [[BIS_fnc_kbCanSpeak]];</code> | ||
| [[Conversations]], [[BIS_fnc_kbTell]] | | [[Conversations]], [[BIS_fnc_kbTell]] | ||
}} | }} | ||
Revision as of 23:11, 17 January 2021
Description
- Description:
- Check if person is not locked by some conversation.
- Execution:
- call
- Groups:
- Conversations
Syntax
- Syntax:
- unit call BIS_fnc_kbCanSpeak
- Parameters:
- unit: Object - checked person
- Return Value:
- Boolean - if the person can speak
Examples
- Example 1:
_canPlayerTalk = player call BIS_fnc_kbCanSpeak;
Additional Information
- See also:
- ConversationsBIS_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