enableRadio: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] +\[\[([a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1 $2;</sqf>") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 27: | Line 27: | ||
|gr2= Sounds | |gr2= Sounds | ||
|descr= 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. | |||
|s1= [[enableRadio]] state | |s1= [[enableRadio]] state | ||
Line 35: | Line 36: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <sqf>enableRadio false;</sqf> | |x1= <sqf> | ||
enableRadio false; | |||
clearRadio; | |||
</sqf> | |||
|seealso= [[radioEnabled]] [[setSpeaker]] [[disableConversation]] [[enableSentences]] [[showSubtitles]] | |seealso= [[radioEnabled]] [[setSpeaker]] [[disableConversation]] [[enableSentences]] [[showSubtitles]] | ||
}} | }} | ||
{{Note | |||
|user= Lou Montana | |||
|timestamp= 20080807145000 | |||
|text= This command doesn't disable text-chat in multiplayer. | |||
}} | |||
{{Note | |||
|user= beta | |||
|timestamp= 20080911234300 | |||
|text= Does not affect VON. | |||
}} | |||
Does not affect VON. | |||
Latest revision as of 20:46, 20 May 2023
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:
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
- Posted on Aug 07, 2008 - 14:50 (UTC)
- This command doesn't disable text-chat in multiplayer.
- Posted on Sep 11, 2008 - 23:43 (UTC)
- Does not affect VON.
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Operation Flashpoint: Elite: Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Radio and Chat
- Command Group: Sounds
- Scripting Commands: Local Effect