Format
DblClick(object,location,control,params)
When
Called when the player double-clicks on the map or in the stat panels.
Args
object
: the object double-clickedlocation
: the client stat panel, location (turf) of object on map, grid cell, or other control-specific infocontrol
: the name of the skin control involvedparams
: other parameters including mouse/keyboard flags, icon offsets, etc.; see mouse handling
Default action
Call object.DblClick(location,control,params).
client
DblClick(O)
usr << "You double-clicked [O]"
..() // do default action
Note that due to network lag, it is possible when clicking on moving objects for the location of those objects to have changed by the time the DblClick() proc is executed. That is the reason for the location argument. It tells you where the click originally took place.
DblClick(object as null|atom in usr.client,\
location as null|turf|text in usr.client,\
control as text, params as text)
See also
- DblClick proc (atom)
- MouseDown proc (client)
- MouseDrag proc (client)
- MouseDrop proc (client)
- MouseEntered proc (client)
- MouseExited proc (client)
- MouseMove proc (client)
- MouseUp proc (client)
- MouseWheel proc (client)
- mouse_opacity var (atom)
- mouse_over_pointer var (atom)
- show_popup_menus var (client)