MZ Script call for checking which character is being selected?

Sorry for bothering, but I can't manage to make this work on my side. Im using MZ with the visustella package, and im using Hud Maker Ultra in order to add an actor picture bust when the current actor is playing and not the others (same as you).

It's working, I got no error and the actors pictures are showing up but they show up all immediatly at the start of the battle and they doesn't hide properly when they should.

HUD_Maker_Ultra_k79KSqxEvV.png


What am I missing guys ?
You are using a different engine (MZ rather than MV), and almost certainly a different selection of other plugins, therefore your question is different to the one asked in this thread. So...

I've split your post into a new thread. Thank you.

Original thread for reference:

Maybe this kind of condition would work better?

BattleManager._inputting = true && BattleManager.actor().actorId() === 3
Otherwise, does it work if you turn off all plugins not needed for HUD Maker Ultra, save your project, and test? If so, I suggest sharing screenshot(s) of your Plugin Manager so people can see which plugins you're using.

I haven't looked at things in detail, but it might be related to MZ's TPB mode, are you using that?
I will try it thx ! I created before your answer an other thread dedicated to this https://forums.rpgmakerweb.com/inde...er-condition-hudmaker-mz.150548/#post-1295256


RPGMZ_wtIi8yYsuS.png

RPGMZ_80DfrygFcD.png
RPGMZ_7Hj5hd3FsO.png
I will try it thx ! I created before your answer an other thread dedicated to this https://forums.rpgmakerweb.com/inde...er-condition-hudmaker-mz.150548/#post-1295256
Ah, I hadn't noticed that thread until you pointed it out, whoops. 😅

I'll close this one.

Original thread: https://forums.rpgmakerweb.com/threads/script-call-for-checking-which-character-is-being-selected.150571/