Feature suggestion: Static variables
Posted: Sat Oct 20, 2018 9:34 am
Hi there,
This may seem a little weird, but there's one thing I'm missing in DS...: static variables. A little contradictory term there, I know...
What I mean is that I'd like to have variables that when a game loads, they're reinitialized to their default values as in the Variables tab, regardless of their values in the savegame file.
That way we could have variables that could be used as default game 'settings', which would change according to the developer preferences between versions, which is now not achievable without special code (default variables values are overwritten by savegames values).
My suggestion to implement it would be to include a checkbox next to each variable, so if it's marked it behaves like a static.
That would also allow for variables that in previous versions were 'normal' to be changed to a static behavior, regardless of previous saves containing them (or that is at least my hope).
What do you think? Do you like it?
This may seem a little weird, but there's one thing I'm missing in DS...: static variables. A little contradictory term there, I know...
What I mean is that I'd like to have variables that when a game loads, they're reinitialized to their default values as in the Variables tab, regardless of their values in the savegame file.
That way we could have variables that could be used as default game 'settings', which would change according to the developer preferences between versions, which is now not achievable without special code (default variables values are overwritten by savegames values).
My suggestion to implement it would be to include a checkbox next to each variable, so if it's marked it behaves like a static.
That would also allow for variables that in previous versions were 'normal' to be changed to a static behavior, regardless of previous saves containing them (or that is at least my hope).
What do you think? Do you like it?