|
| 26 May 2014 12:02 PM |
How do I wait *EXACTLY* 1 second
~masterCameron101, advanced Lua programmer, certified in Photoshop. Have I helped you? Don8~ |
|
|
| Report Abuse |
|
|
Trioxide
|
  |
| Joined: 29 Mar 2011 |
| Total Posts: 32902 |
|
| |
|
|
| 26 May 2014 12:07 PM |
Okay, is there a anything else I could do to get close enough?
~masterCameron101, advanced Lua programmer, certified in Photoshop. Have I helped you? Don8~ |
|
|
| Report Abuse |
|
|
getkoed
|
  |
| Joined: 18 Feb 2010 |
| Total Posts: 2298 |
|
|
| 26 May 2014 12:09 PM |
idk maybe compare ticks while repeating wait() and stop waiting if the difference is 1
but I don't think that'd be any better than wait(1) |
|
|
| Report Abuse |
|
|
|
| 26 May 2014 12:09 PM |
print(wait(1))
--> 1.0073783979802
seems pretty close to 1 to me. |
|
|
| Report Abuse |
|
|
samy22
|
  |
| Joined: 28 Sep 2008 |
| Total Posts: 2181 |
|
|
| 26 May 2014 12:12 PM |
To get as close as possible, in the command bar(and use output)
keep doing print(wait(.991)) --add numbers and remove numbers until you get as close to 1 as possible, this depends on lag btw |
|
|
| Report Abuse |
|
|
samy22
|
  |
| Joined: 28 Sep 2008 |
| Total Posts: 2181 |
|
|
| 26 May 2014 12:14 PM |
| nvm what i said is useless and will barely help seen as it fluctuates a lot |
|
|
| Report Abuse |
|
|
|
| 26 May 2014 12:14 PM |
| ya im glad you pointed that out |
|
|
| Report Abuse |
|
|