Making the AI controlled Enemy attack me when it reaches me...however it didnt work for me. Any help?

How do i call it from anywhere and how do i do that?