ID:175984
![]() Feb 22 2003, 1:42 pm
|
|
how can i make onscreen buttons thats on everyone in my games screen
|
oo crap i cant get more than on button to work here's what ive got so far
obj bar icon = 'bar.dmi' screen_loc = "4,1 to 10,1" New(client/C) ..() C.screen += src obj button1 icon = 'button.dmi' icon_state = "meditate" screen_loc = "9,1" New(client/C) ..() C.screen += src Click() usr.Meditate() obj button icon = 'button.dmi' icon_state = "say" screen_loc = "10,1" New(client/C) ..() C.screen += src Click() usr.Say() client New() ..() new/obj/bar(src) new/obj/button(src) |
bar
icon = 'bar.dmi'
screen_loc = "1,1 to 10,1"
New(client/C)
..()
C += src
obj
button
icon = 'button.dmi'
screen_loc = "1,1"
New(client/C)
..()
C += src
Click()
usr <<"This is a button. You clicked it. Good job. >=D"
client
New()
..()
new/obj/bar(src)
new/obj/button(src)
Siientx