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.
<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.