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
671
Reaction score
346
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

Based on this screenshot alone, which one would you sell, and which to equip?
Some random sketch-letons.

I have a strong urge to make a tutorial video of all the random things I've learned since starting on my game. little helpful tips and stuff that may help people.
Do you guys think it's better to have all members in your team from the beginning (then you can pick who battles) or you gain team members as the story goes?
PL: Patch polonizujący do RPG Makera 2003 prawie gotowy! Mamy przetłumaczoną bazę danych (projekt), polskie fonty, wiadomości walki i jakieś 90% edytora.
Do przetłumacznia pozostało te 10% edytora i plik pomocy. Niedługo więcej informacji!

Forum statistics

Threads
107,479
Messages
1,029,969
Members
139,606
Latest member
Aerilate
Top