FANDOM



Description

Allows you to bind a single key to a script or function. Similar to UI_BindKeyEvent but probably meant more for debugging(?).

Example

bind1("UI_ShowScreen('thisscreen',ePopup)" , EKEY)

Arguments

bind1( <code chunk>,  <key to bind>)

code chunk -  string of lua code encapsulated by [[]], "", or ''   

key to bind - key to bind