How to make a second actor health bar appear later in the game?

Hey guys,

In my game i have a second character that joins after the first level is complete. Im using SRD_HudMaker for the health bar but when i add in my second actors health bar it's constantly there even when the actor isn't in the party.

Is there a way to get the health bar to appear only once the actor has joined the party?
I have moved this thread from Resources Support to JavaScript/Plugin Support.
easiest way, use global switch,
if its in order, use $gameParty.members() > 1

that should do the trick, for battle, around $gameBattlers and something else.
or $gameParty.members()[1] (second member).

there is a list of scriptcalls to check those what you could use.

depending on the hud you make, it require a different setup or same scriptcall.
but that depends on those.
Sorry would you be able to elobarote on how to set this up? Im not real fluent in coding lol ( im learning but not smart enough yet xD )
It would be a lot easier (and make more logical sense) if you showed screenshots of the code you were using to display the HP gauge. Then we could tell you what was incorrect.
So this is without the party member and then once he joins. I've managed to get the health bar to not appear until he joins by removing the black outline and putting the transparency all the way down.

I can't do the same for the picture though.

The code in the values is -
(ID:6) Image Guage Element
Cur Value: $gameParty.members()[1].actorId()
Max Value: $gameParty.members()[1].actorId()

(ID: 7) Image Numbers Element
$gameParty.members()[1].actorId()
code for health gauge.png
code for actor face.png
with party member.png
without party member.png
Bump
Image Gauge
JavaScript:
Current Value: $gameParty.members()[1].hp
Max Value: $gameParty.members()[1].mhp

Condition: $gameParty.members().length >= 2

Actor Face
JavaScript:
Actor ID: $gameParty.members()[1].actorId()
Condition: $gameParty.members().length >= 2
Thankyou so much!
No prob, happy to help! 🙂

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-a-second-actor-health-bar-appear-later-in-the-game.163547/