Skip to content
DizzasTeR edited this page Nov 1, 2020 · 1 revision

Bind


Class Static Functions

  • type() — Returns entity type (string "Bind")
  • findByID(int id) — Returns a Bind object with matching id if any
  • findByTag(string tag) — Returns a Bind object with matching tag if any (Only first match is returned)
  • clearAllBinds() — Remove all registered binds

Constructor(s)

Bind:new(bool signalsOnRelease, int key [, int keySecondary = 0, int keyAlternate = 0])

Methods

Read-Only Methods

  • getID() — Get bind's ID
  • getData() — Get a table of data containing keys: keyOne, keyTwo, keyThree, signalsOnRelease

Properties

  • tag — string

General Example

g_Key_H = Bind:new(true, 0x48)
g_Key_H.tag = "H"
Clone this wiki locally