Thread: mouse coords
View Single Post
  #4  
Old 02-08-2005, 04:04 AM
Projectshifter Projectshifter is offline
The David
Projectshifter's Avatar
Join Date: Apr 2002
Location: USA
Posts: 912
Projectshifter is an unknown quantity at this point
Send a message via ICQ to Projectshifter Send a message via AIM to Projectshifter Send a message via MSN to Projectshifter Send a message via Yahoo to Projectshifter
Quote:
Originally Posted by falco10291029
NPC Code:

with (getplayer(#s(this.player))) {
thiso.x=mousex;
thiso.y=mousey;
}


this should transefer player mouse x and y coordinates to the npc's values thos.x and this.y right? If not what am I doing wrong? (if needbe I can post more of the script)
I get the impression you haven't even tried this... "this should..." "if not what am I doing wrong?" Try it next time before hand. And I believe they are purely clientside vars, in which case you'd either need to do a constant triggeraction (ewww...) or set client.strings and read from them constantly (ewww...) What are you trying to do and perhaps we could suggest another method?
__________________
Who has time for life these days?
Reply With Quote