fadeRadio: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]OFP[ _]Elite(\|.*)?\]\]" to "{{GameCategory|ofpe|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma1 |Game name=
| arma1 |Game name=
Line 8: Line 7:


|gr1= Sounds |GROUP1=
|gr1= Sounds |GROUP1=
____________________________________________________________________________________________


| 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. |DESCRIPTION=
____________________________________________________________________________________________


| time '''fadeRadio''' volume |SYNTAX=
| time '''fadeRadio''' volume |SYNTAX=
Line 20: Line 17:


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


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

Revision as of 01:19, 17 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.