enableRadio: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "")
m (Some wiki formatting)
 
(30 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


| ofp
|game1= ofp
|version1= 1.00


|1.00
|game2= ofpe
|version2= 1.00
 
|game3= arma1
|version3= 1.00
 
|game4= arma2
|version4= 1.00
 
|game5= arma2oa
|version5= 1.50
 
|game6= tkoh
|version6= 1.00
 
|game7= arma3
|version7= 0.50


|eff= local
|eff= local
Line 10: Line 27:
|gr2= Sounds
|gr2= Sounds


| 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.
|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.
This command can be helpful during cutscenes.


| '''enableRadio''' state
|s1= [[enableRadio]] state


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


| [[Nothing]]
|r1= [[Nothing]]
 
|x1= <code>[[enableRadio]] [[false]];</code>


| [[setSpeaker]], [[disableConversation]], [[enableSentences]], [[showSubtitles]]
|x1= <sqf>
enableRadio false;
clearRadio;
</sqf>


|seealso= [[radioEnabled]] [[setSpeaker]] [[disableConversation]] [[enableSentences]] [[showSubtitles]]
}}
}}


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


<dd class="notedate">Posted on 7 August, 2008
{{Note
<dt class="note">[[User:Lou Montana|Lou Montana]]
|user= beta
<dd class="note">
|timestamp= 20080911234300
This command doesn't disable text-chat in multiplayer.
|text= Does not affect VON.
 
}}
 
<dd class="notedate">Posted on 11 September, 2008
<dt class="note">[[User:beta|beta]]
<dd class="note">
Does not affect VON.
 
 
<!-- Note Section END -->
</dl>
 
 
[[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]]
{{GameCategory|arma1|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Latest revision as of 21: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.