c.getPA().walkTo(-1, 0);
or
c.getPA().walkTo(1, 0);
EDIT: just realised what u want... you need to do a check abs, so if they are at / near the KBD gate, it does a diffrent walk to anything else.
|
Code:case 1596: case 1597: if (c.getY() >= c.objectY) c.getPA().walkTo(0, -1); else c.getPA().walkTo(0, 1); break;
thats my code for those type of gates theres gates like that at kbd but with that code ot walks to the right .... but at the other gates with the same id as this they work fine..
I'm just confused
will rep
c.getPA().walkTo(-1, 0);
or
c.getPA().walkTo(1, 0);
EDIT: just realised what u want... you need to do a check abs, so if they are at / near the KBD gate, it does a diffrent walk to anything else.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |