SS1984 - Modules - TypesVar Details - Proc Details

keybinding

Vars

categoryThe UI category to belong to.
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

category

The UI category to belong to.

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: