[Thread Prev] <
Hi,
"The system announces that there is a mistake"
OK, what is the error message?
Also, the syntax for your "dual" collision detection is:
if (and
touching? "t1 "t4
or 8 = t4's [shape]
11 = t4's [shape])
[t4, ht]
Alain Tougas
alain@xxxxxxx
B: (514) 939-8700 poste 237
Le 07-02-11 à 08:24, zehava wizman a écrit :
Hello Forum!
What is wrong with direct procedure, The system announce that there
is mistake.
Pushing on key no 37 turtle named t1 has to move and while moving
to check if 2 conditions are existed :if t1's turtle meet t4 and
the shape of t1 is 8, the same is with key no. 39.It doesn't do it.
WHY.
I also be glad to know if I want to check wether there is a clash
and the shape is 8 or 11 do I write if (and touching? "t1 "t4 or
shape 8 shape 11)[ t4, ht] are the brackets correct? How I let
the program to know which turtle it has to check t4 or t1 can I do
like this: if (and touching? "t1 "t4 or t1's "shape = 8 t1's
"shape = 11)[ t4, ht]
Sorry for asking too much questions...
thanks, Zehava
Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates.
<touching problem_2.mw2>
Previous by thread:
problem with touching while using keys instead of buttons
To save an attachment to your computer, PC users should right-click (Mac users, click and hold the mouse button) on the link and then choose 'save target as' from the pop-up menu. A window will then pop up in which you can choose a location for the file.
|