Yanfly Actor Transformation - Change Battle Hud Face (Moghunter)

Hey Guys!


I'm using Transformations for my Actors - like Yanfly Shows it at: http://yanfly.moe/2016/07/06/tips-tricks-actor-transformations-rpg-maker-mv/#more-3276


There is the Code from the Lunatic mode for Copy and paste, everthing works just fine!!!


But the Face Picture in the battle hub doesn't Change, while the Actor is transforming...


I'm using the báttle hub plugin from moghunter in classic style: https://atelierrgss.wordpress.com/rmv-battle-hud/


Can anyone of you help me with the Code in Lunatic mode or know what i have to do for changing the Face in the battle hud while the actor ist transformed?


Thanks a lot for your Response 🙂

Battlehud ordner.png

Code Transform.png

Face Battlehud Teol.png
I'm interested too.


Link to the script: http://pastebin.com/FeFN6LQU
BUMP


Also someone tried to help me on french forum but his tweak crashed the game


He edited the part that stat at line 2014 in the plugin I posted above


Battle_Hud.prototype.create_face = function () {
if (String(Moghunter.bhud_face_visible) != "true") {return};
this.removeChild(this._face);
if (!this._battler) {return};
this._face = new Sprite(ImageManager.loadBHud("Face_" + this._battler._profile));
this._battler._temp_profile=this._battler._profile;
this._face.anchor.x = 0.5;
this._face.anchor.y = 0.5;
this._face_data = [0,0,false,false,false,-1];
if (String(Moghunter.bhud_face_shake) === "true") {this._face_data[2] = true}
if (String(Moghunter.bhud_face_animated) === "true") {this._face_data[4] = true}
this._battler._bhud_face_data = [0,0,0,0]
this.addChild(this._face);
};

Battle_Hud.prototype.update_face=function () {
_mog_bcursor_bhud_update_face.call(this);
if (this._battler._temp_profile!==this._battler._profile)this.refresh_bhud();
if (this._battler._bhfaceSize[0] === -1 && this._face && this._face.bitmap.isReady()) {
this._battler._bhfaceSize[0] = this._face.bitmap.width;
this._battler._bhfaceSize[1] = this._face.bitmap.height;
};
};


Here's the log error


95bf4a04c8.png

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-actor-transformation-change-battle-hud-face-moghunter.65496/