ProtoFlux:Read Dynamic Variable

From Resonite Wiki
Revision as of 17:18, 16 April 2024 by AmasterAmaster (talk | contribs) (Reworded quite a bit. Added links for Slot and DynamicVariableSpace component.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Read Dynamic Variable
Source
FoundValue
Path
Value
Variables

The Read Dynamic Variable node takes in a Slot as a source and goes down the hierarchy to find the first dynamic space that contains the path specified. This 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. If the slot for this isn't provided, the engine will default the source slot to the slot of the node itself.

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.