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

[Trigger]Request to store and load player names

Status
Not open for further replies.
This is what I was telling you to do in chat:

  • Player Names
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Set tempPlayer = (Picked player)
          • Set tempInt = (Player number of tempPlayer)
          • Set PlayerName[tempInt] = (Name of tempPlayer)

Then whenever you need to refer to it:
  • Actions
    • Set tempPlayer = (Triggering player)
    • Set tempInt = (Player number of tempPlayer)
    • Game - Display to (All players) the text: PlayerName[tempInt]
 
Status
Not open for further replies.
Top