I've rummaged through the wiki. I've searched through the forums.
I still don't have any solid information of how to check whether a sound is playing.
I need some sort of boolean that will return true or false in accordance to a sound being played or not.
I've been trying to use "Source:isPlaying" only to have it return as the error: attempt to call method 'isPlaying' (a nil value)
I'll accept any tutorial links with relevance!
How do I check if a audio source is playing or not?
-
- Prole
- Posts: 7
- Joined: Sun Nov 25, 2012 4:19 am
How do I check if a audio source is playing or not?
-GalacticPixelStudios
Re: How do I check if a audio source is playing or not?
So I suppose you've checked the wiki, but not carefully enough. That's because there's no "isPlaying". There's only "isPaused" and "isStopped". If sound is not stopped and is not paused, then it's played, by definition.
Re: How do I check if a audio source is playing or not?
the isPlaying will first arrive in 0.9.0 make sure to read before posting and this is also the wrong forum (post in support & dev)
Who is online
Users browsing this forum: No registered users and 2 guests