• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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