Page cover

Return Death State

The "Return Death State" function can be used to return the death state of a specific RHS component instance. The death state of the component is set to private, which prevents you from easily accessing these values, so we provide this function. The death state is used to determine if the owner of this component is dead or not.


Function Return Values

The "Return Death State" function returns the "Dead" variable as a Boolean value. This value is then used to inform other blueprints if the corresponding owner of thos "Replicated Health System" component is dead. The value itself is set to private, therefore you are provided with this function.

  • Dead (Boolean)

How to access the function

To access the "Return Death State" function, you first need to get an instance of the RHS Component that you want to get the death state from. To do this you can use the Get Component by Class node provided by Unreal Engine / Epic Games. This node will return an instance of the RHS component as long as a valid one was found on the target actor. Consider saving the instance as a variable for later use. Now just drag and drop from the component reference and search for the "Return Death State" function like this:

Last updated