- Joined
- May 10, 2014
- Messages
- 41
Hello!
I trying to make a spell that makes target enemy unit unselectable - to forbid enemy player to control him, and then give him an order to attack his own ally units or other order by trigger. It's something like 'Hypnosis'.
I try to give unit 'locust' ability, but it makes him invulnerable, the next problem is collision.
I also tried remove unit from player selection, but it's not fast enough, so enemy still can control unit (i mean human, not AI), and periodic timer bugs the game (with other triggers working at the same time).
Replacing unit with copy or something like that isn't possible, i think, because spell can be used on every unit on map.
Can somebody give me any ideas?
Or may be, someone know how to make it?
Anyway, Thanks for any information
I trying to make a spell that makes target enemy unit unselectable - to forbid enemy player to control him, and then give him an order to attack his own ally units or other order by trigger. It's something like 'Hypnosis'.
I try to give unit 'locust' ability, but it makes him invulnerable, the next problem is collision.
I also tried remove unit from player selection, but it's not fast enough, so enemy still can control unit (i mean human, not AI), and periodic timer bugs the game (with other triggers working at the same time).
Replacing unit with copy or something like that isn't possible, i think, because spell can be used on every unit on map.
Can somebody give me any ideas?
Or may be, someone know how to make it?
Anyway, Thanks for any information