Im trying to move the AI to a point nearby to player when it is located out of the weapons range. I found some code here in the forums, but cant make it work. Im supposed to have a move action, with a moveTarget variable, then in my code, set moveTarget variable to the destination coordinates. The problem is that it doesnt works, probably because my behaviour tree has some error. I first tried to create the move action alone, and then depending on a constraint, but anyway, it doesnt works. Can somebody help me with this?