disableConversation: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Lou Montana (talk | contribs) m (Text replacement - " \| *s([0-9]) *= ([^ ]+)? ?'''([a-zA-Z0-9_]+)''' ?([^ ]+)? " to " |s$1= $2 $3 $4 ") |
||
Line 23: | Line 23: | ||
<code>[[while]] {![[conversationDisabled]] _unit} [[do]] {_unit [[disableConversation]] [[true]]}; [[while]] {[[conversationDisabled]] _unit} [[do]] {_unit [[disableConversation]] [[false]]};</code>}} | <code>[[while]] {![[conversationDisabled]] _unit} [[do]] {_unit [[disableConversation]] [[true]]}; [[while]] {[[conversationDisabled]] _unit} [[do]] {_unit [[disableConversation]] [[false]]};</code>}} | ||
|s1= unitName | |s1= unitName [[disableConversation]] disable | ||
|p1= unitName: [[Object]] | |p1= unitName: [[Object]] |
Revision as of 16:42, 12 June 2021
Description
- Description:
- In theory disables the ability to talk to other people. In actuality, if true is given, the command increases unit's kbTell IsSpeaking status by 1, thus stopping unit from having a conversation. If false is given, the command decreases unit's kbTell IsSpeaking status by 1. The unit "is speaking" if IsSpeaking > 0.
- 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 false;
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