Hi
I have problem in tower defense.
Enemy units want to steal children from the center of the map (instead of life). If enemy comes into middle, it persuade one child to follow it back to spawning zone. If they reach it, they both disappear. If player lost all his children (number of children depends on difficulty), game is over. During the wave, player can return one of his child back.
My problems
- when followed unit dies, i want return child back to middle
or
- if followed unit dies, child will stop movement. If another enemy unit come close to it, they will run to spawning zone.
How can it be done?
Thx for help
I have problem in tower defense.
Enemy units want to steal children from the center of the map (instead of life). If enemy comes into middle, it persuade one child to follow it back to spawning zone. If they reach it, they both disappear. If player lost all his children (number of children depends on difficulty), game is over. During the wave, player can return one of his child back.
My problems
- when followed unit dies, i want return child back to middle
or
- if followed unit dies, child will stop movement. If another enemy unit come close to it, they will run to spawning zone.
How can it be done?
Thx for help