Hi,
I've been looking for a way to create new stats and gauges tied to specific actor.
I have an hunger system but it's not tied to 1 character and every party members interact with the same hunger gauge.
Do i need more variable? i've seen plugins that do what i want but they all are for MV and the ones that works for MZ don't have visual support in game.
I know that MZ gauges work differently.
Do i need to work with the rpg maker JS files ?
No, you should never change any of the engine files - that is what the plugin files are for, to override the engine functions.
for gauges you will need a plugin, because that would be too difficult to do by eventing on the mapscreen, and any change to the menu screens requires a plugin.
that said, you can either use more variables and assign them internally to actors, or you can have the plugin that changes the screens create the new values without using game variables
as I said - under plugin requests, that is the name of the subforum
Can someone tell me what i've done wrong in the coding?
Only " return $gameParty.members()[0].cparam(1); " is taken into account.
Edit: sorry for multi posting.
Edit2: so, what i'm trying to achieve is when i select the status menu of Partymember[0],
$gameParty.members()[0].cparam(1) is shown and if i select the status menu of partymember[1],
$gameParty.members()[1].cparam(1) is shown.
But for now it doesn't seems to work and only $gameParty.members()[0].cparam(1) is shown in the status menu of each party members, so when i add 5 for 1 party member, it visually add 5 in all status menu regardless of wich party member's menu it is.
Edit3:
// Declare Constants
const user = this;
// Calculations
if ($gameParty.members()[0]) {
return $gameParty.members()[0].cparam(1);
}
if ($gameParty.members()[1]) {
return $gameParty.members()[1].cparam(1);
};
Am i missing a constant or someting ?