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

Check player name?

Status
Not open for further replies.
Level 4
Joined
Jan 2, 2021
Messages
20
Hello, i wanted to add a chat command for the admin (me in this case :) ) in my map.
So, if i play the map with others, only me can type the command and smth will happen.
I tried this but it didn't work:

  • AdminObserver
    • Events
      • Player - Player 1 (Red) types a chat message containing -observer as An exact match
    • Conditions
      • (Name of (Triggering player)) Equal to Zankh
    • Actions
      • Unit - Create 1 Zankh for Player 1 (Red) at (Center of Reds Area <gen>) facing Default building facing degrees
I tested it online, but with no other players.
What have i done wrong?
Thank you :)
 
Last edited:
Status
Not open for further replies.
Top