Custom Parameters Status Menu

Hello, Noob alert here. I'm trying to do what (i think) is a simple thing and now I'm wondering if I'm over thinking this. Basically I'd like to display a custom set of parameters Ex: Strength, Resilience, Intelligence, Wisdom and was using Yanfly's StatusMenuCore and X_ActorVariables. Now, I'm not wishing to over complicate this, I'm fine with "Attack/Defense & M.Attack/M.Defense and how they would display in the Equipment menu. However I'd like for the custom variable menu to show raw Strength (w/o weapon) Resilience (w/o armor) and Raw Intelligence would be M.Attack and raw Wisdom a M.Defense. A typical JRPG setup i imagine.... Anyways, Do i have to make a changing variable for each Character/Level/Parameter or is there and easier way to display this simple information??
You would have one variable per skill per actor ie.

Spoiler
Variable 1: Actor 1 base Strength
Variable 2: Actor 1 base Resilience
Variable 3: Actor 1 base Intelligence
Variable 4: Actor 1 base Wisdom
Variable 5: Actor 2 base Strength
....
Variable 9: Actor 3 base Strength
....
Variable 13: Actor 4 base Strength

Add notetags to every actors page per X_ActorVariables instructions. You then need a way of calculating these values and assigning them to your variables.

Code:
$gameActors.actor(x).paramBase(y)

Substitute x with the actor ID in the database, and then y with the parameter ID (2 = ATK, 3 = DEF, 4 = MAT, 5 = MDF) ie.

Code:
$gameActors.actor(1).paramBase(2)

This will give the base attack/strength of actor 1. Use control variable to assign this value to the correct variable.

Spoiler
upload_2019-2-3_13-56-20.png

Now you just need a way of updating this as the game progresses, which will be triggering an event that assigns all these values to the various variables, I would suggest looking at this plugin by yanfly:

http://yanfly.moe/2017/04/21/yep-133-utility-common-events-rpg-maker-mv/

It will allow you to trigger a common event based on certain things happening in your game (I haven't used it myself so I don't know how versatile it is).
Thank you very much for this! You answered my next question as well. I was wondering if i would need a common event constantly checking for the change in variable. This particular yanfly plugin is useful for many situations. Thanks again.

Original thread: https://forums.rpgmakerweb.com/threads/custom-parameters-status-menu.105176/