OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Peter haroski on 15 Jun 2004, 18:38:21

Title: Fading music
Post by: Peter haroski on 15 Jun 2004, 18:38:21
How I can fade music in trigger, what do I have to write to trigger?
Title: Re:Fading music
Post by: Artak on 15 Jun 2004, 18:47:11
time fadeMusic volume
Operand types:
    time: Number
    volume: Number
Type of returned value:
    Nothing
Description:
    Smooth change in music volume. Change duration is given by time, target volume by volume. Default music volume is 0.5.

Example:
    5 fadeMusic 0

I rest my case  :)