Firearms! Guns! Boomsticks!

Hi

I'm new here and I need a bit of help.
Does anyone know or can help me replicate the "gun" skills from Persona 5? In Persona 5 when you select the "gun" command the character can freely "shoot" whatever enemies they want as many times as they want by pressing "X" until they either cancel the skill by pressing "O" or completely run out of bullets, at that point the character's turn ends. Some character with automatic weapons can even fire a continuous stream of bullets by holding "X"

I tried achieving this effect by using Yanfly's "Limited Skill Uses" and "Instant Cast" plugins. The problem with this method is even though the skill is used instantly, it's only used once before immediately returning me to the menu and I'm unable to freely attack whatever enemy I want as many times as I want until running out of bullets or canceling the skill like in Persona 5.

So can someone please help me with this? I'm making a small project that heavily revolves around the use of firearm and I want it to have that "FPS" feel to it. Having just generic skills would really divorce the player from the feeling of actually carrying a gun. If anyone can help me with this it'll be greatly appreciated.
Game Mechanics Design is for looking at aspects of game play at a more conceptual level. "How do I...?" (implementation) questions belong in the Support forum for the engine you are using.

Moved to: RPG Maker MV
I'd probably try using a Common Event to accomplish this kind of thing (the other option would be to find a "Combo Move" type of plug-in). Haven't completely thought through the logic of what would be in the Common Event, but if I wanted to imitate something like Persona 5, I would probably put a crosshair on the screen, allow the player to use the Left and Right arrows to select a target (which would move the crosshair to predetermined spots based on the enemy's location onscreen), and then have the player hit Spacebar as many times as they want to fire on that enemy.

Essentially, you'd be checking every few frames for whether the player has pressed Spacebar, and if they have, you run a Force Action event command - by the character and on the chosen target. As long as the action's animation is super-short (ideally you're using Front-View mode, not Side-View), you can get that smooth feel of rapidly firing on the enemy.

Obviously, track the character's Ammo. And allow the player to hit Escape (or maybe just wait for a while with no input) to stop firing for the turn - you'd want to Break the loop where it's checking every few frames for the Spacebar when this happens.
I'd probably try using a Common Event to accomplish this kind of thing (the other option would be to find a "Combo Move" type of plug-in). Haven't completely thought through the logic of what would be in the Common Event, but if I wanted to imitate something like Persona 5, I would probably put a crosshair on the screen, allow the player to use the Left and Right arrows to select a target (which would move the crosshair to predetermined spots based on the enemy's location onscreen), and then have the player hit Spacebar as many times as they want to fire on that enemy.

Essentially, you'd be checking every few frames for whether the player has pressed Spacebar, and if they have, you run a Force Action event command - by the character and on the chosen target. As long as the action's animation is super-short (ideally you're using Front-View mode, not Side-View), you can get that smooth feel of rapidly firing on the enemy.

Obviously, track the character's Ammo. And allow the player to hit Escape (or maybe just wait for a while with no input) to stop firing for the turn - you'd want to Break the loop where it's checking every few frames for the Spacebar when this happens.

Any idea on the very specifics of what I can do to achieve this?
It would be a huge pseudo-event to try and write out. Is there some part you're having a hard time with in particular?

If it's the whole thing you don't know how to conceptualize into an event, I would honestly start somewhere easier (a very simple card game with a small deck is a superb place to start for learning how to best utilize Common Events), build up your eventing skills, and then come back to this firearms processing later.
It would be a huge pseudo-event to try and write out. Is there some part you're having a hard time with in particular?

If it's the whole thing you don't know how to conceptualize into an event, I would honestly start somewhere easier (a very simple card game with a small deck is a superb place to start for learning how to best utilize Common Events), build up your eventing skills, and then come back to this firearms processing later.

Yeah it's the whole thing I don't know how to make, I'm honestly very new at this with zero previous experience so I thought replicating guns from Persona 5 and making a small project built around firearms and a more western tone would be an easy place to start. The gun thing actually came to mind after hearing about how spells work in D&D which where compared to bullets in a revolver, this also reminded me of a Penn and Teller act where they humorously referred to two Colt Python 357 magnums as "magic wands".

Original thread: https://forums.rpgmakerweb.com/threads/firearms-guns-boomsticks.109325/