How To Setup Timers E-mail
Supplemental Object Documentation

1. Overview

The timer is a synchronization object whose state is set to stopped when the specified time arrives.

2. Methods

 Stopped <boolean>

Stopped is the primary method for judging time, and determines if the timer is on or off.

3. Properties

 Interval <single>

Interval is a property value between 1 and 65,535 that specifies the timer interval in seconds.

4. Example

The following example is based upon the engine being initialized at which point a timer is started, governed by the interval and stopped.

' Game Basic 3D Engine Build 4096
' Copyright © Monarke Studios. All Rights Reserved.
 
Private Timer As New GameBasic3D.Timer
 
' Engine.Initialize
 
Do
 
    If Timer.Stopped Then
 
       Timer.Interval = Seconds
 
        ' Preform Action
 
    End if
 
Loop
 
' Engine.End
 
Set Timer = Nothing

5. Disclaimer 

Please note that the objects, and other various effects that can help extend the example are not entirely present but assume you're already familiar working with them. Please refer to the other online content, and technical reference included with the installation for further documentation.