ID:145186
 
Code:
client/New()
command_text = ".alt "
preload_rsc = 2
new/obj/hud/save(src)
new/obj/hud/say(src)

..()

//end of bars


// Main button firctory
obj/hud
layer = FLOAT_LAYER - 2122
invisibility = 99
//save button
save
name="Naruto - Academy"
icon ='mrhud.dmi'
icon_state ="save"
layer = MOB_LAYER+50
New(client/C)
screen_loc ="2,1"
C.screen +=src
Click()
world<<"need to program this save"
//say button
say
name="Naruto - Academy"
icon ='mrhud.dmi'
icon_state ="say"
layer = MOB_LAYER+50
New(client/C)
screen_loc ="3,1"
C.screen +=src
Click()
var/msg=input("Talk to the world")as null|text
if(!msg)
return
else
view(6)<<"<font size = 2> [html_encode(usr)]<font color=white> says: <tt>[html_encode(msg)]</tt>"


Problem description:

Well the problem is that can't see the buttons , i think it maight be the layers not sure, when i removed

obj/hud
layer = FLOAT_LAYER - 2122
invisibility = 99

this the buttons showed up but they allows showed up in the front page :(

plz help a noob :)
Why are you making them invisible?
In response to Loduwijk
thats front page it makes them invisable so it can't be seen in the front.

is that what causing them to be invisable inside too -_- ?
In response to Domedaydevice141
That depends. I don't know what you mean by "front page" or "inside." If you mean visible from seeing the object on the map as opposed to visible from having it added to your client/screen list, as long as the object is not physically on the map you should not be seeing them except through the screen list.

I would take the invisibility thing out, and if I understand you properly then yes that should fix it.

Also, what's with the FLOAT_LAYER-2122?
In response to Loduwijk
when the person connect, they see a login picture that ask them to make a new character , load, delete etc..

if i removed the

invisibility = 99

then on that pic you also can see the hud buttons, i don't want them to see the buttons at that point, when they press load then i want them to see the hud buttons.

In response to Domedaydevice141
look up other layer features in the reference..
In response to A.T.H.K
-_- had my layers mixed up

thax for the help :)