New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to make opponents health bar color change when they're in danger? (AKA when they're danger/death icon is showing) #11296
Comments
maybe something like :
i forgot if 0.8 is the good rating for winning |
I think it should be if getProperty('health') >= 1.6 then instead of if rating >= 0.8, since they're talking about the opponents death icon |
Idk I think rating goes from 0 (death) to 1 |
Wait I'm dumb, rating is different of health, so I think Gostar64 is right if health goes from 0 to 2 |
This is the final script I came up with, using a combination of the previous scripts, as well as the new info Mokona added. First part is for when the death icon is showing, and the second part is for when it's not. |
What is your question?
Is there any way using a lua script to change an opponents health bar color while they're death icon is showing?
The text was updated successfully, but these errors were encountered: