Download

Blueprint version of adddynamic

Does anyone know a blueprint version of this?

MyOwner->OnTakeAnyDamage.AddDynamic(this, &UHealthComponent::HandleTakeAnyDamage);

Basically I want to add a health component that controls health, and have the function called from the health component whenever the owner takes any damage… but I want to set this bind up from the health component itself.

In the component:

image

or a function:

1 Like