- Joined
- Apr 18, 2011
- Messages
- 11
Well i've done most of the trigger work on my new map now, but i cannot figure out how to make triggers with chat message based events work.
Most importantly i need an efficient trigger for a random system, as when a player types -random and they are on the allience side, they are given a random allience hero and if a player on the horde side types -random, they are given a random horde heroe. (For some reason my trigger just picked the same hero each time.) I also need it so that when that hero is selected by random, it cannot be picked from the hero selector shop or selected by random again. If possible i would like to use a -repick trigger also.
Secondly i would like to add a -swap function so that when a player types -swap(colour of player on his side) and the player of that colour types -swap in return, ownership is switched between their 2 heroes.
Thanks in advance for help!
Most importantly i need an efficient trigger for a random system, as when a player types -random and they are on the allience side, they are given a random allience hero and if a player on the horde side types -random, they are given a random horde heroe. (For some reason my trigger just picked the same hero each time.) I also need it so that when that hero is selected by random, it cannot be picked from the hero selector shop or selected by random again. If possible i would like to use a -repick trigger also.
Secondly i would like to add a -swap function so that when a player types -swap(colour of player on his side) and the player of that colour types -swap in return, ownership is switched between their 2 heroes.
Thanks in advance for help!