Jace
Jace copied to clipboard
Request for dynamic variables
I would like to request a feature for the compute engine to be able to handle dynamic variables. This would allow for either changing the value of a variable and dynamically getting the result or letting the compute engine figure out what variables are needed and use getters to get them.
For example:
computeEngine.DynamicVar("Health", () => player.health);
This feature would be particularly useful for projects with a large number of variables, where only a few would be used at once. It would eliminate the need to set every possible variable if it isn’t going to be used, or at least provide a way to fetch the required variables so that only the ones required are set.