MV Help with YEP_AreaofEffect

I have a grenade item that explodes [DUH]. I have an AOE attached to the item and it works fine when I'm targeting enemies... The problem I have is when I use the item. Instead of through the grenade and exploding the enemies in the area, the item is thrown on one enemy, boom... Then the other enemies in turn, one at a time, right after each other....

I don't want this to happen, it's a consumable item and if there's more then one enemy in range the actor throws that many grenades, but only one grenade is consumed... It's just wrong.

Is there a way to make it explode in the middle of the AOE, one time?
Use Action Sequences and put the damage into a whole action tag.
Use Action Sequences and put the damage into a whole action tag.
That made the action one time for all the enemies in the area, but it still threw 4 grenades [in the event of 4 enemies] instead of one grenade for all the enemies... Basically, I'm wanting the actor to throw one grenade and have it explode and hit the enemies in a certain area. Not throw multiple grenades to hit each enemy...
That made the action one time for all the enemies in the area, but it still threw 4 grenades [in the event of 4 enemies] instead of one grenade for all the enemies...
I said put the damage into a whole action tag, not the throwing the grenade.

It's hard to tell you what to correct when you don't show your work.
I said put the damage into a whole action tag, not the throwing the grenade.

It's hard to tell you what to correct when you don't show your work.
Here is the entire NoteTag of the item:
Code:
<AOE Radius: 125>
<AOE Center Animation>
<Text Color: 17>
<Enable Requirements>
Actor: 1
</Enable Requirements>
<Picture: Grenade>
<setup action>
CAMERA FOCUS: user, CENTER
ZOOM: 110%, 15
opacity not focus: 0%, 15
wait for zoom
wait for camera
display action
</setup action>
<whole action>
</whole action>
<target action>
ZOOM: 130%, 10
if user === target
move user: home, 10
wait for movement
face user: forward
perform action
wait: 10
motion SWING: user, no weapon
wait: 10
projectile icon 876: start user, goal target, duration 120, arc 300, spin 1.5
ZOOM: 100%, 20
balloon !: user
WAIT FOR PROJECTILE
animation 294: user, mirror
animation wait: 20
else
perform start
face user: target
wait: 10
motion SWING: user, no weapon
wait: 5
projectile icon 876: start user, goal target, duration 120, arc 300, spin 1.5
CAMERA FOCUS: target, CENTER, 110
ZOOM: 100%, 30
wait: 15
ZOOM: 110%, 60
WAIT FOR PROJECTILE
action animation
animation wait: 20
action effect
SHOCKWAVE: CENTER targets, amplitude 40, wavelength 100, speed 0.05
wait for animation
</target action>
<follow action>
</follow action>
<finish action>
clear battle log
move user: home
wait for movement
face user: forward
reset camera
reset zoom
wait for zoom
opacity not focus: 100%, 15
</finish action>

If I change the damage to the "Whole Section" then it shows as many projectiles as there are targets... If I add the damage to the finish section then the damage doesn't take effect until the sequence sends the projectiles to all the targets individually.

Here is the Item in the Database"
ITEM.jpg


Here is the animation in the Database:
ANIMATION.jpg


If you could help me that would be great
There's some kind of lack of communication or understanding or translation going on.

The projectile has nothing to do with the damage.

The only thing that has to do with damage is the action effect command.

If you just put all the other junk into the setup action, it will do it one time, then put the action effect into whole action and it will damage all enemies simultaneously.
There's some kind of lack of communication or understanding or translation going on.

The projectile has nothing to do with the damage.

The only thing that has to do with damage is the action effect command.

If you just put all the other junk into the setup action, it will do it one time, then put the action effect into whole action and it will damage all enemies simultaneously.
Unfortunately, that din't work either...
This the Action Sequence I'm using:
<setup action>
CAMERA FOCUS: user, CENTER
ZOOM: 110%, 15
opacity not focus: 0%, 15
wait for zoom
wait for camera
display action
ZOOM: 130%, 10
perform start
face user: target
wait: 10
motion SWING: user, no weapon
wait: 5
projectile icon 876: start user, goal target, duration 120, arc 300, spin 1.5
CAMERA FOCUS: target, CENTER, 110
ZOOM: 100%, 30
wait: 15
ZOOM: 110%, 60
WAIT FOR PROJECTILE
action animation
animation wait: 20
</setup action>
<whole action>
action effect
SHOCKWAVE: CENTER targets, amplitude 40, wavelength 100, speed 0.05
wait for animation
</whole action>
<target action>
</target action>
<follow action>
</follow action>
<finish action>
clear battle log
move user: home
wait for movement
face user: forward
reset camera
reset zoom
wait for zoom
opacity not focus: 100%, 15
</finish action>

This is what is happening:


There are multiple grenades when there should only be one... That's what I'm trying to fix.
Then why not replace the "goal target" portion of the projectile command with a set of coordinates in the center of the screen?
Then why not replace the "goal target" portion of the projectile command with a set of coordinates in the center of the screen?
Well, that defeats the purpose of the area of effect I was trying to do....

Unfortunately it looks like there is no way to do what I wanted to do. So I changed the function of the item and changed the animation... It does what a grenade does, but it doesn't use the AoE at all and just hits everyone... Not what I wanted but the best I can do with what I have.

Thanks for trying to help me out, though
You could try my Target Extension plugin.

You'd replace goal target with goal targetnum 0 and it would throw one projectile at the first of the selected enemies.

If that doesn't work correctly, you can let me know in that plugin's thread - I don't know if there's any way to get the on-screen position of the AoE circle once the action has started, to try to actually target that.

Original thread: https://forums.rpgmakerweb.com/threads/help-with-yep_areaofeffect.168121/