View Single Post
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