Page 1 of 1
					
				The command: NewMoveXY.............
				Posted: 10.12.2012 15:15
				by TheEnd
				Code: Select all
Program New;
const
  questCoordsX = 7040;
  questCoordsY = 376;
  
  actionDelay = 575;
  
begin
 //Body of Script 
   while ((GetX(self()) <> questCoordsX) or (GetY(self()) <> questCoordsY)) do
  begin
    while IsGump do CloseSimpleGump(0);
    NewMoveXY(questCoordsX, questCoordsY, True, 0, True);
    Wait(actionDelay);
  end;
end.
with this code, if someone in the position(7040,376), my Char cant go to the Coords(7040,376).
help~~!
is there any method to ignore somebody standing Coords? so i can go to the Coords.
 
			
					
				Re: The command: NewMoveXY.............
				Posted: 10.12.2012 15:49
				by chernysh
				Try to use SetGoodLocation(X,Y). It will be mark point as walkable without any checks.
			 
			
					
				Re: The command: NewMoveXY.............
				Posted: 10.12.2012 17:02
				by Crome696
				chernysh wrote:Try to use SetGoodLocation(X,Y). It will be mark point as walkable without any checks.
I noticed that when you are on a different layer, that it stucks a bit.
 
			
					
				Re: The command: NewMoveXY.............
				Posted: 10.12.2012 21:02
				by Vizit0r
				
			 
			
					
				Re: The command: NewMoveXY.............
				Posted: 10.12.2012 21:59
				by TheEnd
				
 in pascal,  any other method  to complete this funcion?
 
			
					
				Re: The command: NewMoveXY.............
				Posted: 10.12.2012 22:04
				by TheEnd
				chernysh wrote:Try to use SetGoodLocation(X,Y). It will be mark point as walkable without any checks.
with this Procedure SetGoodLoacation cant compiled.
[Error] :  Unknown identifier 'SetGoodLocation'
            : Compiling failed
PS: Win7 Ultimated, x86
 
			
					
				Re: The command: NewMoveXY.............
				Posted: 10.12.2012 22:42
				by Lonny
				try this
MoveThroughNPC := 0;
			 
			
					
				Re: The command: NewMoveXY.............
				Posted: 10.12.2012 23:09
				by Vizit0r
				Lonny wrote:try this
MoveThroughNPC := 0;
it's PS edition.
For Python will be
 
			
					
				Re: The command: NewMoveXY.............
				Posted: 11.12.2012 9:00
				by TheEnd
				Lonny wrote:try this
MoveThroughNPC := 0;
It works now, thanks!
also thanks for all of kind replies.