Bumblepaw
|
  |
| Joined: 15 Apr 2010 |
| Total Posts: 3265 |
|
|
| 29 Dec 2011 07:13 PM |
Does anyone know how to make a GUI? I have the starting script, all it is is an onTouch(), but does anyone know how to make a clickable GUI with text? Such as:
Bob picked up the book. (Text part)
Okay (Click part)
If you do, please reply to this thread! Thanks. |
|
|
| Report Abuse |
|
|
Bumblepaw
|
  |
| Joined: 15 Apr 2010 |
| Total Posts: 3265 |
|
| |
|
|
| 29 Dec 2011 07:17 PM |
Insert > Object > ScreenGui Insert > Object > Frame Insert > Object > TextLabel
Now, what would a .touched have to do with a GUI? :O That, my friend, I find really weird. |
|
|
| Report Abuse |
|
|
Bumblepaw
|
  |
| Joined: 15 Apr 2010 |
| Total Posts: 3265 |
|
|
| 29 Dec 2011 07:18 PM |
| For example, when you touch a certain brick, a guy pops up. Thanks! |
|
|
| Report Abuse |
|
|
Bumblepaw
|
  |
| Joined: 15 Apr 2010 |
| Total Posts: 3265 |
|
| |
|
Bumblepaw
|
  |
| Joined: 15 Apr 2010 |
| Total Posts: 3265 |
|
|
| 29 Dec 2011 07:22 PM |
Is there anything else to it? Like, erm, how to make the Gui work, and where to insert text?
Thanks. :) |
|
|
| Report Abuse |
|
|
| |
|
|
| 29 Dec 2011 07:55 PM |
@Original Poster
FreetoTake has a point cause a GUI is a fixed Heads up Display, like on call of duty or something like that, you cannot touch it, in COD's POV its used as a referance. |
|
|
| Report Abuse |
|
|
Bumblepaw
|
  |
| Joined: 15 Apr 2010 |
| Total Posts: 3265 |
|
|
| 29 Dec 2011 08:00 PM |
@zero, I have that now.
@shay, Exactly. I want a GUI to pop up when you touch a BRICK. Not like, to step on it or something. But yeah, I want to be able to click it. |
|
|
| Report Abuse |
|
|
|
| 29 Dec 2011 08:07 PM |
| So you want to change the text? I'm confused on how you need our help... |
|
|
| Report Abuse |
|
|
Bumblepaw
|
  |
| Joined: 15 Apr 2010 |
| Total Posts: 3265 |
|
|
| 29 Dec 2011 08:10 PM |
Not exactly. There is no 'change.' It is a new GUI.
What I need is some way to be able to click the GUI to submit you understand what it says, like a button.
Bob picked up the book. (Text part. This is what they read.)
Okay (This is what they click. The button.)
Do you guys know how to get a button?
If so, I LUV U
Erm... I appreciate you. |
|
|
| Report Abuse |
|
|
|
| 29 Dec 2011 08:12 PM |
@Z3R0
...
He wants to know how to make something where you click a brick and text appears.
|
|
|
| Report Abuse |
|
|
cool12309
|
  |
| Joined: 21 Sep 2008 |
| Total Posts: 1442 |
|
|
| 29 Dec 2011 08:14 PM |
Clicking a brick: use a ClickDetector
Clicking a GUI: This only works with buttons I think, gui.Clicked or something like that... |
|
|
| Report Abuse |
|
|
Bumblepaw
|
  |
| Joined: 15 Apr 2010 |
| Total Posts: 3265 |
|
|
| 29 Dec 2011 08:15 PM |
| Oh, thanks! Thanks a bunch. I know now. :) |
|
|
| Report Abuse |
|
|
Bumblepaw
|
  |
| Joined: 15 Apr 2010 |
| Total Posts: 3265 |
|
|
| 29 Dec 2011 08:21 PM |
Wait, in the click detector should I add a script:
on.Click() text = --Insert the text here? |
|
|
| Report Abuse |
|
|
Bumblepaw
|
  |
| Joined: 15 Apr 2010 |
| Total Posts: 3265 |
|
| |
|
Bumblepaw
|
  |
| Joined: 15 Apr 2010 |
| Total Posts: 3265 |
|
| |
|
|
| 29 Dec 2011 08:56 PM |
| Put the script in the brick |
|
|
| Report Abuse |
|
|
Bumblepaw
|
  |
| Joined: 15 Apr 2010 |
| Total Posts: 3265 |
|
|
| 29 Dec 2011 09:01 PM |
@Z3R0, Is the script correct? :P
And the ClickDetector, you mean? Because the CD is in the model. |
|
|
| Report Abuse |
|
|
Bumblepaw
|
  |
| Joined: 15 Apr 2010 |
| Total Posts: 3265 |
|
|
| 29 Dec 2011 09:26 PM |
This is what I am doing:
I insert ClickDetector into the brick/model I want it to be in.
I insert this script:
on.Touch() text = --I do text I want.
The script does not work. Help? |
|
|
| Report Abuse |
|
|
|
| 22 Feb 2012 01:21 PM |
| i know this is really old but i think you mean a billiboard GUI |
|
|
| Report Abuse |
|
|