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

Complicated question involving text

Status
Not open for further replies.
Level 8
Joined
Aug 1, 2008
Messages
420
Well im not sure how to phrase this, but here we go:
How can you put the players name into text? Like... instead of saying "Player 1 vs Player 4" It will say for example "FriXionX vs Purplepoot (first name popped in my head lol)
But if other people are playing, it will say "Ralle vs Rui" (again, names popped into my head lol)
How can i do this? Ive seen it before, and i bet its really simple :bored:
Edit: NOOOOO I DIDNT MEAN TO PUT IGNORED >.<
 
Level 16
Joined
Jul 21, 2008
Messages
1,121
Of course.

  • Set TempPoint = <Somewhere>
  • Floating Text - Create floating text that reads ((Name of Player 1 (Red)) + (vs + (Name of Player 4 (Purple)))) at TempPoint with Z offset <0.00>, using font size <10.00>, color (<100.00%>, <100.00%>, <100.00%>), and <0.00%> transparency
  • Custom script: call RemoveLocation(udg_TempPoint)
Chage text between ''< >'' to your needs.
 
Level 8
Joined
Aug 1, 2008
Messages
420
K, ignore this thread, i made a new one with a much clearer question.
Thanks for the help anyway, didnt know that, +rep.
 
Status
Not open for further replies.
Top