Im trying to make a Behavior that brings an Air unit to the Ground.
On the behavior in the modifications field I have these fields set:
Unit: Height > 0
Movement: Plane Delta > Air = -1 | Ground =1
Ground units can target air unit with this buff but...
The unit is still up in the air.
The Height field does not accept negative values.
When I give it the value 1 it adds 1 to unit height sending them farther in the air.
It looks like the height being set is relative to the current height of casting unit.
So if your casting unit is one level up and the target is 1 below.
It will only goto ground level of casting unit.
Im trying to make a Behavior that brings an Air unit to the Ground.
On the behavior in the modifications field I have these fields set: Unit: Height > 0
Movement: Plane Delta > Air = -1 | Ground =1
Ground units can target air unit with this buff but...
The unit is still up in the air.
The Height field does not accept negative values.
When I give it the value 1 it adds 1 to unit height sending them farther in the air.
How do I get the unit Height to 0?
I want to know this too. I think it must be done with actors.
I had to put an event on the actor of the flying unit to get it to work. Still kinda buggy for me though.
Behavior.*.On
-Set Height
What is buggy?
Sometimes it wont accept zero as a value. Have you tried to set the height to 0.1?
It looks like the height being set is relative to the current height of casting unit.
So if your casting unit is one level up and the target is 1 below.
It will only goto ground level of casting unit.
Idk if you've figured it out yet, but if you look at this tutorial portions of it will show you how to do this.
Thanks! So use ability effects to move the unit. Easy.