Auto-translated
Hello everyone, could you please advise how to create a bot (without installing mods) using the map editor, so that it has only one hero, but can re-hire it if it's lost in its tavern? (I understand that if you simply disable taverns in cities, the bot's hero will be disposable). I found a script called AllowHeroHiringByRaceForAI on page 355, but I don't know where to enter it. The goal is to create a map with a bot that has one (or a limited number of) heroes, but with the ability to revive them. As far as I understand, Dungeons are also disposable hires.