| 03-17-2006, 12:58 AM | #1 |
I can't seem to figure out how to simply make the set variable command select the hero of the player who enters a chat command. The closest I've come to figuring it out is. Trigger: That however, does not seem to work properly. |
| 03-17-2006, 01:21 AM | #2 |
try this Trigger: Set someunitvariable = (Random unit from (Units in (Playable map area) matching ((((Matching Unit) is A Hero) Equal to True) and ((Owner of (Matching Unit)) Equal to (Triggering Player))))) |
| 03-17-2006, 02:12 AM | #3 |
Bingo, that did the trick, much thanks! |
