I have an event where I every 0.2 seconds set a sound to it's own volume -1db to fade it out, but only do this if the volume does not equal to -40. The fading away of the sound works, but it wont stop when it equals -40.
So it looks like this:
- Every 0.2 seconds
- tag "song" is playing
- audio.volume("song")≠ -40
set volume to Audio.Volume("song") - 1
set text to Audio.Volume("song")
I can see in the text object that it just keeps going past the -40.
Not sure why it does this. Does anyone have any tips or insight on this?