< Legacy:Functions | Map
Revision as of 23:52, 1 June 2013 by Apollolux (Reformat for new convention)
- GetInputPerson(): Get the name of the person who holds player input.
- IsInputAttached(): Check if input is attached to a person or not.
- AttachInput(person): Give input control of person to the player.
- DetachInput(): Remove input control given by AttachInput() or AttachPlayerInput().
- AttachPlayerInput(person, player): Give input control of person to player.
- DetachPlayerInput(person): Remove input control from person given to a player.
Binding scripts to input devices
- BindKey(key, on_key_down, on_key_up): Bind scripts to key events.
- UnbindKey(key): Remove script binding from the given key.