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

Displaying text to 1 person

Status
Not open for further replies.
Level 2
Joined
Nov 23, 2008
Messages
15
Go into your "A unit enters Region"-Trigger you made for the teleport (you created that trigger already did you?)...

...and add the action under "Actions -> Game -> Text Message (Auto-Timed)" - Then you will see "Display to (All Players) the Text." - click on Text and fill in whatever you want to tell the player - Then click on "All Players" and on the drop-down-menu you see in the new window -> select "Convert Player to Player Group" and then on the link "Player 1(Red)" -> Owner of (Triggering Unit) --- Then you should have:

Display to (Player Group(Owner of (Triggering Unit))) the text: teleporting to the market

Hope this helps :wink:
 
Level 2
Joined
Nov 23, 2008
Messages
15
  • Events
    • Unit - a unit enters region
  • Conditions
  • Actions
    • Set textplayer = (Player group((Owner of (Triggering unit))))
    • Game - Display your text to playergroup(textplayer)

Just add...

  • Custom Script - call DestroyForce (udg_textplayer)
and it shouldn't leak
 
Status
Not open for further replies.
Top