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

Force to cast an autospell

Status
Not open for further replies.
Nop, not really. You can also create a dummy unit, give it an expiration timer equal to the cooldown of your ability and, when it dies, order your units to cast the ability
  • Tr
  • Events
    • Unit - A unit dies
  • Conditions
    • (Unit-type of (Triggering unit)) Equal to Dummy
  • Actions
    • Custom script: set bj_wantDestroyGroup = true
    • Unit Group - Pick every unit in (Units in (Playable Map Area) matching (((Level of X for (Matching unit)) Greater than 0) and do (Actions)
      • Loop - Actions
        • Unit - Order (Picked unit) to X - Y - Z
 
Status
Not open for further replies.
Top