• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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