Would EventDescription::isOneshot() work for you? Event’s with a loop region will return false.
- Indeed that's how I was trying... but for some reason if an event instance from a Description is already playing and I try to get the description again (with StudioSystem.getEventByID()) sometimes the isOneshot was returning true, and some time false. I think it might be a bug. For now I'm caching the isOneShot at the beginning and then it works as expected. Thanks.
- You must login to post comments
Please login first to submit.