Something like this...
[blocks]
<when green flag clicked>
<wait until> <( <{ MyVar }> <=> 5 )>
<broadcast[ DoSomething }>
[/blocks]
Then, in the object that you want to react...
[blocks]
<when I receive[ DoSomething
[/blocks]
etc.
Last edited by BoltBait (2009-04-21 14:20:05)
Offline
You can also try something like this:
When Green Flag Pressed
forever if (variable) = 5
(insert whatever you want your sprite to do here)

Offline
In the Looks block, there is a rounded block called (costume #), and this corresponds to the number of the costume next to each costume in the costume tag. Assume you the costume # is 7.
When I receive (broadcast)
if (costume #) = 7
(insert whatever you want your sprite to do here)

Offline