Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / button function

Author
Message
Chenak
21
Years of Service
User Offline
Joined: 13th Sep 2002
Location: United Kingdom
Posted: 22nd Dec 2002 23:33
d'oh! heres the full thing

function button(x1,x2,y1,y2,mode)
qx=mousex()
qy=mousey()

if qx>x1 and qxy1 and qy
Once you start down the Dark Path, forever will it dominate your destiny...
Chenak
21
Years of Service
User Offline
Joined: 13th Sep 2002
Location: United Kingdom
Posted: 22nd Dec 2002 23:35
function menubutton(x1,x2,y1,y2,mode)
qx=mousex()
qy=mousey()

if qx>x1 and qx<x2
if qy>y1 and qy<y2

if mouseclick()=1

endif

endif
endif

endfunction

Once you start down the Dark Path, forever will it dominate your destiny...

Login to post a reply

Server time is: 2024-04-19 12:13:59
Your offset time is: 2024-04-19 12:13:59