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

make different units move constantly with the same trigger?

Status
Not open for further replies.
Level 6
Joined
Jul 26, 2010
Messages
167
well I have a trigger that makes a unit move in circles, just by changing the angle and point with a loop. Thats fine but lets suppose I want to make another unit move in circles with the same trigger how I do it?, and I mean with difrent angles, for example the unit 1 is spinning and goes by 70° degrees and the other one goes by 200°. Ive tryed to use the trigger for both units but It only work for the last triggering unit. :ogre_icwydt:
 
Level 21
Joined
Mar 27, 2012
Messages
3,232
well I have a trigger that makes a unit move in circles, just by changing the angle and point with a loop. Thats fine but lets suppose I want to make another unit move in circles with the same trigger how I do it?, and I mean with difrent angles, for example the unit 1 is spinning and goes by 70° degrees and the other one goes by 200°. Ive tryed to use the trigger for both units but It only work for the last triggering unit. :ogre_icwydt:

Use a unit indexer(Bribe has made a nice one)
Create a real array for the turning angle of units and
Unit group for turning units

Then make a periodic trigger that picks every unit in the group and orders them to move.
 
Status
Not open for further replies.
Top