The Dink Network

Resetting variables used

January 16th, 05:44 PM
custom_simon.gif
SimonK
Peasant He/Him Australia
 
Just wondering how the variable used factor gets reset.

I was thinking it was upon entering each new screen, which it does seem to be, if I use a key script to check var_used();

Is there anyway to flush this in game? Is there any command that can kill a local script variable, and free up the slot it is occupying from the limit of 250 available?

Or is it possible to increase this limit beyond 250 in the Engine without breaking everything?
January 16th, 08:29 PM
peasantmb.gif
yeoldetoast
Peasant They/Them Australia
Oh, NOW YOU'VE DONE IT! 
The total variable pool is shared between both local and global vars, all of which are saved into save files for whatever reason. Apart from using kill_this_task I don't believe there's another way.