Enemy health is working, but the health bar isn’t. I’ve tried casting the character health variable to the return node by binding the variable. It was a no go. Now I have a float that is defined in the UMG graph handling the return value.
The health bar is added to the enemy AI Character as a component. However, when I try to cast to the enemy health bar. The set variable has the message,“failed to find property” in the variable details.
if I change the Health Bar filler value manually, the health bar percentage updates, but I cant get the cast to work for some reason. I’ve been all over the forums and the Answer hub for the last two days trying to figure this out to no avail. Any help would be appreciated.