CLEO Help Simple way to measure time?

CLEO related
Status
Not open for further replies.

monday

Expert
Joined
Jun 23, 2014
Messages
1,125
Reaction score
149
I'd like to make a condition like:

start stopwatch
if
3 seconds passed
then

Is there any simple opcode to check if specific time has passed?
 

0x_

Wtf I'm not new....
Administrator
Joined
Feb 18, 2013
Messages
1,118
Reaction score
166
Use the lazy opcode way (wait).

or
Code:
01BD: $5284 = current_time_in_ms

Then save the time started, then on a loop do it again and make endtime - starttime > then you have the difference in ms (3000ms > 1 second)
 
Status
Not open for further replies.
Top