Hard Light Productions Forums
Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: Belisarius on May 03, 2013, 03:57:18 am
-
Hi guys. I hope I'm in the right subforum.
I've made a small test mission and everything works out just fine for except one thing. I wanted to play a custom music during the mission, but the play-sound-from-file SEXP doesn't seem to work. The music file is named hbr.ogg and so I named it in the SEXP 'hbr' and made it loopable by entering a loop amount of 5. I've put the file in data/music, but the file won't play. The event is bound to the player Alpha 1 arriving. Here the SEXP:
(http://www.2x-pensive.de/beli/pics/psff.jpg)
Could anyone please tell me what I'm doing wrong?
-
Try just setting it to true or has-time-elapsed 1 and see what happens.
-
Yeah, that did it. Thought it could be tied to the players arrival.
-
Alpha 1 will never arrive because when the mission starts, Alpha 1 is already there.
-
Ah, ok. I didn't know that.
Thank you very much!