• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[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?
 
  • 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.
Back
Top