Dynamic Variable Store #5863
Replies: 3 comments 1 reply
-
|
I'd very much vouch for something like this, as I heavily utilize driven Dynamic Variables in many complex and interactive projects of mine. In my scenario, if I wanted to make something like a "DynamicVariableValueStore" to store some client-side value that could be read and written to by multiple ProtoFlux groups, I'd have to create a DynamicValueVariable component somewhere on my item and drive it with a ValueCopy pointing to itself with WriteBack enabled. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
This request seems to be asking for essentially the same functionality as #4113 would provide. Do you see any major differences that I'm missing? |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
While working on a project, I encountered a case I seem to encounter a lot, that case being that I often see value stores to drive the state of a Dynamic Variable. An example of this can be seen below
WriteLatch writing to a Data Model Store, which is then driving a DynamicValueVariable
This led me to the idea of having a generic variable store that is, in itself, a Dynamic Variable, allowing that store to be used where ever you would need within a given dyn var space without an additional component or slot and driver node.
The reason I haven't made this a feature request is because I was also thinking "well what if you want it to be a Local or Store, and not only implicitly synced with the data model"
My proposal is to have an extension to the existing Local, Store, and Data Model Store to make those readable by dynamic variables, and the way you'd interface with this is that the variable name would be whatever you put into the string input in the Store itself
This is my own concept, though I would like to hear what other people think, would this be a useful tool to have?
This would also mean that you would be able to directly interface with Dyn Vars with things like a write latch, or anything that can write to these variables.
An issue this also brings up is, if this does have dynamic variants for Local and Store, that would add a lot more options to the context menu used to create these variables, at least three additional options, which might make this menu too cluttered. This is also something I would like opinions on.
Beta Was this translation helpful? Give feedback.
All reactions