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!
Unit Group - Pick every units of (Unit-type of(<Your unit>)) and do (Actions)
Loop - Actions
Unit - Cause (Picked unit) to damage (Picked unit), dealing <Your damage value> with damage type Normal and attack type Normal
Animation - Play (Picked unit)'s attack animation
<Your further actions>
Your further actions must be within the Unit Group loop and remember to respond to Picked unit on all of the actions you want to add so your actions will respond to the unit itself.
Self-attack is not possible on Warcraft III; like sephiroth1234 suggested, you need triggers, since Warcraft III forces your unit to Attack-Move to its own position, when you order an attack towards itself. Chain Lightning is not a projectile, it's a lightning effect. What is more, if the unit attacks itself, the projectile/lightning effect will most likely not appear, since the unit's position is not changed, thus, for the lightning, a script of type:
Set Point1 = (Position of (Triggering unit))
Lightning - Create a Chain Lightning - Primary lightning effect from source (Point1) to target (Point1)
Custom script: call RemoveLocation (udg_Point1)
will not reveal a lightning, because the lightning's length is zero. Why? Cause if you get the distance between Point1 and Point1, it will return 0, since the references are both the same point.
If you mean the Chain Lightning ability to be able of damaging yourself as well, you need to add to "Targets Allowed" of the ability the "Self" too.
If you want to make your unit attack with lightning missle (Like Chimera) you must add ability to that unit (Lightning Attack if I remember correctly). So just copy that ability from chimera and change attack projectile type to lightning attack (I am not sure for name)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.