obj
hud
pickupbutton
icon='misc.dmi'
icon_state="pickup"
New(client/C)
screen_loc="2,1"
C.screen+=src
layer=MOB_LAYER + 1
attackbutton
icon='misc.dmi'
icon_state="attack"
New(client/C)
screen_loc="1,1"
C.screen+=src
layer=MOB_LAYER + 1
Click()
usr.attack()
client/New()
..()
new/obj/hud/attackbutton(src)
new/obj/hud/pickupbutton(src)
Problem description:
The icons are coming up great, just too early. I have a title screen and need them to come up after the player starts their game. What do I need to fix to accomplish this?