- 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.