@prime: Thanks, I will give it a go.
@Luger: Hey. There are quite a number of ways to accomplish this, which I am sure @prime can explain. However, if I understand your query, the first thing you would have to do, is to script a mouse click event (assuming it is for pc), which shoots a raycast that detects the position where the ray has hit on the terrain. This will then allow you to add a rain navigation target to said point. Alternatively, you could just create a prefab which gets instantiated at this transform point. The prefab can contain visual aspects among other components.
After, it is a simple matter of the NPC detecting the aspect and moving towards it, and execute whatever action you want. This is all dependent on the BT you create. Alternatively, you could create a custom behaviour script for the NPC, reference it from the raycast script, and tell it what to execute as a custom action.
I am sure there are still a number of other ways, but this is what I got from the top of my head. Hope it helps a bit.
This reply was modified 6 months, 2 weeks ago by BrokenHelmet.