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

Text in center

Status
Not open for further replies.
Level 10
Joined
Nov 3, 2009
Messages
687
How to make when unit enters region and then apears text on middle of screen ex. Entering: The Barrens
Screen \|/
|----------------------------------------------------|
|----------------------------------------------------|
|----------------------------------------------------|
|----------------------------------------------------|
|-----------------Now Entering: Text--------------------|
|----------------------------------------------------|
|----------------------------------------------------|
|----------------------------------------------------|
|----------------------------------------------------|
|----------------------------------------------------|
|----------------------------------------------------|
|----------------------------------------------------|
|----------------------------------------------------|
|----------------------------------------------------|
|----------------------------------------------------|
 
Level 8
Joined
Dec 9, 2009
Messages
397
Put a lot of spaces before the words, you'll have to just test to see if it's in the middle or not.

Not sure if it will be the same on all resolutions people play on though.

There is also text with offset, not sure how it works myself though.
 
Level 8
Joined
Dec 9, 2009
Messages
397
It's easy in trigger to.. I said just add spaces before words, the words don't show in the trigger because of the spaces.

It's the same method you used to show us the example.

  • Events
    • Unit - A unit enters Barrens <gen>
    • Conditions
    • Actions
      • Game - Display to (Owner of (Triggering unit)), at offset (0.00, 0.00) the text: ...
 
Status
Not open for further replies.
Top