View Single Post
  #1  
Old 01-07-2007, 10:08 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
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
__________________
Reply With Quote