View Single Post
Senior Member
dakota95's Avatar
Status: Offline
Posts: 426
Join Date: Aug 2011
Location: like I would tell you. ;)
Default 04-11-2012, 08:52 AM

use a number variable. make it so that at the end of one of your methods it changes the number to "5(it doesnt matter which number)" then make a movement method that says "'if' number variable is '5' then move wherever" then at the end of this movement tell it to change the number variable to "6(it just has to be different than the other number i.e. 5)" The way it will work is that as soon as the method is over the variable will make it so that you can move. But as soon as you move then the variable will be different that the "if/else" statements requirements making it so that you cannot move.

Reply With Quote