• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

limiting heroes trigger not working

Status
Not open for further replies.
Level 7
Joined
Sep 9, 2007
Messages
253
I would use an integer variable for the "only four heros" part and in the hero selection system add a condition "your_integer < 4"

do you want 1 hero type per player or only 1 hero type on the map. ie should it be possible for different players to have the same hero type? Perhaps you should post your trigger
 
Level 37
Joined
Mar 6, 2006
Messages
9,240
Could you post your current trigger?

For default heroes:
  • Melee Game - Limit Heroes to 1 per Hero-type (for all players)
For custom heroes:
  • Player - Limit training of *unitType* to 1 for Player 1 (Red)
Limits the amount of heroes:
  • Player - Limit training of Heroes to 4 for Player 1 (Red)
 
Status
Not open for further replies.
Top