Well, dont need to say more, is it possible that if you target 1 enemy you get animation1 and if you target all you get animation2? ?
MV Yanfly selection controll different animations for single and multi attack
Javascript/Plugin SupportYou would have to program the skill with Yanfly's Action Sequences.
Inside the action sequence, you can do
to see if the skill has targeted more than one enemy.
Inside the action sequence, you can do
Code:
if BattleManager._targets.length > 1
to see if the skill has targeted more than one enemy.
thank you but then what should i do to actually have right animation played?
Read the instructions in the Action Sequences plugin. The command to play an animation is clearly listed.
If you do this, you will have to program the entire skill for it to work properly. It's not just throwing in two lines to play one animation or the other.
If you do this, you will have to program the entire skill for it to work properly. It's not just throwing in two lines to play one animation or the other.
Original thread: https://forums.rpgmakerweb.com/threads/yanfly-selection-controll-different-animations-for-single-and-multi-attack.163391/