timertask

Defines a block of ogScript to be run when a timer goes off. The timer must be in the same scope as the timertask. The text content of the tag contains the actual ogScript to be executed.

Syntax

<container>

  <timer id=”timer-id/>

  <container>

        <container>

                  <timertask tasktype="task-type" timerid=”timer-id>

ogScript Code

</timertask>

         </container>

  </container>

</container>

Attributes

Tag

Values

Restrictions

Description

tasktype

*ogscript

robot

vdcp

rosstalk

ogparamset

timercontrol

 

This attribute tells the editor user interface what type of task is contained in the tag body.  Manually-edited tasks should simply use ogscript.

timerid

String

Must match the id attribute of a timer tag accessible in this tasks’s scope.

Defines the ID of a timer to fire this timertask.  This allows a timer to be defined at the document root but perform actions on elements defined much deeper in the document structure.