ProtoFlux:Dynamic Variable Input With Events

From Resonite Wiki
DynVar Input with Events
DetectingUser
OnSpaceLinked
OnSpaceUnliked
Value
HasValue
VariableName
null
Dynamic

Dynamic Variable Input with Events is a ProtoFlux node that is able to read from a dynamic variable space the same as a Dynamic Variable Driver Component does, by reading a dynamic variable value using its own slot as a read point. To see how dynamic variables are created and read, see Dynamic Variables. If you want to change the path dynamically, use Read Dynamic Variable but without providing a slot to Source (Slot).

This node has the added benefit of firing events when a slot with a dynamic variable has been moved, created, or deleted. This is called linking or unlinking and this node will fire these events when detected. This node also takes in a detecting user, in cases where you want to check if a user has detected the slots with variables available.

If you want a simplier node that just gives the value, use Dynamic Variable Input instead.

Inputs

DetectingUser (User)

The user that is listening for slots (containing the dynamic variable) that suddenly have been moved, created, or deleted.

Outputs

OnSpaceLinked (Call)

Fires when a slot with a matching dynamic variable name has been detected and is ready to be used or read from.

OnSpaceUnlinked (Call)

Fires when a slot with a matching dynamic variable name has been moved or removed in some way and is now no longer being detected.

Value (Generic)

Outputs the value of the dynamic variable with the type of Value and a variable name of VariableName

HasValue (bool)

Outputs whether or not a variable of VariableName could be found from this node.

Globals

VariableName (String)

The name to read for a dynamic variable with. To see how the name of a dynamic variable can be written, including how it can vary wildly, see Dynamic Variables