ah, understood. but, how does
ABS take care of the
timer() rollover? and, when does
timer() roll over? docs state
timer() returns integer and max integer = 2,147,483,647. is this where it rolls or is it some other value (ie, 1,000,000,000)?. it seems that
ABS and the method posted, while it will return a positive value, will still allow a massive value when
timer() rolls over.
in your code example, if flast# = whatever the max value of
timer() can be, give or take, and it rolls over, then:
if
timer() = 1 and flast# = 2147483647 then diff# = 2147483646 = massive problem.
is it, then, best practice to check that
timer() > flast# every loop?
edit: apparently my sig was 4 pixels too tall. replaced
and, what mod is running around with that precise of a ruler? heh.