Auto-translated
Is it possible to find out the actual name of a hero in battle?
The GetDefender/AttackerHero function in the console just prints "defender hero" / "attacker hero".
But it doesn't display the actual name (in my case, "Nemor").
I just want to write a universal script that works for a specific hero, regardless of whether it's a computer-controlled or human-controlled hero, and whether they are attacking or defending.
Or is this already beyond the scope of what's possible?:confused:
Added after 10 minutes
Never mind, I found it.
GetHeroName
Мои карты
Возрождённый v 1.5 (обновление от 25/09/2016) :smile24:
готовится продолжение.
Великая Пустыня ( 25%) - про Маркела
Тьма над Иролланом (0%) - про Николаса
Мои моды (скорректированы мод на чумных энтов и циклопов зомби)
Возрождённый v 1.5 (обновление от 25/09/2016) :smile24:
готовится продолжение.
Великая Пустыня ( 25%) - про Маркела
Тьма над Иролланом (0%) - про Николаса
Мои моды (скорректированы мод на чумных энтов и циклопов зомби)