enableRadio: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]2(\|.*)\]\]" to "{{GameCategory|arma2|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| ofp |Game name=
| ofp |Game name=
Line 10: Line 9:
|gr1= Radio and Chat |GROUP1=
|gr1= Radio and Chat |GROUP1=
|gr2= Sounds |GROUP2=
|gr2= Sounds |GROUP2=
____________________________________________________________________________________________


| Enable and disable radio messages to be heard and shown in the left lower corner of the screen. This command can be helpful during cutscenes. |DESCRIPTION=
| Enable and disable radio messages to be heard and shown in the left lower corner of the screen. This command can be helpful during cutscenes. |DESCRIPTION=
____________________________________________________________________________________________


| '''enableRadio''' state |SYNTAX=
| '''enableRadio''' state |SYNTAX=
Line 20: Line 17:


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
   
   
|x1= <code>[[enableRadio]] [[false]];</code> |EXAMPLE1=
|x1= <code>[[enableRadio]] [[false]];</code> |EXAMPLE1=
____________________________________________________________________________________________


|  [[setSpeaker]], [[disableConversation]], [[enableSentences]], [[showSubtitles]]|SEEALSO=
|  [[setSpeaker]], [[disableConversation]], [[enableSentences]], [[showSubtitles]]|SEEALSO=

Revision as of 02:18, 17 January 2021

Hover & click on the images for description

Description

Description:
Enable and disable radio messages to be heard and shown in the left lower corner of the screen. This command can be helpful during cutscenes.
Groups:
Radio and ChatSounds

Syntax

Syntax:
enableRadio state
Parameters:
state: Boolean - true to enable the radio, false to disable it
Return Value:
Nothing

Examples

Example 1:
enableRadio false;

Additional Information

See also:
setSpeakerdisableConversationenableSentencesshowSubtitles

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 7 August, 2008
Lou Montana
This command doesn't disable text-chat in multiplayer.
Posted on 11 September, 2008
beta
Does not affect VON.

Bottom Section