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

Player's name in ingame text like in DotA?

Status
Not open for further replies.
Ah, i've forgotten to tell, for smooth use this to get player name:
  • Set string = (Name of Player 1 (Red))
'string' is a variable here. and then:
  • Game - Display to (All players) the text: (string + ( has pawned + (Name of Player 2 (Blue))))
You can use this for namy players.

Egzample in previous post will do that too, however variable will be better anyways.
 
You use the native which returns a string of the name of a certain player in combination with string concatination with constant strings.

  • Game - Display to (All players) the text: ((Name of Player 1 (Red)) + ( has pawned + (Name of Player 2 (Blue))))
Is a conmbination of strings with certain players? Don't say me that you looked only on second egzample, I just wanted to show that he can also use variable strings, becasue meaby he also needs players name for other stuff.
 
Status
Not open for further replies.
Top