• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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