This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
disable_action [2025/02/16 19:06] – justin | disable_action [2025/02/21 15:39] (current) – justin | ||
---|---|---|---|
Line 1: | Line 1: | ||
======Disable Action====== | ======Disable Action====== | ||
---- | ---- | ||
- | (WIP) | + | Disables any input bindings assigned to an action ID (e.g. disabling the “jump” action will prevent that action from being triggered by any input bindings assigned to it). The action can be enabled again using the [[Enable Action]] function. |
====Signature: | ====Signature: | ||
Line 10: | Line 10: | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
|action_id|See [[Input Actions]] for a list of available action IDs.|[[String]]|Yes| | |action_id|See [[Input Actions]] for a list of available action IDs.|[[String]]|Yes| | ||
- | |script_name|Name of the [[script]] assigned to the input binding (only applicable when the action ID is "Run Script" | + | |script_name|Name of the [[script]] assigned to the input binding (only applicable/ |
====Example: | ====Example: | ||
<code bauxite> | <code bauxite> | ||
+ | disable_action(" | ||
</ | </ | ||
- | // | + | // |
<WRAP center round tip 100%> | <WRAP center round tip 100%> |