playMaker

Author Topic: GUI Text Box  (Read 4812 times)

qholmes

  • 1.2 Beta
  • Hero Member
  • *
  • Posts: 509
GUI Text Box
« on: April 22, 2011, 11:40:35 PM »
So i am going to try and make a GUI Text Box.. I am quite amazed that there is not one in there already.. i thought for sure that GUI Box or GUI label were going to be but not so.. I just want that exact function but with the text inside the graphic with text wrapping and maybe adjustable border.

I am brand new but do you think it will be possible to create that by tearing apart the existing GUI Box action?

or it might be easier to just use EZ Gui to make the box and then just fire it using playMaker? The boxes are pop up information boxes that will be used while moving around an object. I did not want to have to create all custom images for the boxes but use live text instead.

Q

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: GUI Text Box
« Reply #1 on: April 23, 2011, 09:35:27 PM »
You need to create a custom GUISkin with wordwrap set for the style of your info box.

Then use the Set GUISkin action and GUI Label or GUI Box with the wordwrapped style.

If it's your first time making a GUISkin you might want to search the help/forums...

Hope this helps!

qholmes

  • 1.2 Beta
  • Hero Member
  • *
  • Posts: 509
Re: GUI Text Box
« Reply #2 on: April 24, 2011, 10:52:56 PM »
Yes that helps a lot thanks!!

Q