• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece!🔗 Click here to enter!

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