View Single Post
  #4  
Old 09-01-2007, 01:37 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
PHP Code:
// for player direction
getangle(vecx(temp.obj.dir), vecy(temp.obj.dir));

// to a target
getangle((this.temp.tx), (this.temp.ty));

// to the mouse
getangle((mousex temp.tx), (mousey temp.ty)); 


Well.... to the point:
PHP Code:
getangle((temp.tx this.x), (temp.ty this.y)); 
Change it into:

PHP Code:
getangle((this.temp.tx), (this.temp.ty)); 
__________________
Reply With Quote