What's the use of 'Lock AILogic' in 'Move to Location or Actor'?

Hi,
AiTask move to = Move to Location or Actor node is used to move AI with option to lock behavior tree when Lock AiLogic=1. When node finish with fail/success then behavior tree is unblocked which can be see if you run and debug ai by press ’ and see time is frozen during execution of your AiTask move to = Move to Location or Actor node.

Without Lock AiLogic=0 (uncheck), AI will try execute your node but task from behavior tree will override it. And it is same situation as you use following node: Simple Move to location/actor, Ai Move To, which you can use if your AI has not own behavior tree and used for simple ai logic

337432-capture1.png

1 Like