View Single Post
  #7  
Old 03-16-2008, 10:09 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by Tolnaftate2004 View Post
tx = mousex + (screenwidth-mousescreenx)/16
ty = mousey + (screenheight-mousescreeny)/16

I did not test this extensively, but it seems to me that it would work at least while the mouse is in the client window.
I tested it. It still lags behind, but its not as bad as worldx() and worldy().
Though, since it still lags behind...I think I'm doing something wrong.
Reply With Quote