Thread: Circle Track
View Single Post
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 02-25-2010, 08:33 AM

Quote:
Originally Posted by TaraLaukart View Post
How do I make an object stop moving?

I have an object moving on a loop when I click a button and I need it to stop when I click the other button.

In my words

Make a boolean like X said
Make the loop
Put the loop in a if/else statement
Make sure its at false in the "true" section
make it so when you click the button the false sets to true
So if you if you click the button, if the boolean is treu, it will stop

If you want me to make an example. Ill do it in 5 minutes ok


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote