HUD Maker - Parameter Gauge + Number

Hello, I am trying to create a Gauge and a Number in the HUD Maker plugin but cannot fathom the code out.
Many moons ago I asked about the codes for getting variables and getting the number of items to show up and that all worked great (decided not to bump the thread for this question), now though I'm adding in a battle gauge and number for a Parameter but after spending the last hour trying to figure it out I have no idea how to do it and wondered if anyone could help?

When trying to get a variable count the code is this:
Gauge: $gameVariables.value(1)
Text Counter: ${$gameVariables.value(1)}

When trying to get independent item count the code is this:
Gauge: $gameParty.numIndependentItems($dataItems[1])
Text Counter: ${$gameParty.numIndependentItems($dataItems[1])}

So if I want to get the count for a Parameter such as Defense how do I go about it please?
👋 This ought to return actor 1's def:
Code:
$gameActors.actor(1).def
Alternatively, the first party member's def (note this starts at zero, not one):
Code:
$gameParty.members()[0].def
The other stats should be accessible via their usual abbreviations, e.g. atk, mat, mdf, agi, luk, hit, eva, ... 🙂
Superstar! thankyou!
Hello, I am trying to create a Gauge and a Number in the HUD Maker plugin but cannot fathom the code out.
Many moons ago I asked about the codes for getting variables and getting the number of items to show up and that all worked great (decided not to bump the thread for this question), now though I'm adding in a battle gauge and number for a Parameter but after spending the last hour trying to figure it out I have no idea how to do it and wondered if anyone could help?

When trying to get a variable count the code is this:
Gauge: $gameVariables.value(1)
Text Counter: ${$gameVariables.value(1)}

When trying to get independent item count the code is this:
Gauge: $gameParty.numIndependentItems($dataItems[1])
Text Counter: ${$gameParty.numIndependentItems($dataItems[1])}

So if I want to get the count for a Parameter such as Defense how do I go about it please?
Can you link your old thread?
Can you link your old thread?
I think it's this one: https://forums.rpgmakerweb.com/index.php?threads/hud-maker.92705/

Original thread: https://forums.rpgmakerweb.com/threads/hud-maker-parameter-gauge-number.105320/