OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Hate 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 ????
:-[
-
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. ???
-
What's the problem?
???
...fade it out at the loadout
somethin' like :
10 fademusic 0
~10
-
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
-
will try
Thanks :-[
-
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
-
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.