Code FIRSTPACK: 100 credits for $5 or 200 for $10, for the first 1000 orders. Credits never expire. See packs
Event AnyDamageDamageDamageTypeInstigatedByDamageCauserOutputDelegateHealth-ABReturn ValueF ClampValueMin0.0Max100.0Return ValueSET HealthHealth<=AB0.0Return ValueBranchConditionelseSequencethen_0then_1Print StringInStringYou diedbPrintToScreenTruebPrintToLogTrueDuration2.0Destroy ActorTarget

Health & Damage System

Ready after setupCombat10 nodes, 11 wiresGallery

Damage lowers Health, clamped between 0 and 100; at 0 it prints You died and destroys the actor.

Make one like this

Planning is free. Building the graph costs 10 credits, and a free account starts with 50.

Use this exact graph

Copy and Apply for gallery graphs come with every paid plan, from $9.99 a month. See plans

Before you paste1

  • HealthFloat

    My Blueprint, then + Variable.

Good to know. Give Health a default value of 100 in My Blueprint. At 0 the first hit already counts as dead. Destroy Actor removes the player for good; Death & Respawn brings them back instead.

How it works

More combat blueprints

See all 55

Made with Cosindra Blueprint Studio