Jump to content

BSL:Functions: Difference between revisions

lock_keys explanation
m (dangerous p3)
(lock_keys explanation)
Line 364: Line 364:
*bind input_name:string to:string{"to"} input_function:string - binds an input to a function - bind numpad0 to forward
*bind input_name:string to:string{"to"} input_function:string - binds an input to a function - bind numpad0 to forward
*lock_keys [key_name:string] - locks keys out - lock_keys keys_walk ''key name strings: keys_reload, keys_hypo, keys_walk, keys_inventory, keys_action, keys_pause, keys_attack, keys_crouch, keys_jump, keys_movement''
*lock_keys [key_name:string] - locks keys out - lock_keys keys_walk ''key name strings: keys_reload, keys_hypo, keys_walk, keys_inventory, keys_action, keys_pause, keys_attack, keys_crouch, keys_jump, keys_movement''
''The lock_keys command allows you to enable or disable player keys. Using only lock_keys without a parameter will lock all keys. To unlock a specific set of keys you use the additional parameter, e.g. lock_keys keys_movement will unlock the move keys.''
*unbind input_name:string - removes a binding from a input function - unbind numpad0
*unbind input_name:string - removes a binding from a input function - unbind numpad0
*unbindall (null) - removes all bindings - unbindall
*unbindall (null) - removes all bindings - unbindall
489

edits