Does the timer count up, or down? I'm trying to get it where you can hold down a key, but the shot will happen only once every half a second. I was going to use a timer, and when the timer expired, a shot would happen. I just need to know what to look for :
<sudo code>
if (the timer reaches 0)
{
create the shot;
}