Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Thread Tools Display Modes
Prev Previous Post   Next Post Next
While __ is pressed and stopping a loop?
Posts: n/a
Default While __ is pressed and stopping a loop? - 04-18-2010, 08:52 PM

In the example world flightSimulator, some of the events it has is "while arrow is pressed....", how did they do this?

Also, I have made a world where if this character gets close to another object, the object moves the distance to the character (through looped "object distance to character"). How could I end this loop when the character hits the object with something? The character may not always hit the object, and if it doesn't, I still want it to reach the character.
Hope that all made sense, thanks for any help.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Copyright ©2018, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.