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

Coding a Stampede (in JASS)

Status
Not open for further replies.
Level 12
Joined
Mar 23, 2008
Messages
942
Hi, I need some help with codding a custom stampede.
I need to do the same thing as the spell, but with a range bigger than the size, since stampede only allow squares area.

My problem is, how can I do a trigger moving a unit every Xs if that unit have locust? I need to add it to a local var, but I can't do that because it will add or create a unit every Xs.

I can't think how to solve that...
 
Level 12
Joined
Apr 27, 2008
Messages
1,228
Solution to your problem:
As you create the units, that have locust, add them to a group. Than, move the units in the group.
 
Status
Not open for further replies.
Top