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

Triggering Player Names

Status
Not open for further replies.
Level 5
Joined
Dec 22, 2008
Messages
100
Whats the wordage so that the game will display a player's current name?
Such as if i wanted to get it to display a player's username online, like
"Ecrolls has left the game" Instead of "Red has left the game" without manually writing in my own username?
 
Level 5
Joined
Dec 22, 2008
Messages
100
  • Events
    • Player - A player leaves the game
  • Conditions
    • (Owner of (Triggering unit)) Not equal to Neutral Hostile
  • Actions
    • Set Name = (Name of (Triggering player))
    • Game - Display to (All players) the text: (Name + has left the game.)
Does this contribute ?

Thanks! It does :), but what kind of variable is "A player" ?
EDIT: NVM haha i understand now
 
Status
Not open for further replies.
Top