disableConversation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
m (brought notes in proper format + formatted examples)
Line 21: Line 21:




|x1= <code>player disableConversation true</code>|= EXAMPLE1  
|x1= <code>[[player]] [[disableConversation]] [[true]]</code>|= EXAMPLE1  
|x2= <code>soldier1 disableConversation true</code>|= EXAMPLE2  
|x2= <code>soldier1 [[disableConversation]] [[true]]</code>|= EXAMPLE2  


____________________________________________________________________________________________
____________________________________________________________________________________________
Line 35: Line 35:
<dl class='command_description'>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
<dt class="note">'''[[User:Lou Montana|Lou Montana]]''' 23:28, 10 July 2009 (CEST)
 
<dd class="notedate">Posted on July 10, 2009 - 23:28 (CEST)
<dt class="note">'''[[User:Lou Montana|Lou Montana]]'''
<dd class="note">
<dd class="note">
Note that this will also prevent you from using group radio.<br />
Note that this will also prevent you from using group radio.<br />
Line 44: Line 46:
<code>unitName [[setVariable]] ["BIS_noCoreConversations", true];</code>
<code>unitName [[setVariable]] ["BIS_noCoreConversations", true];</code>


<dt class="note">'''[[User:Lou Montana|Lou Montana]]''' 21:24, 18 Aug 2010 (CEST)
<dd class="notedate">Posted on August 18, 2010 - 21:24 (CEST)
<dt class="note">'''[[User:Lou Montana|Lou Montana]]'''
<dd class="note">
<dd class="note">
My previous note is incorrect now, you can use '''disableConversation''' and still use the group radio, at least in A2:OA !
My previous note is incorrect now, you can use '''disableConversation''' and still use the group radio, at least in A2:OA !

Revision as of 16:57, 26 March 2016

Hover & click on the images for description

Description

Description:
Disable the ability to talk to other people.
Groups:
Uncategorised

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:
setSpeakerenableRadioenableSentences

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