Perfect Posted December 31, 2012 Share Posted December 31, 2012 Hi All, there is any way to store health smoothly ? by smoothly i mean like if we put water in glass, water filled the glass smoothly. I have 1 idea, i will set health to 1 then 2 then 3 then ... then 100. but it will take some time. there is any easy way to do it ? ( same thing like how we loss health when m4 or any other weapon hit us) Link to comment
AhmadQTR Posted December 31, 2012 Share Posted December 31, 2012 setTimer setElementHealth Link to comment
denny199 Posted December 31, 2012 Share Posted December 31, 2012 setTimer setElementHealth and getElementHealth example: setElementHealth ( getElementHealth(playerement) + 1 ) then repeat this step with the timer 100 for examle 100 times so: setTimer ( functionname, 50, 100 ) -- excecute the function 100 times in 50 miliseconds Link to comment
Perfect Posted January 1, 2013 Author Share Posted January 1, 2013 Awesome guys , thank you so much and happy new year. Link to comment
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