Page 1 of 1
Infinite sound loop
Posted:
Wed Jan 03, 2007 12:58 am
by GreenGame
When I enter a 0 for the loop count in the PlaySound script, I get an error saying "Invalide loop count"
Also, even though I select PlaySound, Global Code Editor keeps entering PlaySound2.
Posted:
Wed Jan 03, 2007 1:30 am
by Game A Gogo
its normal if it enters it as playsound2, and GE doesn't support infinite sound/music loop, use the max value of 650000 should be enough to simulate an infinite loop!
Posted:
Wed Jan 03, 2007 2:50 am
by GreenGame
So is that an error in the tutorial that a loop of 0 is an infinite loop?
Thanks for responding.
Posted:
Wed Jan 03, 2007 1:25 pm
by makslane
My mistake, sorry.
I will fix the infinite error message in the next version.
For now, you can use infinite loop if call the play functions in a script.