How show HP/HPmax MP/MPmax text box (actorData.hp)?

Jonforum

Veteran
Veteran
Joined
Mar 28, 2016
Messages
1,623
Reaction score
1,439
First Language
French
Primarily Uses
RMMV
Hellos friends.
after much research, I have found nothing in rpgmaker to display natively basic states in a message.
An expert -it could help me find a script that will display statistics.
Or maybe an expert who could use these call script.
I have found nothing that allows this kind of action.
Thanks for your help
I wish I could just write example
\ <Hp>   \ <Mhp> to display the max HP and HPMAXIMUM in a message.

Code:
     \<hp\>, actorData.hp);
     \<mp\>, actorData.mp);
     \<tp\>, actorData.tp);
     \<mhp\>, actorData.mhp);
     \<mmp\>, actorData.mmp);
     \<atk\>, actorData.atk);
     \<def\>, actorData.def);
     \<mat\>, actorData.mat);
     \<mdf\>, actorData.mdf);
     \<agi\>, actorData.agi);
     \<luk\>, actorData.luk);
     \<hit\>, actorData.hit);
     \<eva\>, actorData.eva);
     \<cri\>, actorData.cri);
     \<cev\>, actorData.cev);
     \<mev\>, actorData.mev);
     \<mrf\>, actorData.mrf);
     \<cnt\>, actorData.cnt);
     \<hrg\>, actorData.hrg);
     \<mrg\>, actorData.mrg);
     \<trg\>, actorData.trg);
     \<tgr\>, actorData.tgr);
     \<grd\>, actorData.grd);
     \<rec\>, actorData.rec);
     \<pha\>, actorData.pha);
     \<mcr\>, actorData.mcr);
     \<tcr\>, actorData.tcr);
     \<pdr\>, actorData.pdr);
     \<mdr\>, actorData.mdr);
     \<fdr\>, actorData.fdr);
     \<exr\>, actorData.exr);
     \<level\>, actorData.level);
     \<maxlevel\>, actorData.maxLevel());
     \<exp\>, actorData.currentExp());
Code:
Window_Message.prototype.convertNameBox = function(text) {
		text = text.replace
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,668
First Language
German
Primarily Uses
RMMV
you're going at it from the wrong direction.


use a control variable command to load the game data you want into the variable before the show text (all your values are available as game data by default, no need for any script) and then display the variable value with the default text codes in the show text
 

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

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,853
Messages
1,016,986
Members
137,561
Latest member
visploo100
Top