Auto-translated
Is it possible to create a script so that an enemy hero stays in a castle and builds up an army? And also, so that when you enter a certain territory, a battle starts with the creatures that the hero has deployed, but these creatures remain on the map as individual units, while in battle, they form large stacks. And one more thing: disable the purchase of heroes in castles for everyone and remove the Astral Gate and Portal to Town spells from the map.
Added 3 minutes later
Also, I set a quest in the Oracle's Hut, chose the reward type as "army," but where do I specify which creatures to give?
Added 6 minutes later
And also, how do I set a specific number of creatures in the Crypt?