• 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] Hero Selection Limiter

Status
Not open for further replies.
Level 9
Joined
Jun 7, 2008
Messages
440
Each player has this same event. Though it happens at random times for each player. What I need, is to limit selection for all players to 1 random hero (there is no training or purchasing). This is what i have so far:
  • Events
    • Player - Player X (Color) types a chat message containing -hero as An exact match
  • Conditions
  • Actions
    • Set randomunit = (Random unit from Heros)
    • Unit - Change ownership of randomunit to (Triggering player) and Change color
    • Unit - Move randomunit instantly to (Center of BaseCamp<gen>)
    • Set randomunit = no unit
I have another trigger which enables this one after a certain time for each player. Any help?
EDIT: Sorry about the shortcut for the events :p
 
Status
Not open for further replies.
Top