PDA

View Full Version : cancelling move()?


projectigi
09-25-2006, 09:33 PM
Is there any way to cancel a given move()?
like
move(10,0,20,16);
and after 5 secs i want to stop it from moving and move into another dir =/
any way ot do this?

Yen
09-25-2006, 09:39 PM
x = x;
y = y;

projectigi
09-25-2006, 09:56 PM
ah thanks
thats what i was looking for

xXziroXx
09-26-2006, 01:55 AM
I always do move(0, 0, 0, 16); when I want to cancell a move.

ApothiX
09-26-2006, 04:17 PM
You don't need both x=x and y=y. x=x will suffice.

I always do move(0, 0, 0, 16); when I want to cancell a move.
Depending on what flags you have the previous move call set with, that may let the move continue, and do that afterwords.