Home
Project Folders
Teacher Resources
Student Resources
How Do I?
Literacy
MWForum
Site Map
Search
Our Team

MWForum Message [Date Index] [Threads] [Authors] [Attachments] [Subscribe]

[Thread Prev] [Thread Next]

To: MicroWorlds Forum <mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: MIA, Ask an Expert: Reacting to the clone of a certain turtle
From: Griffin <swanson6748g@xxxxxxxxxxxxxx>
Date: Mon, 24 Jan 2011 20:53:30 -0800
Gaggle-server: web5.gaggle.net

But it is impossible to derive the name of the cloned turtle, and furthermore which turtle it was cloned from, using programming alone.





From: Daniel Ajoy <da.ajoy@xxxxxxxxx>
Sent: Mon Jan 24 20:33:07 PST 2011
To: MicroWorlds Forum <mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [MWForum] MIA, Ask an Expert: Reacting to the clone of a certain turtle

> from:
> date: Mon Jan 24 19:58:26 2011
> platform: PC
> version: MicroWorlds Ex
>
> I want to make it so that the clone of one turtle (bullet) does not register in onTouching when in contact with a clone of the same turtle (bullet), but I do want it to register when in contact with a clone of a different turtle (enemy).

try using:

if not touchedturtle "cloneName [actions actions]

as the OnTouching rule.

where cloneName is the name of the clone turtle.

Daniel
OpenWorld Learning

_______________________________________________
MWForum mailing list
MWForum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
http://mia.openworldlearning.org/mwforum.htm


  • Previous by thread: MIA, Ask an Expert: Reacting to the clone of a certain turtle
  • Next by thread: Re: MIA, Ask an Expert: Reacting to the clone of a certain turtle

  • 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.


    © copyright 2001 - 2008