disableConversation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replace - "</dt>" to "")
m (Text replace - "</dd>" to "")
Line 43: Line 43:
or, for the other soldier,
or, for the other soldier,
<code>unitName [[setVariable]] ["BIS_noCoreConversations", true];</code>
<code>unitName [[setVariable]] ["BIS_noCoreConversations", true];</code>
</dd>
 
<dt class="note">'''[[User:Lou Montana|Lou Montana]]''' 21:24, 18 Aug 2010 (CEST)
<dt class="note">'''[[User:Lou Montana|Lou Montana]]''' 21:24, 18 Aug 2010 (CEST)
<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 !
</dd>
 
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 13:33, 21 October 2011

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:
See also needed

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

Lou Montana 23:28, 10 July 2009 (CEST)
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];
Lou Montana 21:24, 18 Aug 2010 (CEST)
My previous note is incorrect now, you can use disableConversation and still use the group radio, at least in A2:OA !

Bottom Section