Video Tutorial: Coherent UI integration in UE4 (Part 2 of 3)
Part 1 is available here.
1. Setup the Health and ShotsFires variables.
2. Listen for the Character Fire event.
3. Increment the ShotsFired variable.
5. Listen for player Hit events.
6. Check if the player is hit by a projectile.
7. If the player is hit -> decrease health.
8. Send the current Health to the HTML.
Please stay tuned for part three of the series 🙂