There are several ways to do this.
How many values do you need to store for each tile? Will the set of values be the same for all tiles, or different? For example, water tiles will have "depth" value, ground tiles will have "walk_speed" and "solid" values etc.
Will there be many tiles without any values? You can think of a Tilemap as a 2D array, which stores tile type (ground, sand, water, rock). So you don't have to store this info in the array.
Do you need to store the array with all these values in the project, or will it be randomly generated in runtime?
1. I would need to store about 4 variables For each tiles that would change independently during the game on certain condition
2.The values won’t be random
I want to do something line this for the tiles variable:
(Ownership: unowned or country1 or country2)
(State: Incorporated or non-incorporated)
(And finally a variable that update if for exemple a blue tile is near an other tile mark as Unowned)
🙏
Also if I set an array the same size if the tilemap and sub-divide it by each tiles will it store these values as if they where « in »the tiles?