Clicking Functions

by DivineTraveller
Increased click capabilities. [More]
To download this library for your Linux/Mac installation, enter this on your command line:

DreamDownload byond://DivineTraveller.ClickingFunctions##version=1

Emulator users, in the BYOND pager go to File | Open Location and enter this URL:

byond://DivineTraveller.ClickingFunctions##version=1

273 downloads
Version 1
Date added: Aug 23 2010
Last updated: Aug 24 2010
2 fans
With this library, you get many more clicking functions instead of the standard Click() proc. Please note, Click() does *not* get called, so all appropriate changes will have to be made to a different click proc (LeftClick() would make the most sense) to function again.

I've added an extra argument to each clicking proc as well, which passes the mob of the clicker to the proc. The procs I've made are:
LeftClick
RightClick
MiddleClick

LeftAltClick
RightAltClick
MiddleAltClick

LeftCtrlClick
RightCtrlClick
MiddleCtrlClick

LeftShiftClick
RightShiftClick
MiddleShiftClick

These could also be easily extended to include the DblClick proc, and make another 12 procs.
Happy clicking!

Comments

Delta0Zero2: (Jul 25 2016, 12:53 am)
I agree with Kaiochao. However mouse functionality is important to me.
DivineTraveller: (Jan 29 2011, 1:43 pm)
Kaiochao wrote:
I've found(with Hazordhu) that having to use all of these functions for the same kind of action is pretty horrible.
I think, the most complicated action you'll want your players to need to do is right-click.

Thing is, I've found myself having to use a few different ones. Some mice (mine) don't support right click, so I had to have another proc forward it's args to RightClick(). It also helps to have multiple ways to achieve the same goal, that way players can choose something, or in my case, can actually use the functionality presented.
Kaiochao: (Jan 29 2011, 11:30 am)
I've found(with Hazordhu) that having to use all of these functions for the same kind of action is pretty horrible.
I think, the most complicated action you'll want your players to need to do is right-click.
Crazah: (Aug 25 2010, 3:53 am)
Pretty handy library, I'll probably find myself using this quite a lot. Thanks, DT.