WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   make an action to be executed every 5 minute (https://forum.worldviz.com/showthread.php?t=1147)

michelcm3 07-16-2007 03:08 AM

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.

farshizzo 07-16-2007 09:16 AM

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)


All times are GMT -7. The time now is 06:22 AM.

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