It launches correctly from the weapon. Yes, there is an action. The ability is identical to launching a missile from a missile turret without the persistent.
The problem is, even though it correctly fires from the weapon, the unit (immortal, in this case, using the missile turret for its turret) does not correctly rotate its gun to face the unit.
What do you mean "is the turret actor being created?".
A turret will not function without an actor being created for it. Create an actor and link it to your turret. The missile turret turret's actor is called something like 'mi too', compare it to that.
Turrets doesn't face the location of an ability being cast from my experience. It will only change direction when used by a weapon. Using a dummy target that gets shot by the caster is the only workaround as far as I know.
Ok... so... I foundt a way to do that.
It's far from being perfect, but it's better than random shooting angle.
So, you have to go to the settings of your turret and you have to change the following values :
Fidget chance array : Idle 100 (0 to everything else)
Fidget delay max : 0.1 second
Fidget delay min : 0 second
Idle : Reset
Yaw Start : 0
So... that means that everytime the turret go idle (like when using an ability), it'll reset to it's original position.
You must also remove any footprint on your turret.
That mean the whole structure will rotate to face the target and the turret will be locked in the front angle, thus giving the impression your turret is facing the ennemy. Still... it makes your whole structure rotate... still better than nothing.
How is this done? In my map, the turret doesn't respond when an ability is cast, but the ability casts fine. It looks really weird on a tower.
The turret I'm using is missile turret.
is the turret actor being created?
Is the launch site for your ability set right?
Do you have an action actor for the ability?
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil: Go
It launches correctly from the weapon. Yes, there is an action. The ability is identical to launching a missile from a missile turret without the persistent.
The problem is, even though it correctly fires from the weapon, the unit (immortal, in this case, using the missile turret for its turret) does not correctly rotate its gun to face the unit.
What do you mean "is the turret actor being created?".
@Vexal: Go
A turret will not function without an actor being created for it. Create an actor and link it to your turret. The missile turret turret's actor is called something like 'mi too', compare it to that.
Turrets doesn't face the location of an ability being cast from my experience. It will only change direction when used by a weapon. Using a dummy target that gets shot by the caster is the only workaround as far as I know.
@Builder_Bob: Go
Ok... so... I foundt a way to do that. It's far from being perfect, but it's better than random shooting angle.
So, you have to go to the settings of your turret and you have to change the following values :
Fidget chance array : Idle 100 (0 to everything else)
Fidget delay max : 0.1 second
Fidget delay min : 0 second
Idle : Reset
Yaw Start : 0
So... that means that everytime the turret go idle (like when using an ability), it'll reset to it's original position. You must also remove any footprint on your turret.
That mean the whole structure will rotate to face the target and the turret will be locked in the front angle, thus giving the impression your turret is facing the ennemy. Still... it makes your whole structure rotate... still better than nothing.