SOLVED: Solution at the bottom of the post.
Hi!
I am currently eventing to make the faces of my busts dynamic (blink, speak, show emotions). I am using Visustella's VNPictureBusts, and most of it is going well, but there is a detail irking me, and I think this should be possible to do. The issue isn't related to the plugins, though.
On the speak animation, I want it to finish when the text has finished to display by default.
The issue is how to make it end syncronized with the end of text writing on the screen. Right now I am using a common event that I call at the end of each message (Visustella's MessageCore allows this), which triggers a switch that I am using to stop it.
However, having lots of dialogue, I wonder if there is a way to let the event know that text is all displayed without needing to invoke a common event to trigger a switch for that purpose.
Edit: Put everything clearer and shorter.
Edit2: I managed to do it. In case someone else has the same issue:
On rmmz_windows.js there is this function:
The this.pause means when all text is displayed, so it isn't writing anymore. I just copied the whole function into a script call on the common event I have to manage conversation animation and made it active a switch after
. With this, the animation properly ends after the text is finished to display without the need of addining something manually on each dialogue.
Hi!
I am currently eventing to make the faces of my busts dynamic (blink, speak, show emotions). I am using Visustella's VNPictureBusts, and most of it is going well, but there is a detail irking me, and I think this should be possible to do. The issue isn't related to the plugins, though.
On the speak animation, I want it to finish when the text has finished to display by default.
The issue is how to make it end syncronized with the end of text writing on the screen. Right now I am using a common event that I call at the end of each message (Visustella's MessageCore allows this), which triggers a switch that I am using to stop it.
However, having lots of dialogue, I wonder if there is a way to let the event know that text is all displayed without needing to invoke a common event to trigger a switch for that purpose.
Edit: Put everything clearer and shorter.
Edit2: I managed to do it. In case someone else has the same issue:
On rmmz_windows.js there is this function:
Code:
Window_Message.prototype.updateInput = function() {
if (this.isAnySubWindowActive()) {
return true;
}
if (this.pause) {
if (this.isTriggered()) {
Input.update();
this.pause = false;
if (!this._textState) {
this.terminateMessage();
}
}
return true;
}
return false;
};
Code:
if (this.pause) {