Quote:
Originally posted by Tyhm
if(created){
x=x-(1/16); //drift online
timeout=0.05; //only work reliably once ever
this.imgwidth=394; //ditto
this.imgheight=260; //ditto
hide;
}
To make this work online, you'd need
if(created){
if(visible) x=x-(1/16); //middling, it's best to put in the exact x
hide;
}
if(playerenters){
timeout=0.05;
this.imgwidth=394;
this.imgheight=260;
}
Don't believe me? Put a warp in your level to another level, and vice versa. When you reenter, everything goes plotz.
|
Ehem, if you put //#CLIENTSIDE at the beginning of the NPC, I'm pretty sure it will work
