
12-11-2001, 11:48 PM
|
|
Registered User
|
Join Date: Aug 2001
Location: Fairyland
Posts: 463
|
|
|
All you would need would be 2 events, and 2 (maybe 1 array instead..) variables
Events:
mousedown
mouseclicked (prolly don't even need a mouseclicked, but it would save a little bit of script needed to make sure that a function doesn't get called over, and over, and over again, if they hold it down)
Vars:
mousex
mousey
(or...mousepos[0-1], 0 would hold the x value (in pixels) of the cursor, 1 would hold the y value, if the mouse is left or right of the window, than the x value would be -1, if it is above or below, the y will be -1) |
__________________
One by one, the penguins steal my sanity.
*cookie for Xaviar* --Originally posted by Tyhm
--Xaviar
A m e r i c a
|
|
|
|