Heroes of Newerth Wiki
Advertisement

This function selects a hero while in the hero selection screen.

self:SelectHero(sInternalHeroName)

Arguments[ | ]

sInternalHeroName
String - The internal name of the hero to select.

Example[ | ]

-- From botbraincore v1.1:
self:SelectHero(self.heroName)

Details[ | ]

  • A hero can only be selected if the hero isn't chosen or the match is in Duplicate hero mode.
  • As of botbraincore 1.1, heroes are selected and readied in the last second of picking phase.
Advertisement