I know its noobish... but I searched over the forum but coundt find it.

Simple thing, I want add 1 to the variable every second BUT without using stuff like, sleep or wait(-1) or total_secs.

here´s the example:
Code:
var seconds;
...
while(1)
{
seconds += ?? ; 
wait(1);
}


I´ve tried stuff like 'seconds = time_step/16' and 'seconds = time_frame/16' but its not acuratte at all.

help?

Last edited by DestroyTheRunner; 08/25/08 21:02.