generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: another gui question

Previous Thread :: Next Thread 
moustachauve is not online. moustachauve
Joined: 29 Jul 2009
Total Posts: 668
01 Aug 2011 07:11 PM
can you make multiple line TextLabel?

and if you can, how?

thanks
Report Abuse
wdwdwd7 is not online. wdwdwd7
Joined: 19 Apr 2008
Total Posts: 538
01 Aug 2011 07:15 PM
i think u can,ive seen someone do it..






-W
Report Abuse
Ulla42 is not online. Ulla42
Joined: 14 Dec 2009
Total Posts: 1774
01 Aug 2011 07:18 PM
If you can, theres a property for it "Multi line"
Report Abuse
ElectricAxel is not online. ElectricAxel
Joined: 15 May 2009
Total Posts: 16239
01 Aug 2011 07:30 PM
http://wiki.roblox.com/index.php/TextLabel

TextWrap
Report Abuse
moustachauve is not online. moustachauve
Joined: 29 Jul 2009
Total Posts: 668
01 Aug 2011 07:38 PM
it doesn't make it multiple line
Report Abuse
ElectricAxel is not online. ElectricAxel
Joined: 15 May 2009
Total Posts: 16239
01 Aug 2011 07:44 PM
It has to have enough space in the y size, it worked for me.
Report Abuse
moustachauve is not online. moustachauve
Joined: 29 Jul 2009
Total Posts: 668
01 Aug 2011 07:54 PM
i mean like, you can press enter and do multiple line with your thing, or do i need to make multiple textlabel?
Report Abuse
ChaosStar95 is not online. ChaosStar95
Joined: 19 Feb 2009
Total Posts: 5943
01 Aug 2011 07:56 PM
No, TextWrap allows multiple lines in one TextLabel.
Report Abuse
aboy5643 is not online. aboy5643
Joined: 08 Oct 2010
Total Posts: 5458
01 Aug 2011 07:58 PM
TextWrap wraps the text to the next line when the text doesn't fit within the x bounds of the label...

lrn2know b4 posting...

~Get the water boiling... I'll get the cauldron and the seasoning...
Report Abuse
moustachauve is not online. moustachauve
Joined: 29 Jul 2009
Total Posts: 668
01 Aug 2011 07:59 PM
then how do i skip a line? /n or what?
Report Abuse
ElectricAxel is not online. ElectricAxel
Joined: 15 May 2009
Total Posts: 16239
01 Aug 2011 08:12 PM
If you have TextWrap \n works.
Report Abuse
moustachauve is not online. moustachauve
Joined: 29 Jul 2009
Total Posts: 668
01 Aug 2011 09:03 PM
\n wont work
Report Abuse
ElectricAxel is not online. ElectricAxel
Joined: 15 May 2009
Total Posts: 16239
01 Aug 2011 09:40 PM
It did for me. o:
Report Abuse
moustachauve is not online. moustachauve
Joined: 29 Jul 2009
Total Posts: 668
01 Aug 2011 10:21 PM
how did you used it?
Report Abuse
ElectricAxel is not online. ElectricAxel
Joined: 15 May 2009
Total Posts: 16239
01 Aug 2011 11:53 PM
Add ScreenGui, Add TextLabel, set Size big enough, put TextWrap, then through script go game.StarterGui.ScreenGui.TextLabel.Text = "Ohai \n there"
Report Abuse
moustachauve is not online. moustachauve
Joined: 29 Jul 2009
Total Posts: 668
02 Aug 2011 12:23 AM
oh, your defining the text with a script... i should do this
Report Abuse
moustachauve is not online. moustachauve
Joined: 29 Jul 2009
Total Posts: 668
02 Aug 2011 12:28 AM
an other way to do it that look cleaner if you have lots of line could be this :

game.StarterGui.ScreenGui.TextLabel.Text = [[ i have 1 line
2 line
3 line
4 line :D
etc...]]
Report Abuse
ElectricAxel is not online. ElectricAxel
Joined: 15 May 2009
Total Posts: 16239
02 Aug 2011 01:33 AM
Yes, that would work too.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image