I have recently been trying to make a custom UI, any idea on how I could check a player’s health and put it on ui?
The health information is in the healthful
interface which is part of fort_character
. Assuming you have an agent
or player
you should be able to get the health by doing this:
if (FortCharacter := MyAgent.GetFortCharacter[]):
FortCharacter.GetHealth()
Don’t forget to include “using { /Fortnite.com/Game }” to get access to the healthful interface