How to add a Battle event like "If a particular skill is used"

Hello!
I'm pretty new to the RPG Maker VX Ace, (got it a week ago) 🙂

so this might be easy to solve, but I just don't find a solution to it myself

My question is that, I would like to know how I could set up this following thing:

I have this nice boss fight scene in my mind, where the player has to use a certain skill to win, (which can be obtained after some various puzzles) and in the battle scene if player has this skill and uses it to boss, the boss would react to it fearfully and would be the only key to defeat him.

So the line I'd need is something like this: Conditional Branch --> Tab 2, Actor -->  Skill "X" is used, instead of "learned" as it is in default.

I wonder if I can get somehow this event also without much scripting, because I'm not much of a coder myself, but if it needs it, I just hope I can learn to do it. And do it so that it won't mess up other things.

So I hope you can help this poor noobie out! 😀
It's easy, but you have to think around and add another step.

A lot of conditions, checks and other options require this, as the conditions and conditional branches have only limited options...

Make a common event "special skill used", containing only one command: Control switch "Boss attacked with Skill = ON".

Add that common event to the special skill as a feature, and whenever that skill is used that switch will be turned on.

Now make a troop event in the boss fight that is conditioned on that switch, and have it contain whatever the boss should do when hit by that skill.

You'll probably need to add a few checks to turn the switch OFF if it's used on a different target than the boss, to prevent the boss covering in fear if the skill was used several battles ago on a minion - but the basic concept should be clear.

Same goes for a lot of other checks, for example

1) control variable = game data

2) conditional branch variable = ?

to check for game data that is not part of the conditional branches, but part of the accessable game data.

You might also follow the link in my signature to a lot more tips, hints and tutorials.
Thanks for the tip!
It seems to be alright!
I by this aid, my game idea will be way much more flexible and looks much more creative.

And yes I try to read more tutorials as well but I just got so interested about actual game

creation and thinking ideas. But I don't always know what would be the best way to do it.

Maybe I'll try to publish it somewhere online when it's finished.
 

Original thread: https://forums.rpgmakerweb.com/threads/how-to-add-a-battle-event-like-if-a-particular-skill-is-used.19661/