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: tcwalsh@xxxxxx
Subject: Re: MIA, Ask an Expert: RESET PROCEDURE
From: Alain LCSI <alain@xxxxxxx>
Date: Wed, 20 Jan 2010 19:13:19 -0500

Hi,

There are several ways, as usual. Here's a few. All the names are random:

to reset
ask "t2 [setpos [100 0]]
ask "t3 [setpos [100 50]]
end

or create a turtle variable called homebase: type this in the commands center:
createturtlevar "homebase

Then place all the turtles at the desired position and have them remember that
in their own turtle variable. Type this in the commands center:
everyone [sethomebase pos]

Now you can use this reset procedure

to reset
ask "t2 [setpos homebase]
ask "t3 [setpos homebase]
end

or this one

to reset
everyone [setpos homebase]
end



Le 2010-01-20 à 15:15, askanexpert@xxxxxxxxxxxxxxxxxxxxxxxxxxxx a écrit :

> This is an automatic message sent from the web form at:
> http://mia.openworldlearning.org/mwforum.htm
> 
> from: THEREse Walsh <tcwalsh@xxxxxx>
> date: Wed Jan 20 13:15:41 2010
> platform: Mac OS10
> version: MicroWorlds Ex
> 
> TRYING TO CREATE A  RESET PROCEDURE WHERE  ONLY TWO TURTLES RETURN TO A  SET
> POSITION. ALL OTHER TURTLES REMAIN WHERE THEY ARE.
> 
> 
> 
> 




  • Previous by thread: MIA, Ask an Expert: RESET PROCEDURE
  • Next by thread: pack a large project

  • 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