I am useing the variables as a timer instead of the timer function because i need it to start at a number instead of counting up. is there a way to get a broadcast send out when the variable reaches 0 for a game over function. PLEEZ HELP IT'S FOR A SCHOOL PROJECT DUE APRIL 30th.
Offline
Is this what you were trying to do?
when gf clicked set [time v] to (120)//or however many seconds you want it to count down from repeat until <(time) = [0]> wait (1) secs change [time v] by (-1) end broadcast [game over v]
Last edited by dr3w8 (2013-04-09 16:15:58)
Offline
Why don't you use the actual timer (because it's more accurate) and set the variable time (which is shown) to whatever time it should start at - the value of the timer, broadcast game over when timer reaches the desired time and make sure to start with the reset timer block.
Offline