set (variable) to [#] forever wait [1] secs change (variable) by [1] end
Offline
if (variable) = [0] switch to costume [dead] end
Offline
wjack2010 wrote:
Doesn't work. You can't put variable in an if statement.
oh yeah, the if block is supposed to be a control block, then have a green block with the = sign.
Offline
joletole wrote:
set (variable) to [#] forever wait [1] secs change (variable) by [1] end
I think you mean:
set (variable) to [a number] forever wait (1) secs change (variable) by (-1)
Last edited by Greenatic (2012-03-04 12:46:23)
Offline
set (variable) to (15) //for example repeat until <(variable) = [0]> wait (1) secs change (variable) by (-1)
Offline
scimonster wrote:
set (variable) to (15) //for example repeat until <(variable) = [0]> wait (1) secs change (variable) by (-1) end broadcast [end v]
Last edited by funelephant (2012-03-04 13:40:30)
Offline
scimonster wrote:
set [variable v] to (15) //for example repeat until <(variable) = [0]> wait (1) secs change [variable v] by (-1)
Fixed it a bit
Offline
joletole wrote:
set (variable) to [#] forever wait [1] secs change (variable) by [1] end
Do this but since you want ime counting down change it by -1
Offline
mattlai2 wrote:
a1130 wrote:
scimonster wrote:
set [variable v] to [15] //for example repeat until <(variable) = [0]> wait (1) secs change [variable v] by (-1) endFixed it a bit
Fixed it a bit.
Oops, sorry
Offline