• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Better hero limiting

Status
Not open for further replies.
Hey, uhm...
I have a problem on my "Altered Melee" Map.
It's about limiting Heroes.

I made the triggers;
> Pick (All Players) and do actions
> Player - Limit no. of Heroes to "3" for (Picked player)
> Player - Limit training of "Heroes" to "1" for (Picked player)

And in the gameplay constants, i had the maximum limiting of heroes. It means that I can't add anymore heroes in the gameplay constants. what GUI trigger should help? *GUI * GUI*
#i need GUI#
 
Last edited:
So heroes must be standard not campaign. You know this though. You must add heroes in gameplay constants to the list of heroes. You only need to use the GUI trigger "limit heroes to 1 for (all Players)." Don't loop picked players. Its unnecessary and it leaks. This has always worked for me and there is no reason it should not be working.

There are plenty of other options as well. For example you can create a trigger to remove the other heros after a hero is selected. or you could make the heroes for sale and limit the stock to 1. What are you trying to accomplish besides limiting heroes to 1? Do heroes train instantly? Is this a dota style starting sequence? Please explain a little more and post triggers using
  • bbcode tags.
  • Like this: [plain][trigger] copy as text and paste trigger here
[/plain]

It will show up looking like this:

  • Actions
    • Trigger - Show trigger in (Forum Thread)
 
Status
Not open for further replies.
Top