View Single Post
  #4   Spotlight this post!  
Unread 15-02-2008, 00:11
taggartbg taggartbg is offline
Registered User
FRC #1712 (Dawgma)
Team Role: Electrical
 
Join Date: May 2005
Rookie Year: 2006
Location: Lower Merion, PA
Posts: 38
taggartbg will become famous soon enoughtaggartbg will become famous soon enough
Send a message via AIM to taggartbg Send a message via MSN to taggartbg Send a message via Yahoo to taggartbg
Re: Looking for help with creating a timer.

use a "wait" function in the code

if(button){
do thing one;
Wait(3000);
do thing two;
}

The value inside the "wait" function is in milliseconds, so the above code would pause for 3 seconds between thing one and thing two.