Looping Audioemitters
by Billy L · in Torque Game Engine · 06/27/2004 (5:06 pm) · 0 replies
Hi all
Some info about how to get the maxdistance update on looping audioemitters to work.
The most important thing is the loopcount, if you set the loopcount to -1 then update will never happen.
So to make the emitter update the maxdistance you must set the loopcount to a value bigger the -1 .
so for a emitter that loops all the time set 100000000 or something then it works.
This is tested in head and i think you never reach the 100milj limit.
Some info about how to get the maxdistance update on looping audioemitters to work.
The most important thing is the loopcount, if you set the loopcount to -1 then update will never happen.
So to make the emitter update the maxdistance you must set the loopcount to a value bigger the -1 .
so for a emitter that loops all the time set 100000000 or something then it works.
This is tested in head and i think you never reach the 100milj limit.