Thread: HP Bars...
View Single Post
  #3  
Old 01-09-2007, 11:48 PM
projectigi projectigi is offline
Registered User
Join Date: Jan 2004
Posts: 403
projectigi is an unknown quantity at this point
Well the HP Bar only shows if you hover on the player
Now this wouldnt be a Problem
but i want to have 2 bars
You know Like the curretn bar is



<=================>

= means first bart
- means seconds bar
_ mean empty

now it player gets hurt so it would be like this
<==============___>
but i want it like this:
<==============--->
<==============--_>
<==============-__>
<==============___>

now the prob is when rehovering the old info gets deleted :P
So either that second bar has to be saved in the attr string, then it would be needed to modify that string every 0.05 secs to make it decreasing

or i will make an object/array holding the information of the hp bars that were gathered while hovering and after the decreasing/whatever finished the info gets deleted(would require reading out the new player data, so read-access on the attr vars of all players that are in the array)

OR writing it in the attr var itself(read/write access from the player to change his/her own attr var)

and if there are any other ways to do this, please tell me :x

Last edited by projectigi; 01-10-2007 at 12:04 AM..
Reply With Quote