enableRadio: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\<dt class\=\"note\"\>\'\'\'\[\[(.*)\]\]\'\'\'" to "<dt class="note">$1")
m (Some wiki formatting)
 
(44 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| ofp |Game name=
|game1= ofp
|version1= 1.00


|1.00|Game version=
|game2= ofpe
|version2= 1.00


|eff= local |Multiplayer Effects=
|game3= arma1
____________________________________________________________________________________________
|version3= 1.00


| 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=
|game4= arma2
____________________________________________________________________________________________
|version4= 1.00


| '''enableRadio''' state |SYNTAX=
|game5= arma2oa
|version5= 1.50


|p1= state: [[Boolean]] - true to enable the radio, false to disable it |PARAMETER1=
|game6= tkoh
|version6= 1.00


| [[Nothing]] |RETURNVALUE=
|game7= arma3
____________________________________________________________________________________________
|version7= 0.50
 
|x1= <pre>enableRadio false</pre> |EXAMPLE1=
____________________________________________________________________________________________


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


}}
|gr1= Radio and Chat
|gr2= Sounds


<h3 style="display:none">Notes</h3>
|descr= Enable and disable radio messages to be heard and shown in the left lower corner of the screen - the order-giving unit can still be heard direct-talking when in its vicinity. The AI will still follow orders.
<dl class="command_description">
This command can be helpful during cutscenes.
<!-- Note Section BEGIN -->


<dd class="notedate">Posted on 7 August, 2008
|s1= [[enableRadio]] state
<dt class="note">[[User:Lou Montana|Lou Montana]]
<dd class="note">
This command doesn't disable text-chat in multiplayer.


|p1= state: [[Boolean]] - true to enable the radio, false to disable it


<dd class="notedate">Posted on 11 September, 2008
|r1= [[Nothing]]
<dt class="note">[[User:beta|beta]]
<dd class="note">
Does not affect VON.


|x1= <sqf>
enableRadio false;
clearRadio;
</sqf>


<!-- Note Section END -->
|seealso= [[radioEnabled]] [[setSpeaker]] [[disableConversation]] [[enableSentences]] [[showSubtitles]]
</dl>
}}


<h3 style="display:none">Bottom Section</h3>
{{Note
|user= Lou Montana
|timestamp= 20080807145000
|text= This command doesn't disable text-chat in multiplayer.
}}


[[Category:Scripting Commands|ENABLERADIO]]
{{Note
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
|user= beta
[[Category:Scripting Commands OFP 1.96|ENABLERADIO]]
|timestamp= 20080911234300
[[Category:Scripting Commands OFP 1.46|ENABLERADIO]]
|text= Does not affect VON.
[[Category:Scripting Commands ArmA|ENABLERADIO]]
}}
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Interaction|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Radio_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]

Latest revision as of 20:46, 20 May 2023

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 - the order-giving unit can still be heard direct-talking when in its vicinity. The AI will still follow orders. 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; clearRadio;

Additional Information

See also:
radioEnabled setSpeaker disableConversation enableSentences showSubtitles

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
Lou Montana - c
Posted on Aug 07, 2008 - 14:50 (UTC)
This command doesn't disable text-chat in multiplayer.
beta - c
Posted on Sep 11, 2008 - 23:43 (UTC)
Does not affect VON.