Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / is there a way to time an input response?

Author
Message
David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 16th Jun 2009 15:25
to see how long the player takes to answer??

if so how??
Serial Velocity
16
Years of Service
User Offline
Joined: 24th Aug 2008
Location:
Posted: 16th Jun 2009 15:38 Edited at: 16th Jun 2009 15:40
Its quite easy, simply record Timer() before input and the same when the user is finished, then subtract the time at the start from the time at the end.

However Timer() records in Milliseconds so dont forget to divide the result by 1000 if you want seconds returned.

Example:


Login to post a reply

Server time is: 2024-11-25 04:32:47
Your offset time is: 2024-11-25 04:32:47