fadeSound

From Bohemia Interactive Community
Revision as of 05:20, 16 April 2006 by Hoz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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