View Single Post
  #2  
Old 08-29-2006, 12:00 PM
betancourtb82 betancourtb82 is offline
Member
 
Join Date: Jan 2006
Posts: 103
Here's something that might help. I had the same problem and was given this solution by someone in this forum.

Code:
def finishedActions(avatar):
 global avatarCount
 if isinstance(avatar,viz.VizAvatar):
  WaitThenFreeze = vizact.sequence( vizact.waittime(avatar.getduration(10)-.85), vizact.speed_node(0) )
  avatar.execute(10)
  avatar.clear(viz.ALL)
  avatar.clear(viz.CURRENT_ACTION)
  avatar.add(WaitThenFreeze) #Add the action to the avatar
Reply With Quote