• 🏆 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] How to make a unit orbit on your hero

Status
Not open for further replies.
Level 6
Joined
Apr 20, 2016
Messages
215
How can you make a unit orbit (move) around your hero because i am making my custom ability that when i cast a spell it creates 4 wisps then there is a lightning (finger of death) that connects from the first wisp to second and secon to so on then the wisps starts to move then the lightning moves within the same movement of the wisps
 
Level 18
Joined
May 11, 2012
Messages
2,103
Angle = 0°
Point1 = position of orbited unit
Point2 = Point2 offset by (your distance) towards (Angle + 5° -> the greater the number, the faster is orbiting)
move orbiting unit to Point2.

Keep in mind that this should be in looping trigger.

If you need help setting up trigger, report back here and I will help you achieve that. :)
 
Status
Not open for further replies.
Top