This problem has been with me a long while ago so I just leave the spells that is set to hit "All Enemies" without an action sequence. Occasionally I do experiment with ways to fix this problem but with the same result. Now these action sequence for "All Enemy" spells aren't intended to have any action sequences at the moment so I just decided to solely have them available to the Ultimate Abilities, which is my game's strongest spells. They're suppose to be flashy but like I said there's a problem with probably how I coded it.
So the main problem is that every time the user cast the spell after the cast animation and their cast motion the spell casts to hit every single enemy and right after that everything in the Target Action plays. What's even worse is that when the Target Action part plays the spell will individually hit each and every enemy, having the user do all the actions on repeat in each enemy, which is not my intention. As an example, there's my ability called Deadly Salvo where the character is suppose to do an attack motion with his pistol weapon before the Shoot All animation plays but what ended up happening is that the character instead commit the cast motion instead following with the animation (and then is followed by the character actually pulling out the pistol to shoot, the animation plays, takes effect on one foe, and repeat everything to ever single enemy).
Here's one of my group spells called Earthquake
It carries the same problem as Deadly Salvo but instead right now it's suppose to do the cast motion before the Target Action sequence. But still, after the cast motion the animation and effect to all enemies trigger first and then the Target Action sequence plays to hit each enemy in the field individually. Can someone guide me on how to fix this? Or at least a way to alter my intended spells?
One more thing😀espite having a 'shake screen' on the action sequence, the screen didn't shake even when it's during the Target Motion sequence.
So the main problem is that every time the user cast the spell after the cast animation and their cast motion the spell casts to hit every single enemy and right after that everything in the Target Action plays. What's even worse is that when the Target Action part plays the spell will individually hit each and every enemy, having the user do all the actions on repeat in each enemy, which is not my intention. As an example, there's my ability called Deadly Salvo where the character is suppose to do an attack motion with his pistol weapon before the Shoot All animation plays but what ended up happening is that the character instead commit the cast motion instead following with the animation (and then is followed by the character actually pulling out the pistol to shoot, the animation plays, takes effect on one foe, and repeat everything to ever single enemy).
Here's one of my group spells called Earthquake
<Setup Action>
display action
immotal: target, true
perform start
wait for movement
cast animation
wait for animation
action common event
</Setup Action>
<Target Action>
perform action
move user: forward, -80, 10
wait: 30
jump user: 200%, 10
move user: forward, 120, 10
motion thrust: user thrust, no weapon
wait for jump
action animation
shake screen: 3, 9, 30
wait for animation
action effect
death break
</Target Action>
<Finish Action>
immortal: targets, false
clear battle log
perform finish
wait for movement
</Finish Action>
display action
immotal: target, true
perform start
wait for movement
cast animation
wait for animation
action common event
</Setup Action>
<Target Action>
perform action
move user: forward, -80, 10
wait: 30
jump user: 200%, 10
move user: forward, 120, 10
motion thrust: user thrust, no weapon
wait for jump
action animation
shake screen: 3, 9, 30
wait for animation
action effect
death break
</Target Action>
<Finish Action>
immortal: targets, false
clear battle log
perform finish
wait for movement
</Finish Action>
One more thing😀espite having a 'shake screen' on the action sequence, the screen didn't shake even when it's during the Target Motion sequence.