How to create a simple AI that moves to a point and executes a command

I have an idea but I’m not sure how to execute it. I have an AI that moves to a point (In my game it’s an object that moves along a spline) I want the AI to reach that point, stop, play an animation, then once the animation is done, take a float value off of the object.

Think of it like a goblin running up to a cart, steal some food and eating it, decrease the float amount of food on the cart.

Is this fairly simple? I’m not sure where to start, any help is greatly appreciated!

Try something like this

If you dont have animation montage replace with normal animation node
bandicam 2023-06-20 23-51-56-578

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.