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.

Author
Message
stann65
20
Years of Service
User Offline
Joined: 3rd Feb 2004
Location: england
Posted: 6th Apr 2004 01:22
hi all,

In DBC is it possible to use a timer for things like if the mouse isn't click in 20 seconds something happens or after 3 seconds something moves.?

If so can you please post the required coding for it.

thanks

BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 6th Apr 2004 01:43
Store the start time in a variable:

Now = Timer()

Then check it until it reaches your desired delay...



This will check for a 20 second delay.

BatVink (formerly StevieVee)
http://facepaint.me.uk/catalog/default.php
stann65
20
Years of Service
User Offline
Joined: 3rd Feb 2004
Location: england
Posted: 6th Apr 2004 13:34
thanks batvink

Login to post a reply

Server time is: 2024-11-26 12:27:00
Your offset time is: 2024-11-26 12:27:00