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,117
Reaction score
1,525
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 Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.

Forum statistics

Threads
106,037
Messages
1,018,464
Members
137,821
Latest member
Capterson
Top