Create custom event that triggers when low on health

WillyG99

Member
Hi! I basically want to create an event that triggers when my health is low.
Where and how do i do that? The health component and attribute manager is a little confusing, i've read the attribute document but i'm still stuck unfortunately.
 
Any time an attribute is modified, the "OnAttributeUpdateValue" event is triggered. You can listen to this event, check whether it was the health attribute, compare it too your target value, and trigger your own event, when the target value has been reached.
 
Top