BIS fnc kbCanSpeak: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>")
 
(35 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= tkoh
____________________________________________________________________________________________
|version1= 1.00


| tkoh |= Game name
|game2= arma3
|version2= 0.50


|1.00|= Game version
|gr1= Conversations
____________________________________________________________________________________________


| <pre>/*
|descr= Check if person is not locked by some [[Conversations|conversation]].


Description:
|s1= unit call [[BIS_fnc_kbCanSpeak]]
Check if person is not locked by some conversation


Parameter(s):
|p1= unit: [[Object]] - checked person
_this: OBJECT - checked person


Returns:
|r1= [[Boolean]] - if the person can speak
BOOL - true if he can speak
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|x1= <sqf>private _canPlayerTalk = player call BIS_fnc_kbCanSpeak;</sqf>
____________________________________________________________________________________________
 
| <!-- [] call [[BIS_fnc_kbCanSpeak]]; --> |= Syntax
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|seealso= [[Conversations]] [[BIS_fnc_kbTell]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Conversations|{{uc:kbCanSpeak}}]]
[[Category:Functions|{{uc:kbCanSpeak}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:kbCanSpeak}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:kbCanSpeak}}]]

Latest revision as of 22:44, 12 July 2022

Hover & click on the images for description

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:
private _canPlayerTalk = player call BIS_fnc_kbCanSpeak;

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