Help!!! How can I put the class in the hud.

zombie-dog

Villager
Member
Joined
Oct 17, 2020
Messages
8
Reaction score
1
First Language
Español
Primarily Uses
RMMV
Hello, query how I can change the character class with the Hud Maker plugins, I have used several scripts but it does not change it, the one in the photo use this $ {$ gameParty.leader (). Nickname ()} try class, currentClass, Role, etc ... does not change. Occupy Rpg Maker MV.

clase de personbaje.jpg
 

BK-tdm

Manga Maker
Veteran
Joined
Jun 21, 2018
Messages
189
Reaction score
368
First Language
English
Primarily Uses
RMMV
you can create multiple text iterations and stack them there, then set the condition to show as a variable, lets call it "Class".

You'll have to set the variable depending on the class so if we have mage,thief,warrior thats 3 classes and you set the variable "Class" accordingly:
Mage=1
Thief=2
Warrior=3

When you select a character, start the game or whatever the class variable has to be set to the corresponding value, which will then activate its corresponding text or image in the hud, if you use a class changing system you will have to update the variable on the class change event so the hud changes accordingly.

So on the hud maker you make the "Mage" text and set the show condition to the variable Class==1, any other number will not show "Mage" and instead the corresponding class.
 

Dopan

Veteran
Veteran
Joined
Mar 27, 2020
Messages
493
Reaction score
222
First Language
German
Primarily Uses
RMMV
Im using "$gameActors.actor(1)" for this Example but that should work the same as using "$gameParty.leader()"
("$gameActors.actor(1)" is only depending on actor ID(1) , "$gameParty.leader()" is only the Party Leader)

JavaScript:
$gameActors.actor(1)._classId
// returns the ID of the Class of Actor 1
But with this solution ,you need an extra "if condition" that gets the Class Name depending on the Class ID

JavaScript:
$gameActors.actor(1).currentClass().name
// the solution from Caethyril
// tested it & this returns "ClassName"
-> what Caethyril mentioned should work better ..

Edit
Also there is a List of ScriptCalls which can be used with the HUD Maker using "$gameActors.actor(1)" in my Signature Spoiler..
 
Last edited:

zombie-dog

Villager
Member
Joined
Oct 17, 2020
Messages
8
Reaction score
1
First Language
Español
Primarily Uses
RMMV
Thank you, the answers helped me a lot, I appreciate them.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

being able to transition music seamlessly is amazing. my main character's theme has lyrics and it goes from vocal version to istrumental when he leaves his room. and vice versa. and thanks to a plugin, the transition is seamless. I love it.
All of the auditions for our game are so good, I'm so glad I'm not in charge of choosing completely. lol I just can't with some of them. I listen to them on repeat. XD
Working on a Patch to integrate AlphaABS into random generated Dungeons. Was a bit tricky, but the outcome is a real Life Changer!!

Will release it the next days!
Been pretty busy... but I got a better headset for recording and listening today. Dad says that he'll consider taking me to Great Wolf Lodge for the first time once I finish summer classes (my final semester!) I'll be taking my plushie friends with me: Bendy, Lolbit, and Helen Henny. (I WUV PLUSHIES!)
SF_Monster3,4 added!

Forum statistics

Threads
105,651
Messages
1,015,293
Members
137,327
Latest member
Mezzy
Top