Random Panda

Veteran
Veteran
Joined
May 3, 2016
Messages
97
Reaction score
20
First Language
English
Primarily Uses
RMMV
Hi All,

This is sort of a continuation from my last post, as I am dealing with the same basic issue. But I have been trying to find a workaround. I need to show some text during a skill. Using something like:

Code:
eval: $gameMessage.add('text');

Almost works. It displays the text, but in order for it to display properly, it would need to be on the second line of a message window. So I tried:

Code:
eval: $gameMessage.add('blank line' + 'second line of text');

That did not work. And I tried:

Code:
$gameMessage.add('blank line');
$gameMessage.add('second line of text');

This worked when just implementing it from the script command, but I can't use it in an action sequence.

So my two questions are,

1. Does anybody know any other way to make a line break using $gameMessage.add
or
2. Does anybody know of anyway to do a block of script in an Action Sequence eval, something like this:
Code:
eval:   $gameMessage.add('blank line');
        $gameMessage.add('second line of text');

As always any help is greatly appreciated.
 

caethyril

^_^
Global Mod
Joined
Feb 21, 2018
Messages
3,675
Reaction score
2,760
First Language
EN
Primarily Uses
RMMZ
Maybe try this:
Code:
eval: $gameMessage.add('\nLine 2\nLine 3');
Or, to display via the battle-log rather than the message window:
Code:
eval: BattleManager._logWindow.addText('Hello!');
 

palatkorn

Veteran
Veteran
Joined
Nov 1, 2019
Messages
308
Reaction score
257
First Language
thai
Primarily Uses
RMMV
I've tried running the message window and it didn't work.
So I use it as a common occurrence in battle instead
 

Latest Threads

Latest Posts

Latest Profile Posts

My hand hurts from holding the pen for so many hours none stop...:kaocry:
Froggo32 wrote on Soulrender's profile.
I have to ask, who's on your pfp? The character really reminds me of Edgeworth from Ace Attorney lol. I'm really curious.

I'm trying to port L10nMV.js into XP, may probably (because this is my toy project in hobby) coming to XP, VX, VXA.

Learn more about L10nMV.js : https://github.com/Creta5164/L10nMV.js
L10nMV.js forum post : https://forums.rpgmakerweb.com/inde...r-game-without-modifying-your-project.120813/
Here's a gif of the reflection. Ace has some pretty cool sprite effects.
cYtUgp8.gif

Forum statistics

Threads
123,172
Messages
1,154,580
Members
161,533
Latest member
Chaos_Prince87
Top