Pick Up From Anywhere

Hey, I tried searching through the forum if anyone else has had this issue but i couldn’t find it.
When i ask the convai character to pick the item, not “go and pick the item” they pick the item from anywhere as long as they have knowledge of it. is there a way to set up a limit or range on the items they can see like how far? is this something that has to be set up in the personality?

Hello @pinkwaffle,

To control how far an NPC can “see” or interact with an object, you’ll need to modify the Blueprint you’ve assigned to the Pick Up action.

Specifically, you can reference the example Macro_MoveTo included with the plugin. It demonstrates how you can check distance or conditions before executing the action. You can integrate similar logic into your Pick Up Blueprint.

Before I ask the character to pick up an object is there a way to do a check to see if the object can actually be picked up. Like for example, the character can interact with a tree, but if I ask him to pick up the tree I don’t want him to go and try and pick it up. Is this something I just have to put in the knowledge bank and specify that objects that are big like trees and rock can’t be pick up and the character will not try to pick them up?

Also I can make the character pick up items and I want to set it up so that the character can open doors for example if they pick up a key. My best bet is to use Nav Links to allow the AI character to walk through and open doors but I’m having issues with the character being aware that they have the key in their hand and being able to use it

For the first part, yes, you can try adding descriptions to each object in the Details panel where you define them. For example, you could specify something like “This object is large and cannot be picked up.”

As for the second part regarding key and door logic, this depends entirely on your Unreal Engine implementation. You might consider modifying the Pick Up action to trigger an event, and then make your door blueprint listen for that event or check the state. These parts will need to be built on your end as they fall outside the scope of Convai-specific support.