Thread: Mouse Script!
View Single Post
  #8  
Old 09-21-2002, 04:54 AM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
NPC Code:

if (mousex in |npcs[i].x,npcs[i].x+imgwidth(#f(i))| && mousey in |npcs[i].y,npcs[i].y+imgheight(#f(i))|) {
message Don't point, it's rude!;
}else{message ;}



Bah, I know this isn't the whole script, but now you get the fun of finishing it! Whoop-diedoo...

[EDIT] *bangs head on wall* forgot img for w/h...
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial

Last edited by Dach; 09-22-2002 at 12:41 AM..