WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 07-16-2007, 03:08 AM
michelcm3 michelcm3 is offline
Member
 
Join Date: Jul 2007
Posts: 13
make an action to be executed every 5 minute

I used to work with viz.FOREVER when I want an action to be executed every time but now I want that parlticular action to be executed only every 5 minutes how should I do.
Reply With Quote
  #2  
Old 07-16-2007, 09:16 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

You can use the vizact.waittime action to insert a pause between actions. For example, if you wanted to have an action perform every 5 minutes, you would do the following:
Code:
ActionEvery5Min = vizact.sequence( MyAction, vizact.waittime(300), viz.FOREVER)
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 09:21 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC