Auto-translated
Good evening (day/morning) to everyone.
Does anyone know how script data is saved when a map is saved? For example, I want to store some player-specific data so that it is saved when the map is reloaded.
I understand that mapscript.lua is executed when the map is loaded. Is there a way to store data globally? Perhaps GameVars? (The manual has a vague description of them, and I couldn't find a good example in other maps). P.S. In MasteR's wonderful scenario, Twilight of Darkness, I saw an implementation using quest progress, but I still want a less "workaround" approach.