I ran into this same problem a while back. The solution that I used was that I made an ability that targeted a point and had that ability create the effects of the hellions cannon. Then in my triggers I had the Hellion use the ability directly in front of it.
I don't remember the exact syntax of the issue order action but when you handle your keydown event for attacking do something like this:
Order [Hellion] to ([Hellion Attack] targeting [PointWithPolarOffset(Position of ([Hellion]) offset by [1.0] with an angle of (Facing angle of [Hellion])])
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I ran into this same problem a while back. The solution that I used was that I made an ability that targeted a point and had that ability create the effects of the hellions cannon. Then in my triggers I had the Hellion use the ability directly in front of it.
I don't remember the exact syntax of the issue order action but when you handle your keydown event for attacking do something like this:
Order [Hellion] to ([Hellion Attack] targeting [PointWithPolarOffset(Position of ([Hellion]) offset by [1.0] with an angle of (Facing angle of [Hellion])])