disableConversation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)]]" to "{{GameCategory|arma3|Scripting Commands}}")
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]2(\|.*)\]\]" to "{{GameCategory|arma2|Scripting Commands}}")
Line 58: Line 58:
<h3 style='display:none'>Bottom Section</h3>
<h3 style='display:none'>Bottom Section</h3>


[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 17:00, 8 January 2021

Hover & click on the images for description

Description

Description:
Disable the ability to talk to other people.
Groups:
Radio and Chat

Syntax

Syntax:
unitName disableConversation disable
Parameters:
unitName: Object
disable: Boolean
Return Value:
Nothing

Examples

Example 1:
player disableConversation true
Example 2:
soldier1 disableConversation true

Additional Information

See also:
setSpeakerenableRadioenableSentencesshowSubtitles

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

Posted on July 10, 2009 - 23:28 (CEST)
Lou Montana
Note that this will also prevent you from using group radio.
If you just want player unable to speak to others (or one particular soldier),
use player setVariable ["BIS_noCoreConversations", true];
or, for the other soldier, unitName setVariable ["BIS_noCoreConversations", true];
Posted on August 18, 2010 - 21:24 (CEST)
Lou Montana
My previous note is incorrect now, you can use disableConversation and still use the group radio, at least in A2:OA !

Bottom Section