Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

XYTEXT - display problem

Leander Tyles
Registered User
Join date: 12 Jan 2010
Posts: 5
01-12-2010 11:29
trying to make a board like midnight mania,

im having trouble with the XYTEXT at the bottom for the ( CLICKS / TARGET )

the master script works fine, problem is the number representing the clicks starts from the left_face so instead of:

1/10

its more like ( 1 /10 ) with spaces if its a small digit


anybody advise me on how to resolve this issue >?

the display representing the target on the right hand side, obviusly works fine.

maybe i need to send " 1" to clicks
and "1" to target
as seperate linked messages,

but that just getting confusing because id have to check how big the intial value was.
Raster Teazle
Registered User
Join date: 13 Sep 2005
Posts: 114
01-12-2010 15:23
XYText is left justified so you need to add fill characters to the left if you want if right justified.


if ( llStringLength(CLICKS) < 2 )
{
CLICKS = " "+CLICKS;
}