enableRadio: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (template:command argument fix)
(18 intermediate revisions by 11 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|ENABLERADIO]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.97|ENABLERADIO]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|ENABLERADIO]]
 
[[Category:Scripting Commands ArmA|ENABLERADIO]]
| ofp |= Game name
 
|1.00|= Game version
 
|eff= local |Multiplayer Effects=
____________________________________________________________________________________________
 
| 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=
 
|p1= state: [[Boolean]] - true to enable the radio, false to disable it |PARAMETER1=


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


<h2 style="color:#000066">'''enableRadio ''enable'''''</h2>
|  [[setSpeaker]], [[disableConversation]], [[enableSentences]], [[showSubtitles]]|SEEALSO=


}}


'''Operand types:'''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


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


'''Type of returned value:'''
[[
Nothing]]


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


Enable radio transmissions to be heard and seen on screen.


<!-- Note Section END -->
</dl>


'''Example:'''
<h3 style="display:none">Bottom Section</h3>


'''enableRadio''' [[true]]
[[Category:Scripting Commands|ENABLERADIO]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|ENABLERADIO]]
[[Category:Scripting Commands OFP 1.46|ENABLERADIO]]
[[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 ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 12:08, 5 August 2019

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:
Uncategorised

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