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

-name trigger [GUI]

Status
Not open for further replies.
Level 9
Joined
Dec 17, 2008
Messages
499
I should probably post this in the triggers section, but..

Anyone know how to make a -name trigger like in some RP maps?
 
Level 2
Joined
Aug 1, 2007
Messages
11
Try this:
  • Untitled Trigger 001
    • Events
      • Player - Player 1 (Red) types a chat message containing -name as A substring
    • Conditions
      • (Substring((Entered chat string), 1, 6)) Equal to -name
    • Actions
      • Game - Display to (All players) the text: ((Name of (Triggering player)) + ( has changed their name to + (Substring((Entered chat string), 7, 20))))
      • Player - Set name of (Triggering player) to (Substring((Entered chat string), 7, 20))
I'm assuming you want one of the type "-name BLAHBLAH" to change your name to "BLAHBLAH?"
Hope it works! XD
The game message is just to tell you the name has changed. Copy 'n paste the event for every player and BAM!
 
Status
Not open for further replies.
Top