View Single Post
  #3  
Old 12-04-2007, 11:12 AM
Uttama_vizard Uttama_vizard is offline
Member
 
Join Date: Sep 2007
Posts: 60
Prioritizing events

My code is:

def mykey(key)
if key ==' ':
#perform some animation of an avatar (such as speaking)
male1.addAction(speech)
#Then starts the sequence of conversation exercise
choices = ["Hi..."]
answer = viz.choose("......",choices)
if answer == 0;
choices1 = ....


and this continues

viz.callback(viz.KEYBOARD_EVENT,mykey)

When I am running the above code, first my interaction boxes are appearing and then the animation of the Avatar. What I actually want is first the animation of the Avatar and then the sequence of conversation interaction.

Thanks
Reply With Quote