Hello, I am trying to create a skill through action sequences where the character attacks and the enemies bounce off from the strike. I only need a single animation on multiple targets but I keep getting all attack animations directly on all the selected AOE targets.
I know this can be done by using only "setup action" and "finish action" but I want to create an animation that causes the enemy to recoil and it can only be done through "whole action".
How can I make it so that it's a single animation affecting an area while able to change the targets' movement from the aftermath of the attack?
Thanks in Advance!
I'm not super sure about what you're explaining.
But at the core of it is this:
per the Action Sequence instructions, <target action> will resolve against each target sequentially where <whole action> will resolve against all targets simultaneously.
So if you put your animation in the target action, it will play on each target as the skill goes through them.
If you only want it to play once, you'd put it in your whole action then put the effects and movement and whatever each target should be doing in target action.
If that's not what you're asking about, you should share the actual code of your action sequence.
Just to add to what turan said. If you make a whole action skill, you also need an empty <target action> </target action> above it, else it's still gona play the skill animation on all targets separately before running the whole action.
As for making enemies recoil.. You can move any enemy you want with.. I believe it was just Move targetX: code
Thank you for the reply, I have posted some pictures to make it easier to understand.
The skill is a spear attack that springs up the selected enemies when hit. But I only want to have one spear(the animation) instead of three. However, in order to have the enemies move at the right time, I need to use "whole action".
Below you see the three giant spears. When they get hit, I added "jump" in the action sequence to show the reaction to the attack. I want to make it one spear hitting the selected enemies while making sure the attacked enemies react to the attack.
Well in that case make your animation "Screen" not "Center" or any other single target in the animations tab.
The problem with "screen" is that the animation is only available in the same place so when I target enemies away from the location it seems inconsistent. Is there any other way?
Where can I find "any other single target"?