Would it be possible to add a code hook (maybe a C# event) to the save system that scripts can use to save and load global data without having to modify MenuSystem.cs and SaveSystem.cs and saving the data into global variables?
Since you already took care of my other request (clamping button length in the variable menu), maybe this one isn't necessary.
The Dialogue System can save and load its state from a string. Currently, to piggyback Adventure Creator's save system, it stores this string in a global variable using the modifications you suggested a few months ago:
The Dialogue System's state is global, not restricted to a single scene, so my understanding is that I can't use a custom Reminder script.
It would be great if there were a facility to:
1. Hook into the save and load process without having to modify any Adventure Creator source code, and
2. Avoid using a global variable. (Although this one was only an issue because the string is very long, which resulted in an extra-wide button in the variable menu.)
For the same reason you've pointed out (it's global), the best way to do it really is to use a global variable. There were some major upgrade problems a few versions back when I started messing around with custom options data - if things work now, I'd rather leave them alone and risk things breaking again.
Comments