User Tools

Site Tools


enable_action

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
enable_action [2025/02/18 16:02] justinenable_action [2025/02/21 15:38] (current) justin
Line 1: Line 1:
 ======Enable Action====== ======Enable Action======
 ---- ----
-Enables any input bindings assigned to the specified action ID that were previously disabled via the [[Disable Action]] function (e.g. enabling the "jump" action will allow any controls that are assigned to that action to work).+Enables any input bindings assigned to an action ID that were previously disabled via [[Disable Action]] (e.g. enabling the "jump" action will allow that action to be triggered by any input bindings assigned to it, assuming that jumping is enabled in the gameplay settings).
  
 ====Signature:==== ====Signature:====
Line 14: Line 14:
 ====Example:==== ====Example:====
 <code bauxite> <code bauxite>
 +enable_action("jump");
 </code> </code>
-//Results://+//Results:// Any input bindings assigned to the “jump” action are enabled (allowing the player to jump, if jumping is enabled in the gameplay settings).
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
enable_action.1739923330.txt.gz · Last modified: 2025/02/18 16:02 by justin