PDA

View Full Version : Best way to synchronize avatar actions


mjabon
07-28-2008, 04:05 PM
I know there are a lot of ways to do sychronization in Vizard, like timers and directors, but it is really frustrating that there is no way to know when an action of an avatar is done. Is there any way we could get this feature?

Or is it already possible and do I just not know how?

Thanks!

farshizzo
07-29-2008, 11:15 AM
Are you referring to vizact actions, or built-in avatar animation actions? Either way, Vizard has the ability to detect when these are finished. For vizact actions you can handle the viz.ACTION_END_EVENT. For built-in avatar animation, have a look at viz.ANIMATION_END_EVENT. The documentation has sample code for each event. Let me know if you need a more specific example.