P.S. So, should I set a time or a location? It seems like you'll have to run around here and there... Are you talking about how to remove a hero after defeating an enemy in a mission, or when approaching a building?) Although, it's better to do it after the battle, because the hero might disappear immediately if they approach the building multiple times.
To remove a hero who is in your army, you need to make sure they are no longer in your army :D
I can't say anything more for now.
Besides, I don't fully understand what you want to achieve...
Цикл кампаний "Дыхание Смерти" из трёшки в четвёртом исполнении
Учебная карта
Астралия
За Королеву!
Подземелья и Дьяволы
Отголоски войны
Освобождение