View Single Post
  #2  
Old 04-19-2013, 09:34 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Instead of using timer functions you could insert vizact.waittime actions into the avatar's action sequence. The gallery.py world demo (Help -> World Demos) shows an example of that. Also, take a look at task functions, which are useful for controlling program flow.

I'm not sure if one of the vizact.ontimer commands is within a function. Please use the code tags to preserve indentation. If you only want a timer function to be called once, register the function with the ontimer2 command and set the repeats parameter to 0.
Reply With Quote