DeepThought
New Member
- Reaction score
- 1
There is a way to detect the "z" of a unit with the function: GetLocationZ(). I am wondering if there is a function to set the "z" of a unit.
What I am trying to do is that if a unit walks off of a non-blizzard cliff, they actually fall downward, like in real life.
Flying hight is ineffective because flying hight sets their "z" hight to the value entered for the fly hight + the "z" of the current ground. I want to just set the unit's "z", not the units "z" plus the ground.
If there is no way to simply set the unit's "Z" through a function, then can someone tell me a way how I might be able to fake this?
What I am trying to do is that if a unit walks off of a non-blizzard cliff, they actually fall downward, like in real life.
Flying hight is ineffective because flying hight sets their "z" hight to the value entered for the fly hight + the "z" of the current ground. I want to just set the unit's "z", not the units "z" plus the ground.
If there is no way to simply set the unit's "Z" through a function, then can someone tell me a way how I might be able to fake this?