ProtoFlux:DeleteDynamicVariable: Difference between revisions

From Resonite Wiki
m YoshBot moved page ProtoFlux:Delete Dynamic Variable to ProtoFlux:DeleteDynamicVariable: Automated: removing spaces from ProtoFlux namespace
m cat
 
Line 21: Line 21:
== Inputs ==
== Inputs ==


=== * ([[Impulses|Call]]) ===  
=== * ([[Impulses|Call]]) ===


Calls an impulse to find and delete the variable from the given hierarchy and path.
Calls an impulse to find and delete the variable from the given hierarchy and path.
Line 43: Line 43:
Fires when a dynamic variable was found and deleted.
Fires when a dynamic variable was found and deleted.


[[Category:ProtoFlux:Variables:DynamicVariables]]
[[Category:ProtoFlux:Variables:Dynamic]]

Latest revision as of 04:02, 25 August 2025

Delete Dynamic Variable
*
OnNotFound
Target
OnDeleted
Path
Dynamic

The Delete Dynamic Variable node takes in a slot hierarchy and a string literal for the path. This will check for the dynamic variable space, and then the variable within, if one is found, the variable will be removed. For more information, see Dynamic Variables.

Keep in mind that the top most output is OnNotFound. This can be confusing (especially if you're not paying attention when connecting nodes) when the code fires and nothing happens.

Inputs

* (Call)

Calls an impulse to find and delete the variable from the given hierarchy and path.

Target (Slot)

This slot hierarchy to search through.

Path (string)

The path to find the dynamic variable.

Outputs

OnNotFound (Continuation)

Fires when the path is incorrect or there is nothing to find in the given slot hierarchy.

OnDeleted (Continuation)

Fires when a dynamic variable was found and deleted.