Home   Help Search Login Register  

Author Topic: Music Truble  (Read 436 times)

0 Members and 1 Guest are viewing this topic.

Offline Flauta

  • Members
  • *
  • There is no knownledge, that is no power
    • Chek mi FLog
Music Truble
« on: 02 Feb 2005, 19:07:31 »
Hi there, Im making a mission that uses lots of ambient songs...  ::)
but i dont know if it is maybe possible to ;D ;D:
*Start/Stop Music whenever a Tigger is activated
*Reduce, Incrase Music Volume Whit a tigger or an action...

Im newbie on scripting :-\... but i get it a little whit Description.ext so tell me!!!!

Tanks Anyway ;)

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Music Truble
« Reply #1 on: 02 Feb 2005, 20:04:16 »
Look in the Editor's Dept. - Online references - Commands

Look for musicVolume and fadeMusic

O Neil

  • Guest
Re:Music Truble
« Reply #2 on: 04 Feb 2005, 07:00:18 »
Hey

To start music, either choose it in the trigger or in the init field type   playmusic "track1"   or whatever. To end it, do what I do, just fade the music out using   5 fademusic 0    . Five being the time it takes to fade out, zero being the volume (0-1 one being the loudest).

Then when you goto start a new peice of music, choose the music or type   playmusic "track2" and the type 0 fademusic 1.

eg:

To fadeout:

5 fademusic 0

To start a new track:

Playmusic "track2"; 0 fademusic 1

(O'Neil