I am trying to design a missile that knocks enemies back laterally from the direction of movement. This missile does not stop when it hits an enemy.
I'd also like to know how to knock away from the caster.
Essentially, for those who play HOTS, I am trying to replicate Raynor's Penetrating Round and Thrall's Sundering.
-I am using an ability to launch a missile towards a point.
-The missile has a behavior that periodically creates a search effect.
-This search effect applies a marker, damage, a knockup (buff) and an apply force (which SHOULD be knocking them away from the source?).
However the apply force doesn't seem to be working. To be honest I'm not sure how to use it. I've tried creating a periodic effect to apply a smaller force a few times but I'm stuck, currently the missile is only doing damage and knocking the enemy up.
How can I make a missle knock enemies in its patch sideways or backwards?
force effects only work well in combination with persistant effects. setting up effects: the source unit is the missile, caster is the laucher of the missile, you need to set a high intervall counter for the persistant, force effect have a maximum effectivness
You need to apply the force every frame (0.0625 seconds). To handle the loss of the "source" argument use the source effect field and set it to the original effect used by the missile (the search area?).
I am trying to design a missile that knocks enemies back laterally from the direction of movement. This missile does not stop when it hits an enemy. I'd also like to know how to knock away from the caster.
Essentially, for those who play HOTS, I am trying to replicate Raynor's Penetrating Round and Thrall's Sundering.
-I am using an ability to launch a missile towards a point. -The missile has a behavior that periodically creates a search effect. -This search effect applies a marker, damage, a knockup (buff) and an apply force (which SHOULD be knocking them away from the source?).
However the apply force doesn't seem to be working. To be honest I'm not sure how to use it. I've tried creating a periodic effect to apply a smaller force a few times but I'm stuck, currently the missile is only doing damage and knocking the enemy up.
How can I make a missle knock enemies in its patch sideways or backwards?
force effects only work well in combination with persistant effects. setting up effects: the source unit is the missile, caster is the laucher of the missile, you need to set a high intervall counter for the persistant, force effect have a maximum effectivness
Might want to use a teleport effect instead
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
You need to apply the force every frame (0.0625 seconds). To handle the loss of the "source" argument use the source effect field and set it to the original effect used by the missile (the search area?).
@ImperialGood: Go
Worked like a charm, thanks you folks. <3