fadeSound: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|F]]
[[Category:Scripting Commands|FADESOUND]]
[[Category:Scripting Commands OFP 1.97|F]]
[[Category:Scripting Commands OFP 1.97|FADESOUND]]
[[Category:Scripting Commands OFP 1.46|F]]
[[Category:Scripting Commands OFP 1.46|FADESOUND]]
[[Category:Scripting Commands ArmA|F]]
[[Category:Scripting Commands ArmA|FADESOUND]]





Revision as of 13:19, 4 May 2006


time fadeSound volume


Operand types:

time: Number

volume: Number

Type of returned value:

Nothing

Description:

Smooth change in all sounds volume.

Change duration is given by time, target volume by volume.

Default sounds volume is 1.0.


Example:

5 fadeSound 0.1