conversationDisabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *R([a-z ])" to "$1 - r$2")
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


|arma 3
|game1= arma3
|version1= 2.06


|2.06
|gr1= Radio and Chat


|gr1=  
|descr= A getter for [[disableConversation]].


| Returns [[true]] if the status of [[kbTell]] `IsSpeaking` for the given unit > 0 (see [[disableConversation]] for more info)
|s1= [[conversationDisabled]] unit
 
| [[conversationDisabled]] unit


|p1= unit: [[Object]]  
|p1= unit: [[Object]]  


| [[Boolean]] - returns [[true]] if [[kbTell]] `IsSpeaking' > 0 for the given unit
|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]]
}}
}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma3|Scripting Commands}}

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