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,438
Reaction score
2,549
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
44
Reaction score
48
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,438
Reaction score
2,549
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

Make a Game in RMMZ Streams are going to remain in hiatus this week. Too much to do! 4 things will be announced on Monday though! Look forward to that.
Typed a long-ish reply to a post... forgot to actually HIT the post button, and moved to a different page.... finally noticed, don't remember what all I had typed and don't feel like trying to re-type it all.... smh....
Their tactics are evolving. They've learned to call for help when cornered. Never trust a mammal!
Good morning all. I still have a post up on video editing for cinematic trailers. Please make sure to check that out and give me a message as its still active in offers.
Hey everyone! I'm back :D

Snow White? More like Snowhere to be seen amiright? Hahaha I'm so sorry!! :kaocry:

Forum statistics

Threads
112,366
Messages
1,067,812
Members
146,016
Latest member
LioTheLion
Top