ProtoFlux:Delete Dynamic Variable

From Resonite Wiki
Revision as of 19:44, 19 May 2024 by AmasterAmaster (talk | contribs) (Created the Delete Dynamic Variable node page.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.