How do i go about doing this? i tried different ways that got no errors but nothing happened
mob
proc
HUD()
new/obj/HUD/Health_01(src.client)
new/obj/HUD/Mana_01(src.client)
src.Update_Stats()
obj
HUD
Health_01
icon='heart.dmi'
icon_state="0"
New(client/c)
screen_loc="2,1"
c.screen+=src
ID:158055
Nov 9 2009, 3:59 pm
|
|
If HUD() is a new procedure, it needs to be indented under proc, and everything inside HUD also needs to be indented accordingly.
For another, that's not going to do anything unless you call the HUD proc somehow anyway.