keybinding 
Vars | |
| can_edit | Boolean on whether players are able to edit this keybinding. Used for BYOND built-in binds we wish to tell the player of its existence, but don't want it being edited because BYOND doesn't let us. |
|---|---|
| category | The UI category to belong to. |
| classic_keys | The default key(s) assigned to the keybind. |
| name | The user-facing name. |
Procs | |
| can_use | Returns whether the keybinding can be pressed by the client's current mob. |
| down | Called when the client presses the keybind. |
| up | Called when the client releases the keybind. |
Var Details
can_edit 
Boolean on whether players are able to edit this keybinding. Used for BYOND built-in binds we wish to tell the player of its existence, but don't want it being edited because BYOND doesn't let us.
category 
The UI category to belong to.
classic_keys 
The default key(s) assigned to the keybind.
name 
The user-facing name.
Proc Details
can_use
Returns whether the keybinding can be pressed by the client's current mob.
Arguments:
- user - The client.
down
Called when the client presses the keybind.
Arguments:
- user - The client.
up
Called when the client releases the keybind.
Arguments:
- user - The client.