Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

How to make an health bar work well?

Recommended Posts

Double thread sorry.

script 9 (void)
if(boss < 0)
health = GetActorProperty (0, APROP_HEALTH);
boss = GetActorProperty(23,APROP_HEALTH);
HudMessage(s:"Player : ",d:health,s:"HP Boss : ", d:boss, s:""; HUDMSG_PLAIN, 0, 0, 0.1, 0.8, 0.999);
Delay(35); // Wait for next frame

i did int already all of that, don't say i didn't int it before, its just that i dont want to show the full script lol

int boss;

yeah and when it tries to run that part, the game thinks the boss has 0 health and the script doesn't run, how to fix that?

Share this post

Link to post

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