BIS fnc kbCanSpeak: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(Page filling)
Line 1: Line 1:
{{Function|= Comments
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 8: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Check if person is not locked by some [[Conversations|conversation]]. |= Description
 
Description:
Check if person is not locked by some conversation
 
Parameter(s):
_this: OBJECT - checked person
 
Returns:
BOOL - true if he can speak
*/
 
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_kbCanSpeak]]; --> |= Syntax
| unit call [[BIS_fnc_kbCanSpeak]] |= Syntax


|p1= |= Parameter 1
|p1= unit: [[Object]] - checked person |= Parameter 1


| |= Return value
| [[Boolean]] - if the person can speak |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
|x1= <code>_canPlayerTalk = [[player]] [[call]] [[BIS_fnc_kbCanSpeak]];</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[Conversations]], [[BIS_fnc_kbTell]] |= See also
 
}}
}}



Revision as of 10:48, 1 May 2018

Hover & click on the images for description

Description

Description:
Check if person is not locked by some conversation.
Execution:
call
Groups:
Uncategorised

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

Notes

Bottom Section