HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Centering Text

08-14-2004, 07:54 PM#1
Dragunov
Hey, I was wondering if there was any way to center the text in game. For instance: whenever somebody enters a town, I want centered text to appear saying "entering X". Does anybody know if there is any way to center text OTHER THAN using many spaces (which doesn't center at other resolutions). Anybody got a clue on how to do that? Thanks for your help,

-Drag
08-15-2004, 01:24 AM#2
Dragunov
Anybody have a clue? Appreciate any help.

-Drag
08-15-2004, 04:15 AM#3
Mr.Safety
You can always create custom Fade Filters. If you do them right they would only take up about 20 kb each.
08-15-2004, 11:31 AM#4
th15
JASS has functions to centre text. WEU has built in functions that do it for you.
08-15-2004, 04:58 PM#5
Dragunov
Thanks guys!
08-15-2004, 05:04 PM#6
Dragunov
Th15, do you happen to know what the JASS function is called?
08-15-2004, 06:59 PM#7
Arksword(sv)
Can't you use the Floating Text, and create it at Current Camera Bounds? You can change it's size, color, and z-offset (height) I think also.
08-15-2004, 08:22 PM#8
GeneralStonewal
Thanks for the help. Jeez, Drag. You double post alot.
08-15-2004, 11:56 PM#9
Dragunov
So does anybody know the function for centering text in JASS?
08-16-2004, 12:58 AM#10
HEZZA
hi i managed to centre using the basic Game - display text function. Here ill give u the action then u can fill in the blanks.