Yanfly Action Sequence... Detect a certain character

Basically I want to do a setup action that would only happen if the skill was used by a certain person. Any ideas on how to do it? I know this can only be done in Ifelse mode. If you don't know what it is, this is it's basic setup.


if $gameSwitches.value(1)


action effect


else if $gameSwitches.value(2)


action effect


action effect


else


action effect


action effect


action effect


end
Juging from the no posts, you want me to do it myself. I guess I could... But these gameswitch things are really confusing.
Can this plugin even detect a charactor or even the user of the skill anyways? I tried every way I know and nothing works.
I found a better solution to your problem, if you don't mind making friends with Google Translate xD


https://atelierrgss.wordpress.com/rmv-battle-cry/
I found the following bit from the Action Sequence sharing thread, and at least in my quick test battle it achieved the results you are looking for.


if subject.actorId() == 1
action effect
else if subject.actorId() == 2
action effect
action effect
else
action effect
action effect
action effect
end


Replace 1 and 2 with the appropriate Actor IDs and delete or add branches according to your needs.

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-action-sequence-detect-a-certain-character.63482/