Checkpoint system with minor issue

Hi,

The Player called ‘BP_Franklin’ can run through a collision box which is represented as a campfire flipbook, which then sets a respawn point.

On player death, the Player reappears at the spawn point.
The issue is that…

  1. Health UI doesn’t reset
  2. The Player can’t move

See blueprint below

Video demonstration

hello @Promethean ,

Your Health Bar doesn’t get updated, because you don’t update them. After you damaging the player, you do update the HP. but when the character dead, after you reset the Hp to Max Hp, you haven’t call Update Health Bar and I think it is the cause.

As for the second problem, I want you to try this first. Can your character move if you HOLD Click left mouse button in screen while moving? IF Holding click LMB and moving make your character move, maybe that is because the input mode is game and UI
image

As far as I know, game and UI used for things like when you open the widget screen and you have to interact with that screen with mouse, BUT also can interact it with keyboard like pause menu for example.

but IF that is not the case, maybe you should try moving the player controller in the player controller bulb, not to the target bulb (Since that is what you do when disabling the input).

IF both is not the case, please do tell me

1 Like

Hi @ImAGoodSpoon1 , thanks for your advice, the first solution regarding the health works like a charm, thank you!

The second solution regarding the movement, I’m not sure I implemented properly, alas, it didn’t work.

I removed the ‘Get Player Controller’ from the ‘Enable Input’ and instead connected the Target back to the same ‘Get Player Controller’ for ‘Disable Input’ which is what I believe what you suggested, if not please let me know, but either way the character still doesn’t move and was unresponsive to mouse input or pressing A or D keys.

I tried the following and it worked, nothing happened unless I chose an option for ‘New Movement Mode’ in the ‘Set Movement Mode’ node

I see, congratz on fixing it!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.