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

Original Name

Status
Not open for further replies.
Level 6
Joined
Mar 5, 2010
Messages
149
How can I store somebodys original name? Since I gonna use name change triggers and I don't want players being able to hide their names, so is there any way to store the names they used when the game started?
 
Level 9
Joined
Oct 17, 2009
Messages
370
Yes, use:
  • Player Group - Pick every player in (All players) and do (Actions)
    • Loop - Actions
      • Set Name[(Player number of (Picked player))] = (Name of (Picked player))
or
  • For each (Integer A) from 1 to (Number of players in (All players)), do (Actions)
    • Loop - Actions
      • Set Name[(Integer A)] = (Name of (Player((Integer A))))
Name is a String Array with the size of max players in your map.
 
Status
Not open for further replies.
Top