Behavior Tree Task: Find Location of an Object

I currently have a task that finds the player’s location. This task is hooked up to a behavior tree which makes the ai run towards the player. I would like it to be able to find a static mesh instead. How would I get the location of the object?[SIZE=24px];base64

Hi man
If you drop a static mesh inside the level , it will become a “staticmeshactor”
so you can use “get all actor of class” or “get all actor with tag” to have an array of them or an array of actors with specific tag.(you have to add a tag to the actor)
Than you can get the location from one of them choosing “get 0”

Thanks, it works!