disableConversation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(removed redundant comments)
Line 7: Line 7:
|gr1= Radio and Chat
|gr1= Radio and Chat


| In theory disables the ability to talk to other people. In actuality, if [[true]] is given, the command increases unit's `IsSpeaking` status by 1, thus stopping unit from having a conversation, if [[false]] is given, the command decreases unit's `IsSpeakig` status by 1. This is relevant to [[kbTell]] functionality. The unit `IsSpeaking` if the `IsSpeaking` > 0.   
| In theory disables the ability to talk to other people. In actuality, if [[true]] is given, the command increases unit's `IsSpeaking` status by 1, thus stopping unit from having a conversation, if [[false]] is given, the command decreases unit's `IsSpeaking` status by 1. This is relevant to [[kbTell]] functionality. The unit `IsSpeaking` if the `IsSpeaking` > 0.   


| unitName '''disableConversation''' disable
| unitName '''disableConversation''' disable
Line 22: Line 22:
|seealso= [[setSpeaker]], [[enableRadio]], [[enableSentences]], [[showSubtitles]]
|seealso= [[setSpeaker]], [[enableRadio]], [[enableSentences]], [[showSubtitles]]
}}
}}
<dl class='command_description'>
<dt><dt>
<dd class="notedate">Posted on July 10, 2009 - 23:28 (CEST)</dd>
<dt class="note">[[User:Lou Montana|Lou Montana]]</dt>
<dd class="note">
Note that this will also prevent you from using group radio.<br>
If you just want player unable to speak to others (or one particular soldier),<br>
use <code>player [[setVariable]] ["BIS_noCoreConversations", true];</code>
<br>
or, for the other soldier,
<code>unitName [[setVariable]] ["BIS_noCoreConversations", true];</code>
<dt><dt>
<dd class="notedate">Posted on August 18, 2010 - 21:24 (CEST)</dd>
<dt class="note">[[User:Lou Montana|Lou Montana]]</dt>
<dd class="note">
My previous note is incorrect now, you can use '''disableConversation''' and still use the group radio, at least in A2:OA !
</dl>





Revision as of 12:00, 16 May 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Radio and Chat

Syntax

Syntax:
Syntax needed
Parameters:
unitName: Object
disable: Boolean
Return Value:
Return value needed

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