View Single Post
  #10  
Old 08-16-2009, 05:28 AM
FireHunter FireHunter is offline
TGraalScripter
Join Date: Sep 2007
Location: this.country = "Germany";
Posts: 24
FireHunter is on a distinguished road
Quote:
Originally Posted by cbk1994 View Post
Why isn't there a server option or so to do this in normal servers?
/agree

Well thx for the answers / help - didnt knowed that move(); doesnt do the annoying sound o.O
But I think its more smart just putting the sound off if I want a direct position change xD

PHP Code:
temp.targetx = 20; // the X pos on the level
temp.targety = 20; // the Y pos on the level

temp.distx = temp.targetx - this.x;
temp.disty = temp.targety - this.y;

move( temp.distx, temp.disty, 0, 0 ); 

Last edited by FireHunter; 08-16-2009 at 05:49 AM..
Reply With Quote