ProtoFlux:Delete Dynamic Variable: Difference between revisions

From Resonite Wiki
Created the Delete Dynamic Variable node page.
 
Fixed category for this node page.
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:Dynamic]]
[[Category:ProtoFlux:Variables:DynamicVariables]]

Revision as of 20:12, 19 May 2024

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 your 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.