Hey gang!
Please help :)
I have an array (called ArrayAIStats), populated by an array file (called Stats.json).
On start of layout — AJAX| Request Stats.json (tag "")
AJAX| On "" completed — ArrayAIStats| Load from JSON string AJAX.LastData
This works totally awesomely. I have a visual array graph, where I can easily change and add values.
The problem, however, is the values in this array change throughout the game; the stats change. I can't seem to get my local storage save function to save this array in particular; it always resets back to the default values. I'm not sure if it's because the data is being pulled from the Stats.json file? I have a different array that saves, and loads perfectly fine, even as new data gets added onto it. I'm not sure where I'm going wrong :(...
I attached some screenshots; one of my 'Local Storage' event sheet, the other is of the event sheet for my ArrayAIStats. In my Local Storage event sheet, I underlined in red the array that's giving me problems.
Thanks in advance!