SS1984 - Modules - Types — Var Details - Proc Details

keybinding

Vars

can_editBoolean 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.
categoryThe UI category to belong to.
classic_keysThe default key(s) assigned to the keybind.
nameThe user-facing name.

Procs

can_useReturns whether the keybinding can be pressed by the client's current mob.
downCalled when the client presses the keybind.
upCalled 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:

down

Called when the client presses the keybind.

Arguments:

up

Called when the client releases the keybind.

Arguments: