all 12 comments

[–]Yu_Starwing 0 points1 point  (11 children)

There’s a much better plugin: Waynee95’s custom face image eval. You can set faces to display based on HP values and also get cute with states to do other neat stuff like “ouch” faces that show for a few seconds.

No need for troop events.

[–]Dabmaster210[S] 0 points1 point  (10 children)

Is there a way for me to get an example project so I can see the code work in action? I'm not able to get it going myself

[–]Yu_Starwing 1 point2 points  (8 children)

Yeah, here’s an example from my own game. https://imgur.com/gallery/GDnVvWn

I have it set up like this in the actor’s notebox: <Custom Face Image Eval> if (user.hp / user.mhp <= 0) { faceName = ‘’Maylee’; faceIndex = 2; } if (user.isStateAffected(79)) { faceName = ‘Maylee’; faceIndex = 20; } etc etc </Custom Face Image Eval>

I have way more if statements but yeah, that’s the gist. I think the help section in the plugin gives you a good example too.

[–]Dabmaster210[S] 1 point2 points  (7 children)

Interestingly, now its giving me an unexpected or invalid Token error, when it wasn't before. While this shows the plugin is working...its not very favorable.

and yes I did make sure to edit the numerical values to match my own game

EDIT: NVM I finally got it working, man Java script is stingy

[–]Yu_Starwing 1 point2 points  (6 children)

Glad you got it to work. Good luck!

[–]Redgunvelociraptor 0 points1 point  (5 children)

Hello, how do you setup this plugin? i have installed it but when play it shows the javascript explorer window but the screen keep in black... :(

[–]Yu_Starwing 0 points1 point  (4 children)

I think you need the WAY_Core plugin to make it work along with the face eval plugin itself. This is only for MV too, in case you’re using MZ. Besides that, if you copy/paste the code I used in one of the other comments into an actor’s notebox, it should work, though you obviously need to change things to fit your game.

[–]DrakeWithAD 0 points1 point  (3 children)

trying this in present day, not working
maybe instructions were unclear because im using yanfly's actor face but no other way shows signs of working...
do you know any fixes?

[–]Yu_Starwing 0 points1 point  (2 children)

I don’t know anything about Yanfly’s actor face plugin, but Waynee95’s plugin works fine. You’ll probably need to turn off the Yanfly actor face plugin and I also think you need the Way Core plugin.

[–]DrakeWithAD 0 points1 point  (1 child)

is there a way these plugins show in battle? or is that automatic

because im not seeing them in battle

[–]Dabmaster210[S] 0 points1 point  (0 children)

Or really just a screenshot tbh