This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
enable_action [2024/03/11 11:28] – created justin | enable_action [2025/02/21 15:38] (current) – justin | ||
---|---|---|---|
Line 1: | Line 1: | ||
======Enable Action====== | ======Enable Action====== | ||
---- | ---- | ||
- | (WIP) | + | Enables any input bindings assigned to an action ID that were previously disabled via [[Disable Action]] |
====Signature: | ====Signature: | ||
<code python> | <code python> | ||
- | enable_action(action_id) | + | enable_action(action_id, script_name) |
</ | </ | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
- | |action_id| |[[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/ | ||
====Example: | ====Example: | ||
<code bauxite> | <code bauxite> | ||
+ | enable_action(" | ||
</ | </ | ||
- | // | + | // |
<WRAP center round tip 100%> | <WRAP center round tip 100%> |