Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → hi, what I was wondering is if the timer message and the sleep verb
hi, what I was wondering is if the timer message and the sleep verb
2003-01-17, 10:16 AM #1
hi, what I was wondering is if the timer message and the sleep verb use the same time EXACTLY. Because: a cog I have written needs exact timing. Many parts of it wait with the sleep verb...but the timing is just off slighly to the eye(which ruins it) I thought maybe I could rewrite it with timers instead of sleep(). Well, I just dont know if its worth rewriting if the same time problem results occur.
2003-01-17, 11:43 AM #2
Sleep is 3vil. Use timers. Your question is interesting though: Does Jk use the same timing for Sleeps, Timers and Pulses?

------------------
"Häb Pfrässe, süsch chlepfts!" - The coolest language in the world (besides Cherokee)
"Häb Pfrässe, süsch chlepfts!" - The coolest language in the world (besides Cherokee)
2003-01-17, 11:53 AM #3
Timers and pulses run on the same clock, I believe, however sleep seems to be counted differently.
Cordially,
Lord Tiberius Grismath
1473 for '1337' posts.
2003-01-17, 1:44 PM #4
If it is counted differently, then could it be slightly different time. I mean to say in a difference as mynoot as .001 seconds or even less?
2003-01-17, 2:23 PM #5
JK handles timing strangely. 0.0001 seconds isnt always 0.0001 seconds. One cannot be absolutely precise with JK. However, Timers pulses and sleeps all use the same inputs; seconds. There should be no difference in how long JK waits.

And yes, convert it to Timers. Only use Sleep when there is no chance of the message being called again in the time JK has to wait.
And when the moment is right, I'm gonna fly a kite.
2003-01-17, 8:04 PM #6
Thanks. I've been trying to make a sky backdrop that sweeps by like going through a wormhole. And it ALMOST works. Darnd that Jedi Knight time!

↑ Up to the top!