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

Catch right click order (smart) on a target unit but let my ordered unit move on

Status
Not open for further replies.
Level 28
Joined
Feb 2, 2006
Messages
1,630
Hey,
I am trying to create tanks in my map which automatically fire on locked targets while driving.
I am not using the phoenix ability since it picks random targets?
The player can cast a lock target ability and order to move on units etc. which locks them as targets as well.
The problem is that when the player moves the tank on a unit I want to store it as target unit (which already works) but not the tank to move to the target unit but continue to move in its original direction.
Is it somehow possible to cancel the change of movement direction but still catch the order to the unit?
 
Status
Not open for further replies.
Top