Help Editing MOGs Battlehud script?

I'm editing MOG_BatttleHuds code for fun to see if I can customize it and im
having trouble editing this code, i want the following;

2970 this._face = new Sprite(ImageManager.loadBHud(("Face_" + this._battler._actorId)));

To be this;

2970 this._face = new Sprite(ImageManager.loadBHud((Battlers Actors face ID)));

What should Battlers Actors face ID be in order for it to work?

I'm wanting it to try to find say BattleHud1_1 if the battlers 1's actor is "actor1_1" so if I change the face in the settings to something else say actor1_2 it'll automatically change to BattleHud1_2 etc.
I figured this one out on my own lol, just replace line 2970 with

2970 var fcid = this._battler._faceIndex + 1
2971 this._face = new Sprite(ImageManager.loadBHud((((this._battler._faceName + "_" + fcid)))));


Now it finds the character info and changes it accordingly.

Actor face "actor1_1" will now look into the battleHud folder for "actor1_1", or if you prefer change faceIndex and faceName with charIndex and charName and instead it'll look at the sprite and assign a battlehud face.

I've moved this thread to Plugin Support. Thank you.


This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/help-editing-mogs-battlehud-script.104920/