Home   Help Search Login Register  

Author Topic: Fading music  (Read 503 times)

0 Members and 3 Guests are viewing this topic.

Peter haroski

  • Guest
Fading music
« on: 15 Jun 2004, 18:38:21 »
How I can fade music in trigger, what do I have to write to trigger?

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Fading music
« Reply #1 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  :)
Not all is lost.