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

Attack moves and stuns?

Status
Not open for further replies.
Level 8
Joined
Jan 17, 2019
Messages
163
So I need units to attack-move to an area and it seems stuns will make them stand still and forget that order. I'm having trouble figuring out how to deal with this without using waits since there could be multiple stuns going on at the same time. Anyone have an idea on how I can keep em movin?
 

Wrda

Spell Reviewer
Level 28
Joined
Nov 18, 2012
Messages
2,011
Do note using such things like (triggering unit) or (Target of the ability being cast) are lost in loops and unitgroups, be sure to set them with a variable at the start you want to refer to them during or after the loop/unitgroup.
This isn't exactly true. (Triggering Unit) can be used throughout the loops and anything, even waits.
Also (Target of the ability being cast) can be used in unit groups and loops. The problem is that this one is lost if you try to use it after a wait.
 
Last edited:
Status
Not open for further replies.
Top