polo2005
Wana start playing LoL? http://tinyurl.com/369as27
- Reaction score
- 97
Code:
Untitled Trigger 002
Events
Map initialization
Conditions
Actions
Hashtable - Create a hashtable
Set test_hashtable = (Last created hashtable)
Hashtable - Save Handle OfMarine 0001 <gen> as (Key units_handle[1]) of 1 in test_hashtable
Hashtable - Save Handle OfCaptain 0005 <gen> as (Key units_handle[2]) of 1 in test_hashtable
Code:
Untitled Trigger 003
Events
Player - Player 1 (Red) types a chat message containing debug as An exact match
Conditions
Actions
Game - Display to (All players) the text: (Name of (Load [B](Key units_handle[1]) [/B]of 1 in test_hashtable))
Game - Display to (All players) the text: (Name of (Load [B](Key units_handle[2])[/B] of 1 in test_hashtable))
why does the second trigger return Captain on both game messages?