RMMV SRD Hud maker says error when i try to put other party members name into battle screen even though im typimg the correct thing in the value section.

Joined
Sep 7, 2019
Messages
32
Reaction score
22
First Language
English
Primarily Uses
RMMV
Im trying to use SRD Hud maker and im trying to make a battle screen and i tried to put in other party members onto the screen,
but for some reason even though i typed in the right java phrase as what was shown in SRD'S Tutorial, it says ERROR. i kept trying to fix this for god knows how long and im slowly losing my sanity. any help will do.


Here is th java phrase just in case: ${$gameParty.members()[1].name()}
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
40,841
Reaction score
14,032
First Language
English
Primarily Uses
RMMV
Could it be because when you enter that, you have no additional party members?

Also, it's javascript, not java. The two are like chalk and cheese.
 
Joined
Sep 7, 2019
Messages
32
Reaction score
22
First Language
English
Primarily Uses
RMMV
Well adding a characther helped with the HP,MP and face. but not for the name.
PS: sorry about the javascript screw up. i though it was a different name for javascript.
EDIT: i managed to fix it. I retyped the javascript phrase and now it works.
Thanks for helping me! Now i don't have to start losing it again.
 
Last edited:

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
3,194
Reaction score
1,189
First Language
Dutch
Primarily Uses
RMMV
if you have 1 actor in the beginning, use 0 instead of 1.

0 = leader, 1 is party member 2, 2 = pary member 3 etc

leader can also define differently, but you can also try one of the following:

which I saved, so it might help you in some way?

Code:
$gameParty.leader()    - Party Leader

$gameParty.members()[0] - 1st Member or Leader
$gameParty.members()[1] - 2nd Member
$gameParty.members()[2] - 3rd member
$gameParty.members()[3] - 4th Member


========================================================
$gameParty.leader().level    - Party leader

$gameParty.members()[0].level    - 1st Member or leader
$gameParty.members()[1].level    - 2nd Member
$gameParty.members()[2].level    - 3rd Member
$gameParty.members()[3].level    - 4th Member


========================================================

$gameActors.actor(id)._name = ''

========================================================
SRD_HUDMaker plugin.

Cycle through actors faces. Set VALUE to:

BattleManager.actor().actorId()

========================================================

I use this as learning progress as well, but it can also come in handy in many ways :)
 
Last edited:

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
40,841
Reaction score
14,032
First Language
English
Primarily Uses
RMMV
If you retyped it and it worked, you probably had a typo. Did you retype it into your post here, or did you copy/paste? That's one reason screenshots are always better - we can see exactly what you put, warts and all :)
 

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
8,034
Reaction score
5,335
First Language
Dutch
Primarily Uses
RMXP

I've moved this thread to Plugin Support. Please be sure to post your threads in the correct forum next time. Thank you.

 

Latest Threads

Latest Posts

Latest Profile Posts

What Reviews say on RPG Maker MZ?
Looking back at some sketches, and game design documents on my PC dated summer of 2015. I started development with the release of MZ, but in 2015, I felt a strong desire to make a game out of the blue. I remember feeling sad for no apparent reason, and all these ideas rushed into my head. Now that I think about it, since that day, everything has become easier to do on my PC . . . it’s very creepy.
Everything's going to be alright! We're all in this together. <3
Aaaaannd published my game's tech demo. :D

Feel free to download and play it. And give feedback!
Hey everyone, we know that the edit bar is missing. We're working on it. You can talk about it in the announcement here: https://forums.rpgmakerweb.com/index.php?threads/forum-errors-missing-edit-bar-etc.132715/

Forum statistics

Threads
107,799
Messages
1,032,279
Members
139,941
Latest member
Finley
Top