- Joined
- Jun 17, 2011
- Messages
- 64
i want to know how to make commands like when you type -kill it kills your hero in the next 5 sec but i been trying to do it myself and i couldnt get it to work
you can't use triggering unit since there is no unit triggering it, the player is not the unit so you could make different one for each hero like
-kill Pally
-kill fire mage
or you could use a hashtable and save the hero to the player so that when you type -kill hero you make it load that player's hero from the hashtable
you can look here
http://www.hiveworkshop.com/forums/trigger-gui-editor-tutorials-279/hashtables-mui-133407/
or if you send me the map i can try and do it
Idk how to do it unless you select the hero like from a tavern or something, but idk how to save it if you start out with the hero so you might want to try what brambleclaw said or just make one for ever hero or just wait for someone eles who knows more too come by