Author Topic: play-sound-from-file plays... nothing?  (Read 1338 times)

0 Members and 1 Guest are viewing this topic.

Offline Belisarius

  • 27
  • Fastest Composer in the West
    • Steam
play-sound-from-file plays... nothing?
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:



Could anyone please tell me what I'm doing wrong?

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: play-sound-from-file plays... nothing?
Try just setting it to true or has-time-elapsed 1 and see what happens. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 
 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: play-sound-from-file plays... nothing?
Alpha 1 will never arrive because when the mission starts, Alpha 1 is already there.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]