RMMV Add exclamation mark to actor's action in battle

garret95

Villager
Member
Joined
Mar 15, 2017
Messages
14
Reaction score
2
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,707
Reaction score
2,809
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
14
Reaction score
2
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
50
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,707
Reaction score
2,809
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
14
Reaction score
2
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 Profile Posts

I've decided to try and be more social and less nervous about engaging. I'm always over thinking things - from now on when I'm worried or don't get something I'll just ask.
Sometimes a mechanic that is meant to add challenge is just annoying. Even the Final Fantasy games did not completely escape this pitfall of design. (FF8 draw system I'm looking at you - grrrr)
starting working on the sprites for one of my games major antagonists finally. here's the first frame of his chanting motion in battle.
Have spent too much time hammering out with a friend just how to make a reoccurring enemy that permanently learns skills you use against her.
I know what I want in a loose sense. Maybe I should just make a post asking for opinions and suggestions.

Forum statistics

Threads
113,737
Messages
1,077,077
Members
147,763
Latest member
M4loy
Top