fadeRadio: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma1 |Game name=
| arma1
|eff= local|Multiplayer Effects=
|eff= local


|1.00|Game version=
|1.00


|gr1= Sounds |GROUP1=
|gr1= Sounds


| Causes a smooth change in the radio volume. The change duration is given by time, the target volume by volume. The default radio volume is 1.0. |DESCRIPTION=
| Causes a smooth change in the radio volume. The change duration is given by time, the target volume by volume. The default radio volume is 1.0.


| time '''fadeRadio''' volume |SYNTAX=
| time '''fadeRadio''' volume


|p1= time: [[Number]] in seconds |PARAMETER1=
|p1= time: [[Number]] in seconds


|p2= volume: [[Number]] - radio volume range 0 to 1. Maximum volume is 1. Default is 1. |PARAMETER2=
|p2= volume: [[Number]] - radio volume range 0 to 1. Maximum volume is 1. Default is 1.


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]
   
   
|x1= <code>5 [[fadeRadio]] 0.1</code> |EXAMPLE1=
|x1= <code>5 [[fadeRadio]] 0.1</code>


| [[fadeSound]], [[fadeMusic]], [[fadeSpeech]], [[radioVolume]], [[soundVolume]], [[musicVolume]] |SEEALSO=
| [[fadeSound]], [[fadeMusic]], [[fadeSpeech]], [[radioVolume]], [[soundVolume]], [[musicVolume]]


}}
}}

Revision as of 01:34, 18 January 2021

Hover & click on the images for description

Description

Description:
Causes a smooth change in the radio volume. The change duration is given by time, the target volume by volume. The default radio volume is 1.0.
Groups:
Sounds

Syntax

Syntax:
time fadeRadio volume
Parameters:
time: Number in seconds
volume: Number - radio volume range 0 to 1. Maximum volume is 1. Default is 1.
Return Value:
Nothing

Examples

Example 1:
5 fadeRadio 0.1

Additional Information

See also:
fadeSoundfadeMusicfadeSpeechradioVolumesoundVolumemusicVolume

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 September 11, 2008 - 17:17 (EST)
beta
Does not affect VON

Bottom Section

Posted on September 13, 2016 - 15:52 (UTC)
Fusselwurm
Also influences audibility of the missile warning in helicopters.