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,423
Reaction score
2,517
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,423
Reaction score
2,517
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

Pretty much stopped posting in the progress thread cuz it feels like talking to the void, lol, so I've just been posting on IG instead. But someone finally liked my post there, lol. Dunno if I'll continue tho. Probably not xD

My game's progressing quite well. Just kinda stuck on mapping right now. Decided to go the side, slightly top down view route. I'm drawing everything from scratch for a personal touch uwu
Stomach isn't feeling too good last time. Perhaps something I ate
Phew! logged back. Seems I was too occupied with 3D learning (yeah for RPGM purposes) creating IRL space, trying to grow catnip, dealing with health and DC is good. (so MrC) ^^
Tyler.stewart wrote on Cherry's profile.
I was wondering if you've heard anything about the patch that allows you to show text anywhere on the screen utilizing pictures being upgraded to work with the official 2k3 release? Your work with 2k3 is awesome dude, keep it alive. I'm 33 and am still playing with 2k3 largely thanks to your work with the game engine. I appreciate the official patch updates you post. Please continue posting
Currently trying to add items in the same style as Kyrise's excellent icons. I like having a large variety of items :3 KyriseandMe.PNG

Forum statistics

Threads
112,333
Messages
1,067,465
Members
145,970
Latest member
creeperQ7
Top