ProtoFlux:Write Dynamic Variable: Difference between revisions

From Resonite Wiki
Create Write Dynamic Variable Page
 
fix visual
Line 1: Line 1:
{{#Invoke:ProtoFlux|GenerateUI
{{#Invoke:ProtoFlux|GenerateUI
|Name=Write Dynamic Variable
|Name=Write Dynamic Variable
|Category=Dynamic Variables
|Category=Variables
|Inputs=
|Inputs=
[
[

Revision as of 15:00, 6 April 2024

Write Dynamic Variable
*
OnWritten
Target
OnFailed
Path
Value
Variables

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 to search for a dynamic variable to write to.

Path (String)

The path for the created 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

OnWritten (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 did not already exist at Target. The variable was not created when this impulses.