Jace icon indicating copy to clipboard operation
Jace copied to clipboard

Request for dynamic variables

Open killereks opened this issue 1 year ago • 0 comments

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.

killereks avatar Jun 21 '23 23:06 killereks