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

Idea - "Hero Militia"

Level 21
Joined
Mar 16, 2008
Messages
958
I want to make a Metamorphosis type hero spell but you need to run to a Town Hall to cast it, or at least be in range of one, similar to the Peasant ability Militia. Anyone have any ideas how to implement this as basically and simply as possible?
 
Level 21
Joined
Mar 16, 2008
Messages
958
Care to share any thoughts on this trigger?

  • Militia start
    • Events
      • Unit - A unit owned by Player 5 (Yellow) Starts the effect of an ability
      • Unit - A unit owned by Player 6 (Orange) Starts the effect of an ability
      • Unit - A unit owned by Player 7 (Green) Starts the effect of an ability
      • Unit - A unit owned by Player 8 (Pink) Starts the effect of an ability
      • Unit - A unit owned by Player 9 (Gray) Starts the effect of an ability
      • Unit - A unit owned by Player 10 (Light Blue) Starts the effect of an ability
      • Unit - A unit owned by Player 11 (Dark Green) Starts the effect of an ability
      • Unit - A unit owned by Player 12 (Brown) Starts the effect of an ability
      • Unit - A unit owned by Player 17 (Wheat) Starts the effect of an ability
      • Unit - A unit owned by Player 18 (Peach) Starts the effect of an ability
      • Unit - A unit owned by Player 19 (Mint) Starts the effect of an ability
      • Unit - A unit owned by Player 20 (Lavender) Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Militia (Peasant Knight)
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Casting unit) has buff Village Hall Aura (effect) ) Equal to True
        • Then - Actions
          • Unit - For Unit (Casting unit), start cooldown of ability Summon Tower (Peasant Knight) (Q) " over "60.00 seconds.
          • Unit - For Unit (Casting unit), start cooldown of ability Pocket Factory " over "60.00 seconds.
        • Else - Actions
          • Unit - Order (Casting unit) to Stop.
 
Top