Every
Every

Returns TRUE from the given start time every given time period.

bNow = myTime.Every( Delay, Start_Time )
bNow = myTime.Every( Delay )

Return value
TRUE if the current time matches the request, otherwise FALSE.

Parameters
  • Delay
    Delay between returning TRUE. In milliseconds.
  • Start_Time
    Time to begin from.
Comments

If delay is set to 1000 and Start_Time is unset or 0, this will return TRUE every second from the start of the frame. If Start_Time is 500, this will return true at the 0.5 seconds, 1.5 seconds, etc.

See also
Time:FrameTime



JAM © 2005 no one in partiular
Project started by David Evans in 2005