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.