MV NEED HELP | SRD HUD MAKER condition of appearance give me an error

BattleManager.actor (). ActorId ()==3;

This is the condition that I use for a certain notification to be displayed on the screen using SDR Hud Maker. Initially, when I place the condition, it appears without problems, but when the selection of the players' abilities ends, just before starting the battle phase, it gives me an error. Does anyone know why this is due?
Is that exactly the way you've typed it? You've got spaces in there, and incorrect case.

BattleManager.actor().actorId() === 3

If that gives you an error, go into developer tools (F8), find the console tab, and show us a screenshot of the error messages.
Is that exactly the way you've typed it? You've got spaces in there, and incorrect case.

BattleManager.actor().actorId() === 3

If that gives you an error, go into developer tools (F8), find the console tab, and show us a screenshot of the error messages.

Or excuse me, I'm a bit asleep, the original version is written well, just use == instead of ===. I still get an error. Could this be what you asked me to show you?
Sorry the image was not uploaded, I will write you what it says... ops,
I'm in luck is this what you were asking?
== and === are pretty much the same in most cases. That would not cause an error.

Please copy and paste the error from the console. Do not retype it, as you could make some typos and send us on a wild goose chase.

Yes, that tells me it's trying to get an id but there is no actor. How many actors are in your party, and did you set up your starting party by deleting unwanted members from the Actors tab?
Today I am a total chaos, I was editing the previous comment and the image uploaded.
lol

See my post above for the response to your image.
I have about twelve actors created in the database, but in the team there are only up to 5 actors.
I have occupied sections from 1 onwards without skipping a single one.
what I try to do is that a critics account appears only when it is time to select the skills of actor 3 (A Magician)
Well, it is saying that BattleManager.actor() is null, so perhaps that is only populated during the turn selection phase.

Anything further is beyond me as I haven't used the plugin, so hopefully someone who's used it a bit will come along to help you.
Well, it is saying that BattleManager.actor() is null, so perhaps that is only populated during the turn selection phase.

Anything further is beyond me as I haven't used the plugin, so hopefully someone who's used it a bit will come along to help you.

Thank you very much anyway
Often when it comes to skills and their effects, I tend to use $gameParty.menuActor().blahblahblah instead. This will use whichever actor is currently selected/active.
I have found a way to do it, "BattleManager.actor() && BattleManager.actor.actorId() === X" This works, now if you know a better way I hear (read) opinions.
Often when it comes to skills and their effects, I tend to use $gameParty.menuActor().blahblahblah instead. This will use whichever actor is currently selected/active.

Can you send me more conditions? i need to know more
Well, I am still confused about what you are trying to achieve and the context in which you're using the conditional. Can do post some screenshots?
Well, I am still confused about what you are trying to achieve and the context in which you're using the conditional. Can do post some screenshots?

Sorry if I confused you, I would like to know some other conditions, such as when the skill objective is being selected, right now I try to change the text that says 'What will you do' to 'Select a target'.
Another could be when the skill selection window appears, I am looking for these conditions to give more information to the players about the progress of the battle. I would like to send images but believe me today the connection is slow
I already found the condition to know when a window is active Thank you very much for your attention everyone. Here is the way to use it for those who need it

SceneManager._scene._enemyWindow.active===true;

Just change the name of window for the correct window for each case!!!

Original thread: https://forums.rpgmakerweb.com/threads/need-help-srd-hud-maker-condition-of-appearance-give-me-an-error.131347/