Auto-translated
}{0TT@6bI4, wow! Thank you very much :) I haven't worked with tables before (because they aren't in the original campaign scenarios), so I didn't know that you could format everything so neatly and beautifully. Also, I'm very grateful for the explanation of the counter error caused by the 'for' loops. I knew it was a bad idea to put two 'for' loops with checks of the creature arrays together, and I wasn't wrong) I don't know why I didn't rewrite them right away, because I had a very good example in the form of a function from mission 5 for Freya in the Hammers of Fate, where rebels switch to the player's side (and there, captured buildings, cities, and recruited heroes are passed). Those loops are also separated there...