Page 1 of 1

Why isn't my sub health bar working?

Posted: Sat May 04, 2013 2:09 am
by Evil_Nazgul0616
I have a sub health bar that's supposed to show how much time the player has left in the boss battle. The problem is it's not showing up.

The part that displays the health bar is a panel_rolling-S set to hidden and connection type is player. It has two events:
The countdown starts when a separate part sets the panel_rolling's movement to ON.

Hopefully this is enough information so someone can tell me exactly why the bar isn't showing up?

Re: Why isn't my sub health bar working?

Posted: Sat May 04, 2013 2:24 am
by Evil_Nazgul0616
Hyphen wrote:You can't set a sub health bar to a hidden part.
oh.

Well, I can toss the visible timer idea out the window...

Re: Why isn't my sub health bar working?

Posted: Sat May 04, 2013 3:07 am
by Halico
Hyphen wrote:You can't set a sub health bar to a hidden part.
Actually, you CAN.

Change auto destroy flag to 0

Re: Why isn't my sub health bar working?

Posted: Sat May 04, 2013 4:34 pm
by Evil_Nazgul0616
Dualer wrote: Change auto destroy flag to 0
I tried that, it still didn't work.

Re: Why isn't my sub health bar working?

Posted: Sat May 04, 2013 4:40 pm
by Garoslaw
Set that event on the main Core (ID 1) and apply to child parts.

Re: Why isn't my sub health bar working?

Posted: Sat May 04, 2013 4:44 pm
by Evil_Nazgul0616
Garoslaw wrote:Set that event on the main Core (ID 1) and apply to child parts.
still doesn't work

Re: Why isn't my sub health bar working?

Posted: Sat May 04, 2013 5:44 pm
by Spriterkid
Try making a solid part that can't be destroyed and is out of sight.
Make a child part that will be the timer and hidden.
Then do what Garo says (set the event on the solid part and apply to child parts)

Re: Why isn't my sub health bar working?

Posted: Sun May 05, 2013 5:36 pm
by Evil_Nazgul0616
Spriterkid wrote:Try making a solid part that can't be destroyed and is out of sight.
Make a child part that will be the timer and hidden.
Then do what Garo says (set the event on the solid part and apply to child parts)
it still does not work