MV Waynee95's Faceeval help

Hi, I use SRD_HUD Maker and Waynee95's faceeval plugins. There is an issue between them. I made this in my actors notetags :

<Custom Face Image Eval>
if (user.isStateAffected(1)) {
faceName = 'dead';
faceIndex = 0;
}

if (user.isStateAffected(13)) {
faceName = 'Bonus';
faceIndex = 0;
}
</Custom Face Image Eval>

my actors got a face when they get hit (state13) and when they're dead (state1). But the issue i talk about make things really hard. If i choose a face image for my actors, then the hit and dead one will appear behind the "normal" face selected in the database.

I think this issue have an easy counter which is to summon the normal face in the <Custom Face Image Eval>. I tried by myself but i'm not that good at javascript. I think i need to summon the normal face only if my actors are not affected by state 13 or 1. Can a savior help me with this, I'm really desperate.
I think i need to summon the normal face only if my actors are not affected by state 13 or 1
Sure, it's a simple else clause.
JavaScript:
<Custom Face Image Eval>
if (user.isStateAffected(1)) {
    faceName = 'dead';
    faceIndex = 0;
} else if (user.isStateAffected(13)) {
    faceName = 'Bonus';
    faceIndex = 0;
} else {
    faceName = 'Normal';
    faceIndex = 0;
}
</Custom Face Image Eval>
Sure, it's a simple else clause.
JavaScript:
<Custom Face Image Eval>
if (user.isStateAffected(1)) {
    faceName = 'dead';
    faceIndex = 0;
} else if (user.isStateAffected(13)) {
    faceName = 'Bonus';
    faceIndex = 0;
} else {
    faceName = 'Normal';
    faceIndex = 0;
}
</Custom Face Image Eval>
That's what i've tried and I retried with your code to be sure but it doesnt work. The normal face keep showing permanantly above the others. The others appear normally when summoned by faceeval but behind the normal face. I strange that the normal face keep showing itself even when my actors get state 1 or 13.
You may need to show screenshots of how you have the HUD Maker elements set up showing the face. It's likely they're set to show one specific image, regardless of the face changing.
Well, this does "summon the normal face only if my actors are not affected by state 13 or 1", I assumed that was all you needed. Can't you just set the regular face (via the editor) to "None" now?
Well, this does "summon the normal face only if my actors are not affected by state 13 or 1", I assumed that was all you needed. Can't you just set the regular face (via the editor) to "None" now?
Sorry I didnt precise that I set the regular face to none. I've still got the problem with your code. The regular face is still above other faces and didn't remove itself when these other faces are summoned. So they're juste hidden behind the regular face. And to reply to ATT_Turan, I applied the HUD Maker modification only on menus out ouf the battle system. the battle interface is juste the YEP_BattleStatusWindow's one. And even with the HUD Maker, dead and hurt faces are shown correctly, they're just hidden behind the normal. (I'm not sure that I understand your message but I hope it anwser it).
Well, all I can say is I just recently went through an entire thread with someone else who had an almost identical problem claiming it was the Face Eval and Yanfly's Battle Status, and they both work fine.

In that case, he had SRD's Battle Status Customizer on as well, and that was causing a conflict with the Yanfly.
Well, all I can say is I just recently went through an entire thread with someone else who had an almost identical problem claiming it was the Face Eval and Yanfly's Battle Status, and they both work fine.

In that case, he had SRD's Battle Status Customizer on as well, and that was causing a conflict with the Yanfly.
Yep ahah that was me. At the end of this previous thread i was thinking about changing from SRD HUD Maker to another HUD customizer plugin but it seems that SRD one's is the most powerfull and affordable. So it was obviously easier to change from waynefaceeval plugin from another that do the same thing. But it also seems complicated to find something similar.

It's because of this problem that I'm trying to search a solution to make these 2 plugins work together. By putin the "normal" face into the faceeval commands than in the database...

But it doesn't seems to work, maybe I will really need to change one of these plugins finally 'cause there is no way to use both of them. Do you know any plugins similar to Waynee95's faceeval ? Or do you think it's possible to makes the 2 plugins work together by some tricks 'cause the issue is not that big ?
I don't understand, are you still trying to use both Yanfly's Battle Status Window and SRD's Battle Status Customizer?

The mere presence of SRD's HUD Maker shouldn't do anything unless you're using it to create elements showing the face.

Why is this a new topic rather than all in the existing thread so everyone knows the context? 😛
I don't understand, are you still trying to use both Yanfly's Battle Status Window and SRD's Battle Status Customizer?

The mere presence of SRD's HUD Maker shouldn't do anything unless you're using it to create elements showing the face.

Why is this a new topic rather than all in the existing thread so everyone knows the context? 😛
I listen to your advice and chose to disable SRD Battle Status. I've only got YEP Battle Status Window for the battle interface and it works way better but still have the issue that I talk about in this thread.

Also sorry to create a new topic, didn't think about post this in the previous one but it seems logic now that you talk about it.

Original thread: https://forums.rpgmakerweb.com/threads/waynee95s-faceeval-help.168452/