• 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.

Computer hero selection system

Status
Not open for further replies.
This belongs in the World Editor Help Zone. Please read rules before posting. It says what this section is for right above the Thread.
Triggers & Scripts In this forum you may ask for help on fixing a trigger or script. But if you need help getting started with a trigger, this is not the right place — use the World Editor Help Zone.

It would help if you explain your problem a lot better.

If you want a trigger that will not allow others to pick the same heroes. Example: Player 1 picks Archmage then player 2 can't pick Archmage. Then use a loop and add this.
  • Player - Limit training of Archmage to 0 for Player 1 (Red)
Change Player 1 to the picked player. Use a trigger at 0.00 time to check how many players are users. Each time a user picks a unit increase a different number. When the numbers match run trigger that picks Heroes for Computer players.
 
Status
Not open for further replies.
Top