Help with $gameMessage and storing dialogue

KuluGary

Warper
Member
Joined
Dec 13, 2014
Messages
3
Reaction score
0
First Language
Spanish
Primarily Uses
Hello!

Brief summary. I'm wanting to make a Visual Novel-like dialogue logbook, where the latest dialogue spoken by a character is stored in a menu.

I'm a novice at JavaScript, so what I thought is to push $gameMessage into an array I made in my custom plugin, and show that array's content in a window. There's two problems that arise from this:

First, all dialogue in itself doesn't appear at all. Secondly, if I do open any type of menu (options, save, or general menu) this appears:



So my question is, is it a good way to make this kind of system by using $gameMessage? Or is there another, more efficient way to do it? If it is the right way to do it, am I doing it wrong and is there some way to mend it?
 

TWings

The Dragon Whisperer
Veteran
Joined
Jul 26, 2017
Messages
527
Reaction score
860
First Language
French
Primarily Uses
RMMV
$gameMessage is an object. If you want some kind of log, you'd want to catch $gameMessage._texts (it's an array).
That beeing said, be aware that it only has text in it while the message is displayed on screen.

Concerning your second problem, this probably has to do with how you coded your custom plugin, but without seeing the code itself we can't help you much.
 

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,040
Messages
1,018,470
Members
137,821
Latest member
Capterson
Top