I'm using a custom plugin, to open the dialogue boxes of my characters, like this one:
It even reads yanfly message plugins escape codes like "\\C" for color change.
But if I use something like:
Or:
It ignores the line break.
The visible line breaks on the editor are not ignored, only the code.
How can I add line breaks, like the ones the editor sends, to my code or change the Galv plugin to read line breaks?
Code:
var cap = ["<c:2,100,80>", "2,100,80"];
cap.index = 0;
var pos = 2;
var data = ["",0,0,0];
cap.input = "<c:2,100,80>Hey!";
$gameMap._interpreter.createCaption(cap,pos,data);
But if I use something like:
Code:
cap.input = "<c:2,100,80>Hey!\\nOver here!";
Code:
cap.input = "<c:2,100,80>Hey!<br>Over here!";
It ignores the line break.
The visible line breaks on the editor are not ignored, only the code.
How can I add line breaks, like the ones the editor sends, to my code or change the Galv plugin to read line breaks?