What are the specific types for heroes?


#1

I need the specific types for heroes like knight for tharin because I only know that one so I can target specific clones of heroes rather than his minions.


#2

You need to give us more specific question then that.


#3

It’s easier to get the enemy hero by it’s id, which is either "Hero Placeholder"(humans) or "Hero Placeholder 1" (ogres).

You can use hero.findEnemies() to get all the enemies, and then loop through all the enemies to find the hero with the matching id.

There are other ways mentioned in the forum topic below.


#4

Thanks that worked for me!