Simple Health & Damage System in Unreal Engine 5

Rating

0.0 0 votes

Login to rate this blueprint.

Damage Handling UE 5.8

Right-drag / touch to pan · Ctrl+scroll to zoom · select nodes and Ctrl+C to copy · use Copy Blueprint, then paste into Unreal Engine with Ctrl+V

GetHit Function UE 5.8

Right-drag / touch to pan · Ctrl+scroll to zoom · select nodes and Ctrl+C to copy · use Copy Blueprint, then paste into Unreal Engine with Ctrl+V

DeadEvent Function UE 5.8

Right-drag / touch to pan · Ctrl+scroll to zoom · select nodes and Ctrl+C to copy · use Copy Blueprint, then paste into Unreal Engine with Ctrl+V

Content

Simple Health & Damage System

A lightweight UE5 Blueprint system for handling character health, incoming damage, hit reactions, and death.

Requirements

  • Unreal Engine 5 – Character Blueprint

  • Compatible Anim Montages for hit and death reactions (optional)

  • Hit sound (optional)

Required Variables

VariableTypeDefault
HealthFloat100.0
Max HealthFloat100.0
Is DeadBooleanFalse
Hit React Anim MontageAnim Montage Object ReferenceNone
Death Anim MontageAnim Montage Object ReferenceNone
Hit SoundSound Base Object ReferenceNone

Blueprint Setup

1. Damage Handling – Event Graph

Paste the Damage Handling graph into your Character's Event Graph. It processes incoming damage, clamps health between 0 and Max Health, and calls GetHit or DeadEvent depending on the remaining health.

2. GetHit – Function

Create a function named GetHit and paste the corresponding graph. Assign a compatible Hit Reaction Anim Montage and Hit Sound.

3. DeadEvent – Function

Create a function named DeadEvent and paste the corresponding graph. This function sets Is Dead to true, disables character movement, and plays the Death Anim Montage.

Important Notes

  • Enable Can Be Damaged on your Character.

  • Use Apply Damage to trigger the system.

  • Ensure your Animation Blueprint supports the assigned montage slots.

  • Disable or guard other gameplay actions when Is Dead is true.

  • The example is designed for basic single-player gameplay; multiplayer replication is not included.

Comments (0)

No comments yet. Be the first to share your thoughts!

Return to UE Blueprints

Andersta

Please confirm