ProtoFlux:Read Dynamic Variable: Difference between revisions

From Resonite Wiki
Updated the page with a note talking about how you cannot skip or jump variable spaces and needing multiple of these nodes to continue searching through a hierarchy.
Specified Slots in the note within this page for clarity.
Line 16: Line 16:
Read Dynamic Variable is a node that takes in a slot as a source and goes down the hierarchy to find the first dynamic space that contains the path specified, then returns the matching type's value if one is found. For more information, see [[Dynamic Variables]].
Read Dynamic Variable is a node that takes in a slot as a source and goes down the hierarchy to find the first dynamic space that contains the path specified, then returns the matching type's value if one is found. For more information, see [[Dynamic Variables]].


{{Template:Note|Although you cannot jump or skip variable spaces using this node from your provided string path, you can however use multiple of these nodes in conjunction together and provide more path strings to get to where you want to search for in the hierarchy.|information}}
{{Template:Note|Although you cannot jump or skip variable spaces using this node from your provided string path, you can however use multiple of these nodes in conjunction together and provide more path strings to get to where you want to search for in the hierarchy (best showcased when using Slots as your returning value).|information}}


== Inputs ==
== Inputs ==

Revision as of 04:35, 6 April 2024

Read Dynamic Variable
Source
FoundValue
Path
Value
Dynamic Varables

Read Dynamic Variable is a node that takes in a slot as a source and goes down the hierarchy to find the first dynamic space that contains the path specified, then returns the matching type's value if one is found. For more information, see Dynamic Variables.

Although you cannot jump or skip variable spaces using this node from your provided string path, you can however use multiple of these nodes in conjunction together and provide more path strings to get to where you want to search for in the hierarchy (best showcased when using Slots as your returning value).

Inputs

Source (Slot)

This is the source slot that this node reads from.

Path (String)

The string input to find where to read from.

Outputs

FoundValue (bool)

Whether the value we are searching for is found or not.

Value (Generic)

The value that is found.