Write Dynamic Variable is a ProtoFlux node that is able to write to previously created dynamic variables under a slot. For more info on Dynamic Variables, see Dynamic Variables. This node will only write to the variable if the path and type it's writing to is the same as a variable that exists. See Dynamic Variables on how equality is determined on paths, since 2 paths with different content can still make many different variables equal.
Inputs
* (Call)
Call this to write the variable.
Target (Slot)
The slot hierarchy to search for a dynamic variable to write to.
Path (String)
The path for finding the available dynamic variable. To see how this influences attaching see the paragraph at the beginning of this page.
Value (Generic)
Any type of value, reference, or object that should be written to an existing variable.
Outputs
OnNotFound (Continuation)
Fires when the path is incorrect or there is nothing to find in the given slot hierarchy.
OnSuccess (Continuation)
Fires when *
is fired and a variable already exists that can be written to through Target
.
OnFailed (Continuation)
Fires when *
is fired and the variable was found but cannot be written to. The variable was not created when this impulses.