Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Fading music  (Read 680 times)

0 Members and 1 Guest 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.