By default AI enemy overlaps my character that I control and Action A happens. But if my Character is over 120 units or more on the Z axis it does Action B. How can I do that in Unreal?

By default AI enemy overlaps my character that I control and Action A happens.
But if my Character is over 120 units on the Z axis or more it does Action B.
How can I do that in Unreal?

So if your player character is 120 units above the ground, you’d like the AI to do something else… right?

If possible, on your AI BP, I’d use the ComputeFloorDistance node (get a reference to your player character)… then Branch your AI behaviors using a > node

(do it first on Tick, just to get the functionality right… the later make it more efficient using a timer or something)