Jump to content

Addressing the Players Life/Health Bar


Theedar

Recommended Posts

(tophat) Greetings Indie Stone Forum (tophat)

 

 

I'm currently working on a Modification and I could need a little help. :oops:

 

I'm trying to lower the Player's Health/Life when a specific Event happens, but the ways I tried to address the Health this far didn't really work the way I want it to work.

 

setHealth() seemed to only have 2 Effects, either Alive or Dead.

 

My Question is now, is the setHealth() Function the actual health and the Health Bar ingame only visual, or is the Health Bar ingame the actual health.

 

I didn't find anything on the forum that could've help me.

 

Sorry for the english, it's not my native language.

Thanks alot for reading

Link to comment
Share on other sites

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...