[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,108
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