Proper way to "pause" AI-Tree while attack is playing

Thank you, that solved my problem!