Game Development Community

1.1.2 Docs > t2dSceneObject::setTimerOn()

by Alex Rice · in Torque Game Builder · 10/01/2006 (8:52 pm) · 0 replies

This member takes Milliseconds not Seconds
Quote:setTimerOn(%timePeriod)
Purpose Sets a timer on the object that, when it expires, will cause the object to execute the onTimer callback.
Syntax %timePeriod - Float
The period of time, in seconds, between each callback.