OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: SpecOp9 on 21 Jun 2003, 16:02:06

Title: Looping music
Post by: SpecOp9 on 21 Jun 2003, 16:02:06
Hi guys,

I have really cool sneaking music, only it is very short..

How can I loop it in game so it replays over and over?
Title: Re:Looping music
Post by: Knut Erik on 23 Jun 2003, 00:52:14
Weeeell... Try this.

#music
PlayMusic "YourMusic"
~HowLongTimeYourSoundLastInSeconds
goto "Music"

See  :P
Title: Re:Looping music
Post by: SpecOp9 on 23 Jun 2003, 23:37:10
Hey that works :D

Thanks
Title: Re:Looping music
Post by: Knut Erik on 24 Jun 2003, 00:04:05
Nice that you're problem is solved. Now if you just can press the "solve topic" button, everyone would be SO happy.
Just look at me

 ;D ;D ;D :) :) :D :D :D :) ;D ;D ;D :) :) :D :D :D :)
 ;D ;D ;D :) :) :D :D :D :) ;D ;D ;D :) :) :D :D :D :)