ID:144573
 
Code:
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?
Make the title screens layer=MOB_LAYER + 9999 or so and it will cover up anything under the value.
In response to A.T.H.K
but the title screen is what is keeping the player from moving during the begining.
In response to FriesOfDoom
nvr mind, fixed it by doing the above, but adding some dense blocks around player's mob in the title screen.
In response to FriesOfDoom
mob/var/Locked=1

mob/Move()
if(!Locked)
return ..()


The above is way more efficient than adding dense areas around the player, simply just change the Locked var to 0 to make them able to move.