Answered
0
0

Hello guys, quick question:

Is there any way of checking if an event (vis it’s instance or descriptor) has any loop region?

  • You must to post comments
Best Answer
0
0

Would EventDescription::isOneshot() work for you? Event’s with a loop region will return false.

  • Filipe Silvestrim
    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 to post comments
Showing 1 result
Your Answer

Please first to submit.