This article or section is a Stub. You can help the Resonite Wiki by expanding it.
As the Dynamic Variables page itself is quite information dense, this tutorial will serve as a quick guide to create, write and read these variables and components, and is also designed to get you started immediately with them, in a step by step process. This should also be simpler to understand in comparison to the main page.
Since you can use dynamic variables in many different configurations, this tutorial will be split up based on what your needs and requirements are.
Triggers & Receivers
Use this when you just want to send a signal across different code groups (and also sometimes with data)
What You Need
- The Dynamic Impulse Trigger & Dynamic Impulse Receiver nodes.
- (Optional) Slot hierarchy.
Setup
- Spawn both Dynamic Impulse Trigger & Dynamic Impulse Receiver nodes with the ProtoFlux Tool.
- Add a tag for both nodes to send and listen for. We are using
Example
for both nodes. - Add a Slot hierarchy for the trigger node.
Dynamic Input Variables & Dynamic Spaces
Use this when you have a value that can be grabbed and used anywhere.
What You Need
- The Dynamic Variable Input node. (Must be under a slot with a DynamicVariableSpace)
- A Slot that contains a DynamicVariableSpace.
Setup
- To be written...
Dynamic Field Variables & Dynamic Spaces
Use this when you have component values you want to dynamically use.
What You Need
- Either a DynamicValueVariable or a DynamicReferenceVariable node. (Must be under a slot with a DynamicVariableSpace)
- A Slot that contains a DynamicVariableSpace.
Setup
- To be written...