Apply damage to all simultaneously

DarthKreggles

Villager
Member
Joined
Jun 7, 2018
Messages
21
Reaction score
2
First Language
English
Primarily Uses
RMMV
I am sure this has been covered somewhere, but I can't, for the life of me, find it anywhere.

I have a shotgun weapon in my game that I want to hit all enemies simultaneously. I am using Yanfly's Weapon Unleash to swap out the normal attack command for a skill that hits all the enemies, but the damage is still applied one at a time with the annoying damage sound effect each time it is applied. I would rather have the damage applied to all enemies with no sound effect other than the animation sounds. Do I need a different plugin to accomplish this?

I'm new at this, so if there was an obvious way to do this that I missed, I'm sorry. Also I know basically nothing about scripting, but I am trying to learn, so if your suggestion involves scripting, please explain in layman's terms.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,713
First Language
English
Primarily Uses
RMVXA
Coming at this sideways - in Yanfly's Battle Core plugin, is there anything about a tag you put in the skill note box telling it to do one animation for a multi-enemy skill?

The reason I am suggesting you look for this is that there is that tag in the Ace version, and I would be surprised if that hadn't been carried over into MV.
 

Mihe

Veteran
Veteran
Joined
Apr 16, 2014
Messages
193
Reaction score
71
First Language
English
Primarily Uses
RMMV
I am sure this has been covered somewhere, but I can't, for the life of me, find it anywhere.

I have a shotgun weapon in my game that I want to hit all enemies simultaneously. I am using Yanfly's Weapon Unleash to swap out the normal attack command for a skill that hits all the enemies, but the damage is still applied one at a time with the annoying damage sound effect each time it is applied. I would rather have the damage applied to all enemies with no sound effect other than the animation sounds. Do I need a different plugin to accomplish this?

I'm new at this, so if there was an obvious way to do this that I missed, I'm sorry. Also I know basically nothing about scripting, but I am trying to learn, so if your suggestion involves scripting, please explain in layman's terms.
Can you show us a screenshot of your skill setup please?
 

JamesRyan

Game Designer
Veteran
Joined
Sep 13, 2014
Messages
696
Reaction score
215
First Language
Vietnamese
Primarily Uses
RMMV
If you are using YEP Action Sequence Packs (1, 2, 3) and want to deal damage to all enemies simultaneously, just put your action sequences which deal damage into <whole action> tags, then leave <target action> tags blank like this:
Code:
<whole action>
do something
action effect
</whole action>

<target action>
</target action>
 

DarthKreggles

Villager
Member
Joined
Jun 7, 2018
Messages
21
Reaction score
2
First Language
English
Primarily Uses
RMMV
@JamesRyan Ok. I used those in a previous project and I think I know what you're talking about. I will turn them on for this project and play around with it and see if I can get it to display the damage the way I want. I'll let you know if it works out.

EDIT:
@JamesRyan It worked!!!
On the skill page I added in the note section:
<whole action>
motion attack: user
action animation
wait for animation
action effect
</ whole action>

Thanks very much.

Do you know what the correct phrasing is to get it to wait X frames instead of waiting till the end of the animation?
 
Last edited:

JamesRyan

Game Designer
Veteran
Joined
Sep 13, 2014
Messages
696
Reaction score
215
First Language
Vietnamese
Primarily Uses
RMMV
You can use this. Note that if you set your animation speed to 20 FPS, each frame of animation lasts 3. And if 15 FPS, each lasts 4.
Code:
WAIT: x
Or use:
Code:
ANIMATION WAIT: X
to wait the exact frames of each animation.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Are we allowed to post about non-RPG Maker games?
I should realize that error was produced by a outdated version of MZ so that's why it pop up like that
Ami
i can't wait to drink some ice after struggling with my illness in 9 days. 9 days is really bad for me,i can't focus with my shop and even can't do something with my project
How many hours have you got in mz so far?

A bit of a "sparkle" update to the lower portion of the world map. :LZSexcite:

Forum statistics

Threads
105,883
Messages
1,017,236
Members
137,608
Latest member
Arm9
Top