• 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.

Large text message

Status
Not open for further replies.
Level 5
Joined
Jul 24, 2007
Messages
199
Does anybody know how to make a text message appear full-size? I want to make the messages like "You're entering the city of etc." on my map appear fullscreen and centered, like in RPGs. Could use the Upkeep messages for that, but then the list of all locations on the map will be shown at the upkeep window tooltip, which I wanted to use as map version indicator. DisplayTextMessage and Floating text (TextTag) don't change font size.
 
Level 10
Joined
Mar 16, 2009
Messages
354
DisplayTextMessage and Floating text (TextTag) don't change font size.
umm. . . if you use floating text there is an area that is called "Font Size" and at defult is equal to 10, in maps where I need large fonts I use this function generally I use size 100.
Trigger
Event - Unit enters region (the city of asdf)
Action - create floating text at point event response on point of triggering unit font size 100.
- Wait 4 seconds
- Destroy last created floating text

using this trigger just create the region over the entire city and its done as simple as that
 
Level 5
Joined
Jul 24, 2007
Messages
199
Thank you very much, I didn't notice that because the size (argument 'height' in SetTextTagText) is not set with a separate function (I searched for SetTextTagSize/Height). Sometimes it's useful to work in GUI ^^'. Now I should work on setting the text to appropriate position on the screen (my camera rotates with the Hero, so it will be another piece of work...). Can I create a floating text for a local player only, or will it cause desyncs, does anybody know?
 
Status
Not open for further replies.
Top