Clicking Functions |
|
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 |
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! |
Delta0Zero2: (Jul 25 2016, 1:53 am)
I agree with Kaiochao. However mouse functionality is important to me.
DivineTraveller: (Jan 29 2011, 2: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. 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, 12:30 pm)
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, 4:53 am)
Pretty handy library, I'll probably find myself using this quite a lot. Thanks, DT.
|
Copyright © 2024 BYOND Software.
All rights reserved.