I tried to add Flying to the Structure's Collision array, but noticed the tooltips heavily imply that Ground - Flying collision is not a thing. And indeed upon testing it did not work.
There are no options for this that I can find in the footprint actors either.
Is there a way to make a ground structure block the pathing of a flying unit?
Or make the flying unit increase in height when flying over a structure?
I tried to add Flying to the Structure's Collision array, but noticed the tooltips heavily imply that Ground - Flying collision is not a thing. And indeed upon testing it did not work.
There are no options for this that I can find in the footprint actors either.
Is there a way to make a ground structure block the pathing of a flying unit?
Or make the flying unit increase in height when flying over a structure?
Figured it out.
Im gunna post what I did so others can use this idea:
First make 2 Behaviors
Low Fly Zone Base
Type: Buff, Parent: Default Behavior (CBehaviorBuff)
Make sure Period is a fast value. If its not fast enough Flying units could enter and leave the Low Fly Zone before being affected.
Low Fly Zone Enforcement
Type: Buff, Parent: Default Behavior (CBehaviorBuff)
I use 5 but Height can be set to whatever you need, depending on how tall the unit using this is, ect...
Height Time: Start needs to be pretty fast so the Flying unit will get to the new height before getting to the tall unit.
Next make 2 Effects
Low Fly Zone Apply
Type: Apply Behavior, Parent: Default Effect (CEffectApplyBehavior)
Low Fly Zone Search Area
Type: Search Area, Parent: Default Effect (CEffectEnumArea)
Finally just add Low Fly Zone Base to whatever ground unit you want the Flying units to "climb" over.