Seal Player Skill per Enemy?

Hello everyone!

Rookie here working on my first game (besides a few "get to know the system" kinda things) and I have come up with an idea for my battles but have no idea how to implement it. I was hoping to find some help.

Basically the battle will make use of "ranges." Main weapons will be ranged, but when an enemy gets into "close combat," I want the Skills to emulate melee attacks. My actual question: is there a way (hopefully more simple than complex) to stop the player from selecting "Skill" if the enemy is too far away? And if I have multiple enemies, I would need to know how to do that on an individual enemy basis.

Thanks a lot in advance!

~Crafty McNDN
How do you determine whether an enemy is in "close combat" or "too far away"? What battle system are you using?
It's the standard battle system. I was using Enemy Transform battle events to emulate the monsters approaching the player.. essentially in three steps: Long Range, Short Range, Close Combat.
So what does it mean when a monster is "too far away"?

Original thread: https://forums.rpgmakerweb.com/threads/seal-player-skill-per-enemy.20766/