Hey guys. I was thinking that there should be a "repeat until i receive...." or somthing in sencing that was like this <touching[ exept said "i receive" because it would be more convienient for a lot of things. I've been thinking about this since ver. 1.2.1. what are your opinians and can it be done? thanx
Offline
Variables can do this for you.
You could have a "repeat until <Variable = stop>"
Put what you want to happen in that,
It will do that until "Variable" is set to 'stop'.
then have another script that does some things then has: "Set Variable to 'stop'."
when that happens that part in the first script will stop.
Does this make sense?
Here's more about variables: http://scratch.mit.edu/forums/viewtopic.php?id=1346 you can read.
Or if you want it to do that until it's touching something. replace the <Variable = stop> with <touching "whatever sprite" ?>
Offline