Is it possible to have a looping sound source activated only if the user is moving?
yes
you can probably use some object info datasource(speed) and if its higher than 0 you let the sound loop
Thanks, I'll give it a shot later - It sounds simple enough, but if I have any problems I'll edit this post
Help! I did find a solution, but it's only temporary..
click
I could be wrong but I think the generic filter needs an interval trigger to work? (at least on pc) But I think that will just restart the sound every impulse that's send. Maybe that's what's happening here.Originally Posted by scottie1230
Maybe you can just adjusting the volume.
The filter DOES need an impulse to be used, set it to every tick and you will be fine.![]()
If you put an interval trigger there you probably won't hear anything because it will continuously trigger the sound source on. Try this: Take and set up one speed datasource like previously. Then place 1-input operator and pick the speed data source for its input value and set type to Abs. Then place a two-input operator and pick operator 1 value from the 1-input operator, set operator 2 to 200 and type to "greater equals". Then open the sound source and pick the two-input operator value to "enabled" value. Now whenever the speed is over 200 in either direction the sound source should turn on.
You could keep the looping source constantly playing and just set up a filter that changes the volume to 0 if the speed equals 0, and back to 100 if it's greater than 0, that way the impulses won't mess with the sound source, and you could even make it fade in and out.
Thanks for taking the time to respond guys!![]()
I won't be in the editor tonight - So if I have any problems I will just bump this thread later in the week. Thanks again!