RMMV Yanfly action sequences Show text

Random Panda

Veteran
Veteran
Joined
May 3, 2016
Messages
91
Reaction score
14
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

^_^
Veteran
Joined
Feb 21, 2018
Messages
2,087
Reaction score
1,508
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
267
Reaction score
192
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
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,849
Messages
1,016,981
Members
137,563
Latest member
cexojow
Top