Created the page for the Dynamic Variable Input With Events node. |
These are technically "calls". whoops. |
||
Line 33: | Line 33: | ||
== Outputs == | == Outputs == | ||
=== OnSpaceLinked ([[Impulses| | === OnSpaceLinked ([[Impulses|Call]]) === | ||
Fires when a slot with a matching dynamic variable name has been detected and is ready to be used or read from. | Fires when a slot with a matching dynamic variable name has been detected and is ready to be used or read from. | ||
=== OnSpaceUnlinked ([[Impulses| | === OnSpaceUnlinked ([[Impulses|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. | 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. |
Latest revision as of 20:07, 19 May 2024
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.
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