hello people!
im tying to read a array[] and store it for adding content with .append
savegame.open("res://saveData/" + nombre + ".save", File.READ)
cadena = savegame.get_var()
savegame.close()
savegame.open("res://saveData/" + nombre + ".save", File.WRITE)
cadena.append(datos)
after declare cadena = savegame.get_var() I cant gett acces to ,append()
the debuf say "Invalid call. Nonexistent function 'append' in base 'Nil'."
even trying to get the items in te array give me the same debug report, I can add the savegame.get_var() wit append() but i need the array not a array inside other ...
any idea?
thanks for all!