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

[Trigger] Name recognition system?

Status
Not open for further replies.
Level 2
Joined
Aug 15, 2007
Messages
9
im trying to make a GUI system that can recognize a string as a players name and then do actions to that player's hero, pleez halp!

so far i've made string variables for every player and set those variables on map initialization.
i've also done this for each player, it goes off when i use an ability
  • If ((Entered chat string) Equal to player1) then do (Unit - Kill (Matching unit)) else do (Do nothing)

:confused:
 
Status
Not open for further replies.
Top