Luduaver Posted April 18 Share Posted April 18 Is there any way to define CVAR as the current health and also the max health? For example, max health 200 and current health 157 <triggered_effect trigger="onOtherAttackedSelf" action="ModifyCVar" cvar="cvarCurrentHealth" operation="set" value="157 (CURRENT HEALTH HERE)"/> <triggered_effect trigger="onOtherAttackedSelf" action="ModifyCVar" cvar="cvarCurrentHealth" operation="set" value="200 (MAX HEALTH HERE)"/> Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now