Enemy trigger for player

Hi all! My enemy shoots the ball continuously without stopping when I start playing. I wish that the enemy only when you start shooting within his field of vision. So I want to create a cube in which triggers when I enter the cube where is my enemy, he starts to shoot. I write a script trigger to my enemy? Thanks in advance. :slight_smile:

I would do a trigger script that when you collide with the cube http://unity3d.qatohost.com/questions/204670/trigger-other-objek-animation.html this triggers animation but it could easily trigger the firing of the enemy