Okay guys im trying to change a units flying height by entering a substring, but it wont quite work. try look at the code:
Code:
fly
Events
Player - Player 1 (Red) types a chat message containing -fly as A substring
Conditions
Actions
Unit - Add Crow Form to PlayersHero[1]
Unit - Remove Crow Form from PlayersHero[1]
Animation - Change PlayersHero[1] flying height to (Real((Substring((Entered chat string), 6, 9)))) at 0.01