audio will not play if trigger collides

hey here is my question i have my trigger finaly working now but i add a script for the sound of the doors opening bu unity says that it is not a proper version of unity audio source engine or donthing can you help me?

 var triggerTarget : GameObject;

function OnTriggerEnter (other : Collider) {
     triggerTarget.animation.Play("Take 001");

You are trying to pass a String to the Play function.

The play function don't need to receive a var...

Just use:

var audio1 : AudioClip;
var audio2 : AudioClip;

function OnTriggerEnter (other : Collider) {
    audio.clip = audio1;

    //Play another sound
    audio.clip = audio2;


Don't forget to have a AudioSource component to your object and attach the sounds in the inspector. does not take a string parameter. Why are you providing it?