• 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!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Help with Command Triggers

Status
Not open for further replies.
Level 3
Joined
Sep 27, 2015
Messages
42
Hi!

Trying to do some commands for my map, I've found a way around some of them but can't figure out the other.

First, I'd just like an alternative to one. So far, I have an ally and unally system but it uses 1 trigger for each player. So 1 trigger for red and blue ally, one trigger for red and blue unally etc. Is there a better or faster way to do this?

Second, I would like to add a -name command, where a player would enter, for example...

-name RyanAvx

Then the trigger would change the players in-game name to the value they entered after -name. How can I do this?

Thanks
:3
 
Level 3
Joined
Sep 27, 2015
Messages
42
Does this only include what's written after -name?

My previous attempts basically set their name as -name RyanAvx in total, lol ^^
 
Level 3
Joined
Sep 27, 2015
Messages
42
Awesome, thanks a lot Iceman :)

Edit - Nevermind figured it out, thanks again.
 
Last edited:
Status
Not open for further replies.
Top