HUD Maker (SRDude) - javascript eval

Hello everyone !

I am using SRDude's HUD Maker plugin and I wondered how to make a bust appear
only when it's one actor's turn.

This eval is correct and helps me to make appear the first character's bust :
SceneManager._scene._statusWindow.visible ? SceneManager._scene._statusWindow.index() === 0 : true

But I have one character that will not have is position fixed ; I mean that he could be at the 2'nd or third battle position. So I want to refer to his index only. How can I do that ?
Bump !

I need help for this. I have sent an email to SRDude, but he doesn't answer.
The thing is : I would like to make a bust appear only when it's one character turn. I cannot use a plugin because all that I have tried aren't compatible. So I can only use HUD Maker plugin.

There is for each picture a condition eval for the picture to appear.
I want this condition to be : only if character 6 turn.

This condition :
SceneManager._scene._statusWindow.visible ? SceneManager._scene._statusWindow.index() === 0 : true
doesn't work because it refers to a position in battle, but not to an actor.
Anyone ?
Please help me 🙁
Maybe I am not understanding the evals, but please help me...
You can use PictureEX for this. Por exemple, on the picture folder, put the pictures of the busts with the same name of the characters, and on the name of the pictureEX use $gameActors.actor(actorId).name() and on the condition, use the SceneManager._scene._statusWindow.visible ? SceneManager._scene._statusWindow.index() === 0 : true. That way, when the turn begin, the image will be the person name and the image will change like you want.

P.S.: I dont know if this topic are "dead", sorry to any moderator if I break any rules by answering after so long.
what you probably want is
Code:
BattleManager.actor().id === 1

BattleManager.actor() will return the current actors turn; when selecting an actor.
Thank you very much you too ! I have found the solution ! Thank you !

Original thread: https://forums.rpgmakerweb.com/threads/hud-maker-srdude-javascript-eval.80425/