Home   Help Search Login Register  

Author Topic: Music script for Heli ride ???????  (Read 568 times)

0 Members and 1 Guest are viewing this topic.

Hate

  • Guest
Music script for Heli ride ???????
« on: 03 Mar 2004, 19:23:10 »
PLEASE...........
                       Can you give me an example of how I can start a song at a heli load ....  and stop at a heli transport unload !!!!!!!!!!!

been trying for a week and it`s p*****g me off BIGtime!!!

pretty please ????

 :-[

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re:Music script for Heli ride ???????
« Reply #1 on: 03 Mar 2004, 21:39:00 »
I know what you mean man I tried it with "A hard day's night" by the Beatles.
I tried for ages.
Please could someone help us. I believe that both of us can start the track but not have it stop. Correct me if I'm wrong.  ???
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."

Offline Blanco

  • Former Staff
  • ****
Re:Music script for Heli ride ???????
« Reply #2 on: 03 Mar 2004, 22:15:32 »
 What's the problem?
 ???
...fade it out at the loadout

somethin' like :

Quote
10 fademusic 0
~10
Search or search or search before you ask.

Offline alimag

  • Contributing Member
  • **
  • I'm a llama!
Re:Music script for Heli ride ???????
« Reply #3 on: 06 Mar 2004, 22:57:57 »
Hi,

Just put this in the init field of the chopper:

this adEventHandler ["getin", {this removeAllEventHandlers "getin";playMusic "TRACK"}]; this addEventHandler ["getout", {this removeAllEventHandlers "getout";0 fadeMusic 0}]

Just replace TRACK with the class name of your music.

Cheers

Hate

  • Guest
Re:Music script for Heli ride ???????
« Reply #4 on: 07 Mar 2004, 21:04:31 »
will try

Thanks :-[

Hate

  • Guest
Re:Music script for Heli ride ???????
« Reply #5 on: 07 Mar 2004, 21:26:23 »
It works !!!!!!!!!!!!!!!!!!!!

I am forever in your debt
I`ve been asking for this help for f*****g ages!!!!!!!!!!!!

Thankyou VERY much you are a GOD!

Hate

SandVoss

  • Guest
Re:Music script for Heli ride ???????
« Reply #6 on: 06 May 2004, 16:04:13 »
There is actually a much easier way of solving this problem... Get the music to start in the 'Load' waypoint by going into that sounds&cameras menu of the waypoint, and select your music there in the pulldown menu. Then, at the "unload" waypoint, simply replace the music in the pulldown menu with "no music", or silence.