• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • It's time for the first HD Modeling Contest of 2025. Join the theme discussion for Hive's HD Modeling Contest #7! Click here to post your idea!

A Quick Text Question

Status
Not open for further replies.
How do you make text appear in the middle of the screen? I have searched for a good answer and I found some, it's just that I couldn't find some of the functions or either they were in JASS or VJASS.

Like this, right in the middle

I'm sorry for the waste of time, but please answer, giving the locations of all the functions and variable types.. Thanks.
 
Level 6
Joined
Oct 10, 2009
Messages
1,426
so you need it in GUI then? if not, let me know:p
if thats the case, give me a second to write the code :p

EDIT: like just regular text or floating text (that looks like regular, but better)

EDIT2: well, here it is written in GUI filth:p I did it two different ways, both have downsides due to GUI.
1:the first method (labeled in the map Init trigger), can only support so much text but looks good.
2:the second is directly in the middle but looks bad when moving your camera around. but i believe these are the only two ways to do it in GUI. View attachment aaa.w3x
 
Status
Not open for further replies.
Top