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

AOE Banish

Status
Not open for further replies.
Level 15
Joined
Jul 9, 2008
Messages
1,552
here this is quite easly done with dummy units casting the spell on a unit group
  • AoE banish
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Bansish AoE
    • Actions
      • Set Cast_loc = (Target point of ability being cast)
      • Custom script: set bj_wantDestroyGroup = true
      • Unit Group - Pick every unit in (Units within 300.00 of Cast_loc matching (((Matching unit) is A structure) Equal to False)) and do (Actions)
        • Loop - Actions
          • Unit - Create 1 Dummy for (Owner of (Triggering unit)) at Cast_loc facing Default building facing degrees
          • Unit - Add Banish (dummy) to (Last created unit)
          • Unit - Set level of Banish (dummy) for (Last created unit) to (Level of Bansish AoE for (Triggering unit))
          • Unit - Order (Last created unit) to Human Blood Mage - Banish (Picked unit)
          • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
      • Custom script: call RemoveLocation(udg_Cast_loc)
Note i didnt know if u wanted it to only be able to hit enemy units or not so i left it as the default witch allows it to be cast on both allies and enemy units
 

Attachments

  • banish.w3x
    19.3 KB · Views: 35
Status
Not open for further replies.
Top