• 🏆 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!

[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