Hi all I can't find out how to make my SV characters move right up to the enemy for their default Melee attack
Right now they just move forward a little bit by default but I would like them to move right up to the enemy for their Default attack .
You will need Yanfly's Battle Engine Core and Action Sequence Packs 1-3.
<setup action>display action
immortal: targets, true
</setup action>
<target action>
if user.attackMotion() !== 'missile'
move user: targets, front, 20
else perform start
end
wait for movement
motion attack: user
wait: 10
attack animation: target
wait for animation
action effect
</target action>
Dam for some reason now when an enemy attacks I get an error saying Type Error undefined is not a function.
Weird works for me, also with that code using a weapon with the action missile makes it where they don't run up and attack they just step forward.
Do you use Yanfly's Animated Side View Actors? I do so maybe thats why it works for me. Quick work around would be to make seperate enemy skills without that notetag. Makes for more interesting game play too, like a dog that bites or a dinosaur that uses claws.
I have noticed the NOTES you gave me also make the enemy move forward and I think because they don't have any animations the game crashes. The way I have fixed it i to remove the enemies default attack , spells seem to work fine for the enemy.