conversationDisabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (dev → main)
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *R([a-z ])" to "$1 - r$2")
 
(2 intermediate revisions by the same user not shown)
Line 12: Line 12:
|p1= unit: [[Object]]  
|p1= unit: [[Object]]  


|r1= [[Boolean]] - Returns [[true]] if the status of [[kbTell]] ''IsSpeaking'' for the given unit is <tt>> 0</tt>. See [[disableConversation]] for more info
|r1= [[Boolean]] - returns [[true]] if the status of [[kbTell]]'s ''IsSpeaking'' for the given unit is {{hl|> 0}}. See [[disableConversation]] for more info


|x1= <code>_isConversationDisabled = [[conversationDisabled]] soldier1;</code>
|x1= <sqf>if (conversationDisabled soldier1) then { soldier1 disableConversation false };</sqf>


|seealso= [[disableConversation]]
|seealso= [[disableConversation]]
}}
}}

Latest revision as of 15:47, 8 November 2023

Hover & click on the images for description

Description

Description:
A getter for disableConversation.
Groups:
Radio and Chat

Syntax

Syntax:
conversationDisabled unit
Parameters:
unit: Object
Return Value:
Boolean - returns true if the status of kbTell's IsSpeaking for the given unit is > 0. See disableConversation for more info

Examples

Example 1:
if (conversationDisabled soldier1) then { soldier1 disableConversation false };

Additional Information

See also:
disableConversation

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