• 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 faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Get your art tools and paintbrushes ready and enter Hive's 34th Texturing Contest: Void! Click here to enter!

What is the Trigger to change names ingame?

Status
Not open for further replies.

Rui

Rui

Level 41
Joined
Jan 7, 2005
Messages
7,551
  • Highblood'89
    • Events
      • Player - Player 1 (Red) types a chat message containing - as A substring
      • Player - Player 2 (Blue) types a chat message containing - as A substring
      • Player - Player 3 (Teal) types a chat message containing - as A substring
    • Conditions
    • Actions
      • Player - Set name of (Triggering player) to (Substring((Entered chat string), 2, 10))
The Events can be found in Player - Chat Message Event List. The Substring 2 - 10 means they can only have a name with 9 letters (counting with the 2. Like 2, 3, 4, 5, 6, 7, 8, 9, 10. In total it's 9 numbers). The number 1 is already taken by the - symbol.


Also, please use introduce yourself to the Hive Community here, if you haven't done so yet.
 

Rui

Rui

Level 41
Joined
Jan 7, 2005
Messages
7,551
  • Highblood'89
    • Events
      • Player - Player 1 (Red) types a chat message containing - as An Exact Match
      • Player - Player 2 (Blue) types a chat message containing - as An Exact Match
      • Player - Player 3 (Teal) types a chat message containing - as An Exact Match
    • Conditions
    • Actions
      • Player - Set name of (Triggering player) to HordeFreak
 
Status
Not open for further replies.
Top