disableConversation: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma2 |Game name= | | arma2 |Game name= | ||
Line 7: | Line 6: | ||
|gr1= Radio and Chat |GROUP1= | |gr1= Radio and Chat |GROUP1= | ||
| Disable the ability to talk to other people. |DESCRIPTION= | | Disable the ability to talk to other people. |DESCRIPTION= | ||
| unitName '''disableConversation''' disable |SYNTAX= | | unitName '''disableConversation''' disable |SYNTAX= | ||
Line 26: | Line 23: | ||
|x2= <code>soldier1 [[disableConversation]] [[true]]</code>|EXAMPLE2= | |x2= <code>soldier1 [[disableConversation]] [[true]]</code>|EXAMPLE2= | ||
| [[setSpeaker]], [[enableRadio]], [[enableSentences]], [[showSubtitles]] |SEEALSO= | | [[setSpeaker]], [[enableRadio]], [[enableSentences]], [[showSubtitles]] |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Revision as of 00:40, 17 January 2021
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
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),
useplayer 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 !