123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|584|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Blitz -> Right align text

Wed, 03 Jun 2009, 07:02
LostUser
I need to right-align text in my HUD so that text is right-aligned.

ie:



How do I do this?

I tried adding "true, false" to the end of the Text command, but it don't seem to be working properly.

Is there a correct way to right-align text?

Thanks.
Wed, 03 Jun 2009, 07:06
Jayenkai
The text command has no "right align" thing, so you have to do it using good old maths!

Handily, there's a StringWidth thing that you can make use of.



-=-=-
''Load, Next List!''
Wed, 03 Jun 2009, 11:29
LostUser
Thanks!