HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How come I can summon infinity new heroes?

07-12-2004, 10:22 AM#1
Sardius
I have made 3 heroes for my burning legion race and for some reason I can summon multiple ones of the same type...

I use the trigger in my initialization "Limit Heroes to 1 per hero type"

I even added them in the Game Constant Heroes Depandancy where it says "These listed units will be considered heroes when limiting the number of total heroes the player can have" I add my new heroes there, but it doesn't help. I can still summon more then one of each hero.
However I can still only summon 3 max.
07-12-2004, 10:51 AM#2
Perfect-ChaosX
You have to specify the unit as a unit-type in order to limit training of them to 1. You also have to make an action of this type for every player (if it's in a multiplayer map).

Code:
Initialization
Events
- Map Initialization
Actions
- All that melee crap
- [b]Limit training of [u]Hero[/u] to 1 for Player 1 (Red)[/b]
- (Do the same for all players in the map if multiplayer)