Linebreak in Yanfly's Event Mini Label?

KoalaFrenzy

Eucalyptus Salad. Every day.
Veteran
Joined
May 5, 2019
Messages
68
Reaction score
46
First Language
English
Primarily Uses
RMMV
Hello,

My game is partially set in an MMO, and I'm adding elements to make it feel like one. Typically, above every NPC and player, there's a name and guild tag. The best way to get this in seems to be the Event Mini Label plugin which works great for one line of text, but I'm not sure how to get a linebreak in it as \n doesn't do anything on this one.

I'm using the following line in the comment box: <Mini Label: \c[14]<Night Horde>\n\c[3]<Butterfly3918>>

Any thoughts?
 

Attachments

TSR

The Northern Frog
Veteran
Joined
Nov 14, 2019
Messages
279
Reaction score
244
First Language
French
Primarily Uses
RMMV
Hello! I might need something similar eventually so I made a slight Edit of the Plugin. With it, you can add a single linebreak in a mini label using '\n'.
I tested it using the label you provided:
<Mini Label: \c[14]<Night Horde>\n\c[3]<Butterfly3918>>
Should do what you asked...

*also, additionals '<' and '>' in your label are useless. It can be writed just like this:
<Mini Label: \c[14]Night Horde \n \c[3]Butterfly3918>

edit: just updated the file with a few fixes.
 
Last edited:

PresaDePrata

Veteran
Veteran
Joined
Dec 4, 2014
Messages
90
Reaction score
18
First Language
Portuguese
Primarily Uses
RMMV
@TSR

Nice i was doing the same by the morning today. You added this part right?

JavaScript:
for (var i = 0; i < max; ++i) {
      var ev = list[i];
      if ([108, 408].contains(ev.code)) comment += ev.parameters[0] + '\n';
    }
I'm thinking to add a configurable Y offset to it.

EDIT: It already exists <Mini Label Y Buffer: +x> :oswt2:
 

TSR

The Northern Frog
Veteran
Joined
Nov 14, 2019
Messages
279
Reaction score
244
First Language
French
Primarily Uses
RMMV

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

Latest Threads

Latest Posts

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,047
Messages
1,018,540
Members
137,834
Latest member
EverNoir
Top