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

can dummy units cast spells?

Status
Not open for further replies.
Level 40
Joined
Dec 14, 2005
Messages
10,532
unit is attacked

level of ( that good ol cloud summoning thing ) for attacking unit > 0

Custom Script: set bj_wantDestroyGroup = true

pick every unit in Units owned by owner of Attacking Unit matching unit type of matching unit equal to cloud and Order Picked Unit to attack Triggering Unit

NOTE: this will only work for maps where each player will have 1 unit summoning clouds. to do otherwhise
efficiently requires complicated *JASS* methods of data storage :?
 
Status
Not open for further replies.
Top