Health loss bp

I have a ghost that tracks the player. I also put a collision sphere on it and I want it to affect a progress bar in my widget. I want the health loss to be gradual

  • player Begin Overlap ā†’ Cast to Ghost ā†’ open Gate ā†’ lose health ā†’ Update UI
  • player Ens Overlap Cast to Ghost ā†’ close Gate
1 Like


Iā€™m not really sure what you mean. Can you elaborate

  • connect Other Actor to Object
  • successful cast ā†’ Open Gate (instead of Enter)
  • connect Tick to Gate Enter
  • on Gate Exit:
    • call a function that reduces player health
    • call a function that updates the UI using the reduced health value

You will need to create those functions first. A boolean variable does not help much here.