Sorry I don't know much about lua. But I need one to know how to do something with saveData.
In one of my levels there is an invasion of enemies to the city but after defeating the boss they no longer appear, nor does the boss when the level is passed and the level is re-entered.
It occurred to me that the script would disappear the layer that belongs to the invaders and that it apprehends the layer where the villagers apprehend
When I finish the mission or how else can I achieve this?
first of all, Thanks








