Logo
  • Features
  • Educators
  • What's New
  • Blog
  • Showcase
  • About us
  • Contact
Try it now!
How To Automatically Save Variables / Lists That Automatically Activate Without Save Codes?
💡

How To Automatically Save Variables / Lists That Automatically Activate Without Save Codes?

✍️
This best practice is created by Outrunfungus43 from Gandi IDE community.
image

Outrunfungus43 Cocrea: https://cocrea.world/@Outrunfungus43

Outrunfungus43 Dulst: https://dulst.com/morphapeed

To save variables, you need: -A Variable (I speak at the cost of being obvious) -Data Utils Extension

To save lists, you need: -A List (once again I speak at the cost of being obvious) -Data Utils Extension -Archive Code Extension

I will post steps on how to do both.

Variables

The following code makes it so if the player has just started, or is not signed in (I think). The variable is set to 0, else it’s set to the saved variable. it doesn't matter what they are called, but all the variable must be the same and all the text prompts in the magenta areas must be the same.

image

Lists

The following code loads any saved list data based on the list inventory. All the "inventory" prompts must be the same variable and all the "In" prompts have the same text.

Not that complicated lol.

image
💡
If you have any questions or suggestions, you can find us in the discord channel: https://discord.gg/U3nyveCvRa
Logo

Designed by 2ndR with love

Discord