[setting] trigger

Defines a trigger. Triggers can be used to bind a key to some kind of action, like the advancement ("next") action or toggling the savegame menu.

Note: There is also a command named trigger.

Triggers are not automatically activated after their creation. You need to explicitly activate them using the trigger command.

Usage

. triggers :
    . trigger ~savegame_menu_trigger, event keyup, key ESCAPE, function savegames
    . trigger ~next_by_key_trigger, event keyup, key RIGHT_ARROW, special next
--

Attributes

Parents

Children