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

[Trigger] revolving units

Status
Not open for further replies.
Level 2
Joined
Sep 18, 2007
Messages
9
Is there any way to force a unit to continously circle around another unit while maintaining a certain distance away from it. (like planets around a star). Theres no need to do it for me I just wanted some suggestions to get me headed in the right direction
 
Level 40
Joined
Dec 14, 2005
Messages
10,532
That just makes Special Effects, Just_Spectating.

axemurda;

Every low amount of seconds of game time, loop through every unit. Now, find their angle to the star, and set their position to the star's position offset by <distance> towards that angle plus (or minus, depending which way you want them to spin) a bit.
 
Status
Not open for further replies.
Top