• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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