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

Move unit with attack - movement issue

Status
Not open for further replies.
Level 4
Joined
Feb 4, 2014
Messages
50
Hello there,

I created a trigger that works just fine, but there is a little cosmetic problem.
When the unit is ordered to move from region to region, it moves to the upper right corner. I have them set to die so they won't reach the center.

I have seen a solution here before, but it's a year now and I've forgotten where did I look for it and it makes it quite hard for me to rediscover the solution.

Also I would like to ask you how do i make it so I can have a random selection system without repeating any of already picked heroes. I don't want to use http://www.hiveworkshop.com/forums/spells-569/randomhero-v1-2-a-235597/ . I know what it does and even though it's a million years ago I still am not a complete stranger to coding, I am not sure how to handle it in the warcraft modding universe.
I am grateful for your replies. Thank you in advance.
 
Last edited:

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,255
I am not sure how hover fixes it but with land based movement this is to be expected as the path finder finds a route quickly that is sub optimal. Hover might fix it by sacrificing something with the path calculation so care should be taken.

In SC2 this is especially noticeable as stuff is prone to "zigzagging" as it passes through various pathing triangles.
 
Status
Not open for further replies.
Top