Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   cancelling move()? (https://forums.graalonline.com/forums/showthread.php?t=68961)

projectigi 09-25-2006 09:33 PM

cancelling move()?
 
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.

Quote:

Originally Posted by xXziroXx (Post 1222334)
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.


All times are GMT +2. The time now is 07:52 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.