[Thread Prev] [Thread Next]
On Thu, 20 Mar 2008 01:33:36 -0500, zehava wizman <zehavawi1@xxxxxxxxx> wrote:
> Hello Forum!
> I have a problem with touching? instruction , When 2 turtles are meeting
> one point has to be added or subtruct (according to the turtles) to textbox,
> It identify the meeting, but add some points in one meeting, even if the
> touching ended. WHY?
> here attached the example.
> thank, Zehava
>
because the test is carried out every time the turtles move:
to go
forever [ask [t2 t3] [seth 270 fd 10 wait 0.3] test]
end
and every time the turtles are touching the counter is increased.
Daniel
OpenWorld Learning
Previous by thread:
problems with "touching" instruction
Next by thread:
Re: problems with "touching" instruction
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.
|