0
0

How to set event loop mode/count via code before i started to play sound?

  • You must to post comments
0
0

Hi Dimka, welcome to the forums!

The sound wont start playing until you call Event::start(). So you can call EventSystem::getEvent and then set properties like loop mode, and then call Event::start().

  • You must to post comments
0
0

[quote:vmbrrsfl]Hi Dimka, welcome to the forums![/quote:vmbrrsfl]
Thx :)
[quote:vmbrrsfl]The sound wont start playing until you call Event::start().[/quote:vmbrrsfl]
I know :)
[quote:vmbrrsfl]and then set properties like loop mode[/quote:vmbrrsfl]
Can u show me code example?

  • You must to post comments
0
0

Good question, after looking into this a little more, this may be a little more involved than just setting a property. Events can’t loop but their sound definitions can. Before going into depth, what exactly are you trying to achieve by setting it at run time?

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.