fadeSound: Difference between revisions

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

Revision as of 21:17, 1 June 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