I'm using this plugin FELevelUpMV I'm having a hard time figuring out how to place the actor face graphic... I'm looking at this part of the code
then I want to show all 8 parameters at once and not if there was a change in the stat.
JavaScript:
var _Game_Actor_ChangeExp = Game_Actor.prototype.changeExp;
Game_Actor.prototype.changeExp = function(exp, show) {
if (pluginParams.DisplayLevelUp < 0) {
var display = false;
} else if (pluginParams.DisplayLevelUp === 0) {
var display = true;
} else {
var display = $gameSwitches.value(pluginParams.DisplayLevelUp);
}
if (display && this._feParams != undefined) {
var prevFeParams = this._feParams.clone();
_Game_Actor_ChangeExp.apply(this, arguments);
var nextFeParams = this._feParams.clone();
if (show) {
this.displayFeParamsUp(prevFeParams, nextFeParams);
// <--- insert command to show actor face graphics here
}
}
else {
_Game_Actor_ChangeExp.apply(this, arguments);
}
};
then I want to show all 8 parameters at once and not if there was a change in the stat.