Skip to content

Current questions and answers regarding the map editor.

User Avatar
#2902
Auto-translated
Yes, here’s another thing I can’t figure out: how does the GenerateHeroInTown function work in the editor’s properties? It creates a hero when entering a town. But which town does it create the hero in? Only the main town? Or all towns belonging to that player? How does it behave if the town entrance is occupied by another hero? Does it create a hero based on the faction, or just randomly? Does it select the hero from the list of available heroes, marked with a checkmark in the editor? Does it need a RandomHeroBox to be set when entering a town for it to work? Because it’s nonsense, I can’t find any pattern. For example, I’ve set up three towns, one of them is occupied, the others are free – no matter how I change the MainTown, heroes don’t appear at all. Anywhere.

Whatever