How to check if a certain member performed Guard?

Hi!
In a nutshell, Solution is to find a way to hide *normal* guarding from a certain character or have the normal guard check if
a certain member performs it.

What I want out of this:
I have one member in the party who has this "YIN&YANG" meter, which has different levels and alters attack&defend powers. For example, basic attacking increases YANG and guarding decreases it (increases YIN).
It works fine. But I can´t use normal guarding for this member (Jany for now) because if another character performs guard, it would be stupid if Janys Yin increases.
I use many Visustella plugins, and for attacking the solution was to tie all Janys possible weapons to his own attacks which no other members can use. I´m sure there would be other ways to do this but it works for me.
This is good because the normal attacking option doesn´t show for jany, but instead his own attack option.
Too bad there is not a same kind of option for Guarding. I made a special skill type only for Jany which solves the above mentioned Yin increase for janys guard only, but there is still the visual problem as seen in the picture:
I´d much rather have the normal Guard option being removed alltogether (not just darker grey EDIT: currently the guard is out of use for Jany with the <Seal Guard> command) from Jany, or find a way to check that guard action is performed by Jany.

The last solution would be to just allow that normal guarding, and adding an element to the story where Jany learns a special kind of guarding which enables him to perform different kind of guarding only available to him.
Well anyway, I think you understood my problem. Any ideas? Thanks for your time.
Guardproblem.png
Ok, I found one good solution to the problem:
It was just to disallow Guard as the basic command option for the party, and then just go add

<Battle Command Guard> option for every other party member.
So the thread can be closed (or even deleted) if mods feel this was too "noob problem" 😀
You could also simply use VisuStella notetags on the Guard skill so that it does something only when used by the specific actor. That would be an easier solution, doesn't require any extra skills in your database.

You don't give any information about how the Yin/Yang is actually manipulated, but if you put into the Guard skill:
Code:
<JS Pre-Start Action>
if (user.actorId()==4) // Presuming Jany is actor ID 4
{
    put code here to decrease yin, increase yang, show an animation, whatever
}
</JS Pre-Start Action>
You don't give any information about how the Yin/Yang is actually manipulated, but if you put into the Guard skill:
It´s a very basic "foolproof" way of checking the YINYANG variable at the end or start of every turn in battle.
The variable can be anything from 2 (max Yin) to 8 (maxYang) and the value 5 is obviously middle. Most actions Jany has is tied to different Common events that alter the variable. Obviously, conditional bracnhes are used so the value doesn´t go below 2 or above 8
So certain actions can even add or extract more than 1 for the YINYANG variable, and certain actions just set it to a certain value (like always goes to 5 middle etc)
yinyangmeter.jpg
The variable can be...
None of that has anything to do with your post 🤣

We don't really care what Yin/Yang means in your game or what its number ranges can be or what the actor's name is or whatever...you're asking about changing it when one person guards. I pointed out you never say how you do that.

Nestled in the middle there I see you say you're using common events, so you can call that common event where I showed you above. Or if that common event is changing a game variable, you can do that directly, etc.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-check-if-a-certain-member-performed-guard.161197/