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,346
Reaction score
2,475
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,346
Reaction score
2,475
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

I am SO HYPED to share this trailer with everyone when its done. I almost want to tear up i had no idea how far i came along with Fallen Feather in these last 3 years.
how it looks from the top
Hike was successful guys! I made it to the top!
Add Film-like Visual Effects During Test-Play, Deploy Games with Electron | RPG Maker News #69

brain broken as soon as i figure out whats wrong with my game im taking a long nap

Forum statistics

Threads
112,187
Messages
1,066,450
Members
145,786
Latest member
pswpsw
Top