:trollface:
What is the Object you are clicking when you are trying to come back across?
It shouldn't be the same as the going over.
|
|
the problems areCode:case 23271://wildy ditch if (c.absY <= c.objectY){ c.startAnimation(2750); c.getPA().movePlayer(c.objectX, c.absY + 3, 0); } else if (c.objectY < c.absY) { c.startAnimation(2750); c.getPA().movePlayer(c.objectX, c.absY - 3, 0); } break;
#1 it will jump over to the wildy but dose not want to jump back .....
i would like you to test it before you post......
and yes this covers the whole wildy ditch add this if you want to see what im talking about
:trollface:
What is the Object you are clicking when you are trying to come back across?
It shouldn't be the same as the going over.
it is lol...its the same object lol

Code:case 23271://wildy ditch if (c.absY <= c.objectY){ c.startAnimation(2750); c.getPA().movePlayer(c.objectX, c.absY + 3, 0); } else if (c.objectY => c.absY) { c.startAnimation(2750); c.getPA().movePlayer(c.objectX, c.absY - 3, 0); } break;

k should workcase 23271://wildy ditch
if (c.absY <= c.objectY){
c.startAnimation(2750);
c.getPA().movePlayer(c.objectX, c.absY + 3, 0);
} else if (c.objectY => c.absY) {
c.startAnimation(2750);
c.getPA().movePlayer(c.objectX, c.absY - 3, 0);
}
c.getPA().requestUpdates();
break;
| « [pi] Player Dialogue Help [pi] | Making unreachable NPC click work » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |