while(T in view(1,src))
How do make this so that it keeps doing whatever while the obj T is NOT in view of src. Basically i just want it so that, as soon as the obj is 1 space away from src, the while loop stops.
Please help, thanks in advance.
ID:155071
Sep 27 2011, 3:32 pm
|
|
while(T in view(1,src)) How do make this so that it keeps doing whatever while the obj T is NOT in view of src. Basically i just want it so that, as soon as the obj is 1 space away from src, the while loop stops. Please help, thanks in advance. |
Sep 27 2011, 3:36 pm
|
|
In response to Megablaze
|
|
thank you very much, i knew i had to place that operator, but i didn't know where or how.
|