How to move AI character in y axis?

I have a AI NPC moving with Event Receive Execute AI Node in a TaskBp. Im pulling off of it to a AIMoveTo Node. In the destination input, I put 100=x, 0=y, 0=z. It moves perfect on the x axis.

What im trying to do is move the character on the y axis, but that doesn’t work with AIMoveTo node.

How do I move the NPC in the y axis?

I just want to move the AI in a single direction. Nothing fancy.

Any help is appreciated, thank you.

Can you show code for this execution chain?

If this works for you for move on the X axis what stops you from setting it up like this:

BTW don’t forget to put in the failed state.

No that doesn’t work, that input says Destination and always goes to the center of the level.

Epic has not updated the AI components to allow for a Y axis input outside of a height option. The option just isn’t available since everything in the AI uses its tracking based on the ground and models on the ground.

I had the exact same issue and someone was nice enough to be helpful and go over building the actor blueprints with me.

Affirmative!

That’s also what your blueprint does but maybe you’ve set up your character at X=0 so it seems to work.

Do you need the movement to be relative to the actor?

Do the axis need to be relative to the character or along the X/Y on the world?

Can you move the actor away and test again if your initial setup still works?

Please do explain more clearly what is the desired result.