Realm Relay scripting help (newbie)
OK so as I understand it, the code I have here (pieced together from various tuits and the help file and whatnot) should print the player X and Y whenever you move.
But it doesn't.
What am I doing wrong?
But it doesn't.
What am I doing wrong?
Code:
var ID_MOVE = $.findPacketId("MOVE");
function onClientPacket(event)
{
var packet = event.getPacket();
if (packet.id() == ID_MOVE)
$.echo("MOVE : " + packet.newPosition.x + " " packet.newPosition.y);
}

