RMMV Add exclamation mark to actor's action in battle

garret95

Villager
Member
Joined
Mar 15, 2017
Messages
8
Reaction score
0
First Language
Spannish
Primarily Uses
RMMV
Hi there, I'm a Spanish user and I'm currently having a problem with actor's action text in battle.
I need to put an exclamation mark right before the actor's name because we use two instead of just one at the end.
Is there any line of code I can modify to make this work?
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
3,363
Reaction score
2,485
First Language
English
Primarily Uses
RMMZ
Just enter the upside-down exclamation mark before the %1 in the skill's message box.
 

garret95

Villager
Member
Joined
Mar 15, 2017
Messages
8
Reaction score
0
First Language
Spannish
Primarily Uses
RMMV
Do you mean like this?

Sin nombre.png

If so it says "[Actor] ¡usa %1!"
 

Muk adel heid

Veteran
Veteran
Joined
Aug 3, 2013
Messages
43
Reaction score
47
First Language
Spanish
Primarily Uses
Hi!.

You'd want to look for a line inside of the "rpg_windows.js" which contains this:
this.push('addText', subject.name() + item.message1.format(item.name));
I think is the line number 5076.

Replace that line with this one :

this.push('addText', "HERE!"+subject.name() + item.message1.format(item.name));

Replace "HERE!" with any word you want. It shows something behind the actor's name. So you may want to add the exclamation mark right there. ( "¡" )
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
3,363
Reaction score
2,485
First Language
English
Primarily Uses
RMMZ
Ohh, I forgot MV had the actor name built-in; MZ has it as part of the message, probably to avoid cases very much like this one. The above solution should work for your needs; the only potential exception is if you ever want to have a use message without an exclamation mark in it, for which you'd need an if statement to determine whether message1 ends with one to determine whether to show it or not.
 

garret95

Villager
Member
Joined
Mar 15, 2017
Messages
8
Reaction score
0
First Language
Spannish
Primarily Uses
RMMV
It worked! Oh my god it finally worked...

Thank you both for your assistance, problem solved!
 

Latest Threads

Latest Posts

Latest Profile Posts

Draw something
Me: No problemo! ''draws something''
Now draw the same thing from a different angle
Me: So....You have discovered my weakness...
I got a new PC... Nothing wrong with my lil laptop at all! Still works great, and I'll be using it for school. But, the specs for gaming were falling off fast. So I was selfish and bought myself a beast of a PC ^-^
Newstuff.PNG

Held hostage in my own house half the day by an old man that cant take hints or read body language, STILL manage to make some pixels! booyah! I should get a promotion!....No wait...I should get a job o_O
Potions are to be hoarded, not used... >_>

Forum statistics

Threads
112,238
Messages
1,066,764
Members
145,844
Latest member
SirSilver52
Top