Jump to content

Recommended Posts

Newish to DST modding, and it's the first time I've run into an issue with something not working clientside (but works fine serverside), so I'm hoping for some points. Am vaguely aware of RPCs/net_variables.

GLOBAL.ThePlayer.components.health:GetPercent()

...components.health() is not set on the clientside. I'm trying to find out the current player's health, and I naively assumed that since the UI draws the player's health, that the value would exist client-side in some readable state, but apparently not.

 

What do I need to do?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...