How to save arrays?

Screenshot 2024-05-08 175349
I wrote some save code, to save my game. The varible already works however I cant get it to save the array. What do i need to change in order to make it work?

Hey!
Looks like you are missusing FileAccess.get_var() !

You cannot tell the method what variable you are extracting, it will just get the next variant.

Your code should works fine if you just remove the parameter from the get_var calls

If you want to know more about data processing, I recommend this amazing topic:

Hope that helped!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.