Here's the idea behind what I'm trying to accomplish;
The main hero is a necromancer. After the necro kills a unit, a random undead minion is spawned through triggers. Its important to note these minions are unable to be controlled and are owned by player 2 (an ally of Player 1)
They need to automatically follow the necromancer and attack random targets that are in range of the necromancer, and the minions also need to retreat if the necromancer gets out of range.
Its also important to note that I don't want them to just follow him via patrol command. Their collision is off and will be surrounding the necro in a big circle. With a simple follow command, they'll all stack on each other and it'll look incredibly tacky. I'm looking for a big mob of undead.
I don't need the entirety of how to make all of it work, I just need some building blocks to get this going. I've never been so stumped before.
Actual Question
How can I get my minions to follow my necromancer? And how can I check to make sure they won't fall behind BUT also be able to attack units within range?
gif for fun
The main hero is a necromancer. After the necro kills a unit, a random undead minion is spawned through triggers. Its important to note these minions are unable to be controlled and are owned by player 2 (an ally of Player 1)
They need to automatically follow the necromancer and attack random targets that are in range of the necromancer, and the minions also need to retreat if the necromancer gets out of range.
Its also important to note that I don't want them to just follow him via patrol command. Their collision is off and will be surrounding the necro in a big circle. With a simple follow command, they'll all stack on each other and it'll look incredibly tacky. I'm looking for a big mob of undead.
I don't need the entirety of how to make all of it work, I just need some building blocks to get this going. I've never been so stumped before.
Actual Question
How can I get my minions to follow my necromancer? And how can I check to make sure they won't fall behind BUT also be able to attack units within range?
gif for fun
