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
210
Reaction score
462
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
678
Reaction score
348
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.
 

Latest Threads

Latest Posts

Latest Profile Posts

3am me: So how do you feel about a character inviting their own character portrait to a tea party? =D

3pm me: //facepalms
I turned 17 two months ago and I feel like I've grown (personality-wise) more in this 1 year than all the 16 years I had lived combined.
Ugh, I may have been cumbersomely eventing a bunch of stuff I could have easily done changing the tileset "Passage (4 dir)" and "Ladder" options. Oops :D
I have no idea why some of the program "splash screen" always on top. E.g, RMMZ loading screen stuck on the top blocking anything I want to do until it fully loaded. What is even the purpose?
One of the secret places in the game.

Forum statistics

Threads
107,644
Messages
1,031,103
Members
139,765
Latest member
silvake1543
Top