-
Notifications
You must be signed in to change notification settings - Fork 1
Bind Functions
DizzasTeR edited this page Nov 1, 2020
·
1 revision
- 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
Bind:new(bool signalsOnRelease, int key [, int keySecondary = 0, int keyAlternate = 0])
- getID() — Get bind's ID
- getData() — Get a table of data containing keys: keyOne, keyTwo, keyThree, signalsOnRelease
- tag — string
g_Key_H = Bind:new(true, 0x48)
g_Key_H.tag = "H"