Quote:
|
Right now, using the following code, the aircraft diving animation plays as soon as you target the enemy instead of when you reach the enemy. What do I have to change to fix it?
|
As far as I'm aware, you can't. I've got the same thing, only I used the Aurora logic; when an enemy is selected, the units locomotor changes so the preferred height is reduced (saves needing to make a new anim - although looking at the code it looks like your X-Wing opens out too, so thats no use).
I suppose you could combine it with deploying logic, where the unit "deploying" is a diving anim.
If you get it working, I'd be interested to hear, as I'd like the same thing
