BIS fnc kbCanSpeak: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "")
m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>")
 
(25 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function


| tkoh |Game name=
|game1= tkoh
|version1= 1.00


|1.00|Game version=
|game2= arma3
|version2= 0.50


|gr1 = Conversations |GROUP1=
|gr1= Conversations


| Check if person is not locked by some [[Conversations|conversation]]. |DESCRIPTION=
|descr= Check if person is not locked by some [[Conversations|conversation]].


| unit call [[BIS_fnc_kbCanSpeak]] |SYNTAX=
|s1= unit call [[BIS_fnc_kbCanSpeak]]


|p1= unit: [[Object]] - checked person |PARAMETER1=
|p1= unit: [[Object]] - checked person


| [[Boolean]] - if the person can speak |RETURNVALUE=
|r1= [[Boolean]] - if the person can speak


|x1= <code>_canPlayerTalk = [[player]] [[call]] [[BIS_fnc_kbCanSpeak]];</code> |EXAMPLE1=
|x1= <sqf>private _canPlayerTalk = player call BIS_fnc_kbCanSpeak;</sqf>


| [[Conversations]], [[BIS_fnc_kbTell]] |SEEALSO=
|seealso= [[Conversations]] [[BIS_fnc_kbTell]]
}}
}}
<h3 style="display:none">Bottom Section</h3>
[[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