From Spherical
< Legacy:Functions‎ | Map
Revision as of 23:54, 1 June 2013 by Apollolux (talk | contribs) (Binding scripts to input devices: fix function name)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Player input

Binding scripts to input devices

Note: Binding a key or joystick button overrides whatever input has already been associated with it via AttachInput or AttachPlayerInput!

  • BindKey(key, on_key_down, on_key_up): Bind scripts to key events.
  • UnbindKey(key): Remove script binding from the given key.