Substrig = Flying Height, +rep for help

Furberg

Ultra Cool Member
Reaction score
45
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
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,494
> Use 0.00 instead of 0.01.

Actually, 0.01 should work too. Only, it will be insanely slow...
The "rate" on that action is the height you cover within one second until you reach the final height.
 
Reaction score
456
Same as units movespeed then? I do not mean same value, but same principle?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top