Lot of issues help ! [GameDev - Blueprints]

Hello, everyone it’s my first time asking for help here. So here’s some issues I would like to fix.

  1. I have this error. I try to check and change the parent but it’s didn’t fix. I have see that it’s could be a bug but no It’s my PlayerRef. Beside that the game is working good so how could I remove this error. The BP is simply to change the health bar color.

  2. I would like to make a timer with two phase like the first one play for 20 secondes then it’s restart for 50 secondes. I made this but I don’t know who to put two timers following each other.

  1. I want my health bar to start at 75% but I did have a lot of issues like one start at 100 when his brother is at 75…. I figure that’s because my tornado do the damage before touching it. Collisions box are good but I don’t know what’s the matter of that…

Thats the function to make the wall take damage

  1. Last issue is the text on the health bar not updating… I did multiple format text but none of them is changing the text bloc.

Attempt#1 Text link to the wall

Attempt#2 Text link to the Widget directly

I maybe have an idea of the issue but have to try :slight_smile:

Thanks you for reading and helping ! I appreciate a lot !

  1. Check again how you set PlayerRef. it should be on widget creation where the PlayerRef is variable exposed. or you can just find PlayerCharacter and cast it.
  2. Instead of timer where it tick, just set the duration of 20 (make it variable) and not tick. after 20 sec, it finish, set the duration to 50 and run set timer again.
  3. Check starting value of the gate is it 100 or 75. you probably set it manually in each gate
  4. No idea. is it not changing at all or the value is wrong? did the function run?