The Dink Network

Reply to Re: Getting Dink to walk to a location

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
March 6th 2012, 10:26 AM
wizardb.gif
Kyle
Peasant He/Him Belgium
 
Alright, so the way it works is this:

&dinkx = sp_x(1, -1);
&dinky = sp_y(1, -1);

if (&dinkx > 200) // Dink is now on the right side of the desired point
move(1, 4, 200, 1);

if (&dinkx < 200) // Dink is now on the left side of the desired point
move(1, 6, 200, 1);


Do the same for the y-coordinate. Does this make sense?