So it was good that we set up the health bar for the general damage component but i didn’t want to have a floating health bar on top of the player just like the object since i wanted to track the health all the time.
It took me a little while because at first i wanted to do the youtube tutorial on health and hydration but then i realised it’s not super useful and takes too long to get to the point. I also reassessed if i want to have 3 different meters to track things, maybe it’s best to just have one meter of health that drops as the situation changes (too hungry, too tired and etc).
When i decided to add the health bar to the HUD, i realised that i needed to branch the damage component based on the owner of the damage component that got hit. But there isn’t a way to pull in the HUD widget which is not attached to the player BP. After multiple digging i eventually found out that the HUD component is not spawned in the player instead of the controller. Once i figured that i managed to hook up the health bar changes in the hud directly
Also i have been thinking about creating big robins or a herd of crows that can come in and disrupt the player’s actions
Next steps
growing fruits bp