#Posture isnt waiting 2 seconds before starting regeneration

20 messages · Page 1 of 1 (latest)

nova crag
#

you're forgettubg ti reset lastpostureusage

#

oh ye

#

oh

#

lastpostureusage - tick()

safe glen
#

i'm pretty sure u need to do differential

#

yeah

#

cuz tick by itself is like seconds since jan 1st 1970 or something like that blah blah

#

also i always use os.clock instead of tick allegedly it's more accurate and consistent

#

tick is a pretty old function

#

yeah clock is like super accurate compared to tick

wary adder
#

its basically the same

gilded kernel
#

os.clock() being better than tick() is just task.wait() being better than wait()

#

use os.clock()

wary adder
#

thats wrong

#

they're the same

safe glen
#

no tick() is time since jan1 1970 while os.clock() is the amount of time code has been running for, while also running a finer increment

#

for example tick could be manipulated by changing the computer's date/time settings while clock cant

wary adder
#

that wouldnt change anything

#

the difference between tick and os.clock is miniscule