mob
proc
thing()
var/obj/hud/A
if(usr.blah == 1)
A = /obj/hud/thing
if(usr.blah == 2)
A = /obj/hud/thing2
for(A in src.client.screen)
A.icon_state == "thing"
K well theres my code.. But it doesnt work, it changes every hud icon instead of what i want it to change. I would like it to if blah equals 2 then the hud that changes is obj/hud/thing2. Is there a way to do this? (And it needs to go through this If statement)
X0Gohan0X
EDIT: O_O its a proc?sorry, i "saw" a obj o_o