BIS fnc kbCanSpeak: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "code>_([a-zA-Z0-9_]+) = " to "code>private _$1 = ")
m (Text replacement - "\|seealso= ([^ ]+)(\]\]|\}\}), *(\[\[|\{\{)" to "|seealso= $1$2 $3")
Line 19: Line 19:
|x1= <code>[[private]] _canPlayerTalk = [[player]] [[call]] [[BIS_fnc_kbCanSpeak]];</code>
|x1= <code>[[private]] _canPlayerTalk = [[player]] [[call]] [[BIS_fnc_kbCanSpeak]];</code>


|seealso= [[Conversations]], [[BIS_fnc_kbTell]]
|seealso= [[Conversations]] [[BIS_fnc_kbTell]]
}}
}}

Revision as of 12:53, 1 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