Quote:
Originally Posted by Skyld
Having difficulty reproducing this: Polygons on layers 3 or below are being displayed 50 tiles south of where they should be. (Apparently this problem affects all the new clients, not just the 64-bit one, according to Tig).
|
See if this script reproduces it for you, it did for me. It displays the correct tile number but shows the polygon about 5 tiles north.
PHP Code:
// weapon script, press 9 to activate
//#CLIENTSIDE
function onKeyPressed(code, key) {
if (key == "9") {
this.on = ! this.on;
if (this.on) {
this.trigger("timeOut", null);
} else {
hideimg(200);
}
}
}
function onTimeOut() {
if (! this.on) {
return;
}
temp.mx = int(mousex);
temp.my = int(mousey);
with (findimg(200)) {
layer = 3;
red = 1;
green = 0;
blue = 0;
alpha = 0.6;
polygon = {mx, my, mx + 1, my, mx + 1, my + 1, mx, my + 1, mx, my};
}
player.chat = "Tile: " @ player.level.tiles[mx, my];
this.setTimer(0.05);
}