
01-07-2007, 10:08 PM
|
|
the fake one
|
 |
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
|
|
Chat System Word Wrapping
|
I recently scripted a new chat system for Syn, and it works fine except for one thing -- how can I get the text to word wrap? Here's an example:
|---text text te| ( text text text is what it needs to show ) ( | is the border )
|--------o-----| ( o is the player )
It centers over the player, but I don't want it to go over where players cannot see it (screenwidth).
Someone said use textwidth, but I couldn't get that to work, it seems like it wasn't translated to GS2 properly.
Is there any way, still using a show text (not a gui) to do this? I don't think I'd be able to do it with a GUI either, so ... yah.
Any help is greatly appreciated.
Thanks,
Chris Zakuto
NAT of Syn |
|
|
|