I have a song I need to play through only once and not immediately repeat. Is there a way to do this?
Jonathan
Quote from: homey3 on Sat 07/08/2004 09:30:52
I have a song I need to play through only once and not immediately repeat.Ã, Is there a way to do this?
Jonathan
Hmmm. Not sure. But you could always play it back as a wave or mp3 sample).
I just saved it as a sound effect and did it that way. It works at least.
Look up the manual, for text script command "SetMusicRepeat":
SetMusicRepeat
SetMusicRepeat (int loopflag)
Tells the system whether to repeat background music tracks. LOOPFLAG is either 1 (repeat, default) or 0 (don't repeat).
This function must be called BEFORE PlayMusic - it sets whether future music tracks will repeat or not.
Example:
SetMusicRepeat(1);
will loop the background music.
See Also: SetMusicVolume