fadeEnvironment: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{RV|type=command | arma3dev |eff= local |2.03 |gr1= Sounds | Causes a smooth change in the master volume of the environment. The change duration is given by time, the tar...")
 
No edit summary
Line 8: Line 8:
|gr1= Sounds
|gr1= Sounds


| Causes a smooth change in the master volume of the environment. The change duration is given by time, the target volume by volume. The default volume is 1.0.
| Causes a smooth change in the master volume of the environment and is different from [[enableEnvironment]] global mute option. The change duration is given by time, the target volume by volume. The default volume is 1.0.


| time '''fadeEnvironment''' volume
| time '''fadeEnvironment''' volume

Revision as of 13:24, 1 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Sounds

Syntax

Syntax:
Syntax needed
Parameters:
time: Number - fade interval in seconds
volume: Number - speech volume range 0 to 1. Maximum volume is 1. Default is 1.
Return Value:
Return value needed

Examples

Example 1:
5 fadeEnvironment 0.1;

Additional Information

See also:
See also needed

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