MV How to get the value of the current Action Points using "VCM_ActionPoints"?

VMC_ActionPoints :https://vcm-plugins.itch.io/vcm-actionpoints

I'm trying to make an event that checks the value of the AP during battles.
Should it be something like "$gameParty.leader()....?" ?
basically I'm trying to create a custom gauge using pictures instead of the default ones.
if you have an idea about how to do that, that would really help me !
Thank you is you can help !

EDIT: I found the name value "$gameParty.members()[x]._ap" but I also need the maxAP value and I can't seem to find it :/
:ehappy:
You set it in the plugin parameters, you should already know what the value is O__o
You set it in the plugin parameters, you should already know what the value is O__o
For some reason, I can't seem to find it..!
or it just doesn't work 🙁
But why are you looking for some kind of code reference, when you can just use a number in your event? If you set max AP to 50 in plugin settings, then just use the value 50? $gameParty.members()[x]._ap / 50

Or are you using MP as your action points (in that case max AP setting isn't used according to the instructions)? But then you just get the max MP with .mmp

Or maybe I'm just misunderstanding something.
1692448460639.png


Now you will always know it's 100.
Okay Sorry maybe I wasn't being clear. I don't really like the default gauges so I'm designing a new one using SRD_Hud Maker. But for that, I need the references to create that AP gauge from scratch ^^ I don't know if there's another possibility to create custom gauges using pictures ?
My idea was also to maybe use variables to show a different picture based on the current number of AP. But I can't find a way to do that.
Something like " If : AP=X, Show Picture Y"
My idea was also to maybe use variables to show a different picture based on the current number of AP. But I can't find a way to do that.
That's not what you asked originally - your first post has the code for the current number of AP.

The maximum number of AP is whatever you set it to in the plugin parameters, there's no need to use a variable for that.

So...what is the outstanding question?

I haven't used HUDMaker, but I thought it could create gauges on its own.
I apologise, yeah I was first thinking of using a variable thing to create a custom gauge, and then I turned towards Hud maker because I felt like it might be easier.
Buuut still no :rswt2:
You can still do any of those things...you just don't need to use a variable. Any place code would have a variable, you can just type 100 or whatever you typed into the plugin parameter as the max AP.

If you still have a question about this, please provide screenshots of exactly what you're trying to do and explain exactly which part you're confused by.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-get-the-value-of-the-current-action-points-using-vcm_actionpoints.160405/