ID:268861
 
T.t I've tried everything, so, >_> I must resort here. (Note: I spelt "you" wrong so it'd fit. :o)

So, I begget you all, I r confuzzled.
I try to make a multi-tiled statbar and it phails, on so many levels. :o
Please, helpeth me.
One good way of doing that is to create a new datum which can keep control of the different stat objects. Make sure the datum is accessable from a mob variable.
In response to Unknown Person
I'm doing that, but it's kind of buggy. :9 Should I post the code here?
Hell Ramen wrote:
I try to make a multi-tiled statbar and it phails, on so many levels. :o
Please, helpeth me.

What do you have so far? What techniques have you already tried? The more info you give us, the better we can help. (Using 'we' liberally)
In response to Hell Ramen
Obviously.
In response to Ter13
mob
proc/Update()
for(var/obj/hearts/O in src.client.screen)
O.num = round(src.HP/src.MHP)
src << O.num //Debugging
if(O.num >= O.max)
O.num = O.max
else if(O.num <= O.min)
O.num = O.min
src << O.num //Debugging, yet again
O.icon_state = O.num


I call the updates in the Stat proc. ;o(Update(src))... I really have no clue on how to do this. If this is wrong, what procs should I look up in the refrence? Also, thanks for the help so far.
In response to Hell Ramen
Makes me feel horrid to this, but...

EXPELIBUMPUS!