shadowwulf Posted May 20, 2008 Author Share Posted May 20, 2008 Ok, say I want to use my player development system for interation with health regain.I know i can get player hp and max hp(might not need this).I could possibly get the two every like 5 seconds or so.put current hp in a variable(if the scripts is constantly looping while playing then i should only need to assign it right?)so if current hp is less than previous current hp thenthe differnece is equal to xI increase counter for defense by X.(basically update an ini value by X)else we update current as to know the change next check.check againIs this possible?Think it will lag like hell?Might it not be reliable?(any idea how it could be abused other than casting self damaging spells…)It will be my first script with a loop and with timers so it will be a nice challenge if people think its possible. But then again maybe someone has a better approach to my issue. 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