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

[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