Random Sample not playing
Hello,
In my main MMF folder, which is just called New Folder on my desktop, I have another folder called "o". I created an event where, when an animation of Object Y is playing, and when the frame of that animation is 8, a random sample should be played. I told it to this this only once when action loops.
So, here's the code I put in after telling it to play a sample file on a specific channel:
"./o/o"+Str$(Random(10)+1)+".wav"
so I put "./l/" to indicate that folder called "o", and I put another "l" so it would choose a random sample out of o1-o12 (o1-o12 are in the "o" folder).
For some reason though, the samples simply do not play. Miht anyone have any recommendations?
Thanks very much.
Re: Random Sample not playing
It looks all right to me, at a glance. I'd suggest putting the same expression into an Edit box to make sure that the path looks as you expect, and performing another (arbitrary) action in that event so that you can see that it's definitely being activated.