Module ...

Handles player hotkey interface This provides methods to bind and manage hotkeys as well as using them
This interface is designed to work with the engine.HotkeysDisplay class to display current hotkeys to the player

Functions

_M:activateHotkey (id) Uses an hotkeyed talent This requires the ActorTalents interface to use talents and a method player:playerUseItem(o, item, inven) to use inventory objects
_M:hotkeyInventory (name) Activates a hotkey with a type "inventory"
_M:hotkeyTalent (tid) Activates a hotkey with a type "talent"
_M:isHotkeyBound (kind, id) Check if something is bound, and return the spot if it is
_M:nextHotkeyPage () Switch to next hotkey page
_M:prevHotkeyPage () Switch to previous hotkey page
_M:setHotkeyPage (v) Switch to hotkey page


Functions

_M:activateHotkey (id)
Uses an hotkeyed talent This requires the ActorTalents interface to use talents and a method player:playerUseItem(o, item, inven) to use inventory objects

Parameters

  • id:
_M:hotkeyInventory (name)
Activates a hotkey with a type "inventory"

Parameters

  • name:
_M:hotkeyTalent (tid)
Activates a hotkey with a type "talent"

Parameters

  • tid:
_M:isHotkeyBound (kind, id)
Check if something is bound, and return the spot if it is

Parameters

  • kind:
  • id:
_M:nextHotkeyPage ()
Switch to next hotkey page
_M:prevHotkeyPage ()
Switch to previous hotkey page
_M:setHotkeyPage (v)
Switch to hotkey page

Parameters

  • v:

Valid XHTML 1.0!