O
Olle1330
Guest
How do I make ''cheat codes'' so when I ex. write ''makeahero'', a hero comes for me? Or ex. I write ''kill'' and then my hero dies. Does somebody know how to do this?
Untitled Trigger 002
Events
Player - Player 1 (Red) types a chat message containing -kill as A substring
Player - Player 2 (Blue) types a chat message containing -kill as A substring
Player - Player 3 (Teal) types a chat message containing -kill as A substring
Player - Player 4 (Purple) types a chat message containing -kill as A substring
. . . . . .
Conditions
Actions
Unit - Kill (<some unit>)
Untitled Trigger 002
Events
Player - Player 1 (Red) types a chat message containing -createhero as A substring
Player - Player 2 (Blue) types a chat message containing -createhero as A substring
Player - Player 3 (Teal) types a chat message containing -createhero as A substring
Player - Player 4 (Purple) types a chat message containing -createhero as A substring
. . . . . .
Conditions
Actions
Unit - Create 1 <Hero's type> for (Triggering Player) at <Point> facing <Angle>