API:RemoveAllBindings
From RoR Wiki
UI Lua API · Bindings functions
Version: WAR 1.4.8
Removes every key and button binding of one keyboard action.
RemoveAllBindings(action)
Arguments
- action
string– Name of the action.
Returns
Nothing.
Details
- If
actionis not a known action, nothing happens and no error is raised. SystemData.Events.KEYBINDINGS_UPDATEDis raised only when at least one binding was removed.- The function needs at least one argument and only reads the last one.
- The stock UI never calls this function.
Errors
None besides the generic Invalid Parameters message when the argument is not a string.
Example
A minimal call built from the signature:
RemoveAllBindings( action )
