• 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] Need help setting player name!

Status
Not open for further replies.
Level 4
Joined
May 2, 2009
Messages
69
I want to make it so at the start it says "Type in your name" and whatever you type replaces your player name. The problem is the only things you can do to replace it are things where you have to know exactly what to type in, like this:
  • Set Name
    • Events
      • Player - Player 1 (Red) types a chat message containing (Typed in name) as A substring
    • Conditions
    • Actions
      • Set PlayerName[1] = (Entered chat string)
Anyone know how to fix it?
 
Level 24
Joined
Feb 28, 2007
Messages
3,479
  • TriggerName
    • Events
      • Player - Player 1 (Red) types a chat message containing <Empty String> as A substring
      • Player - Player 2 (Blue) types a chat message containing <Empty String> as A substring
      • Player - As many more players as you need
    • Conditions
    • Actions
      • Player - Set name of (Triggering player) to (Entered chat string)
That should work.
 
Status
Not open for further replies.
Top