choose a trigger RANDOMLY and clone an SPECIFIC prefab

hi.
i need some help on this problem please.
i will apreciatte so much…

I have 3 or more different kind of enemies runing
and they randomly choose their own path.

and I need to instantiate a prefab, OnTriggerEnter
accord which enemy choose which trigger.

for example…
if green enemy choose trigger 1, … then
Instantiate (prefab_1, …);

but what if the same green enemy choose trigger 2, … then
Instantiate (prefab_2, …);

or if he choose trigger 3, then
Instantiate (prefab_3, …);

my specific problem is the script structure inside the trigger, or inside on any enemy.
choose a trigger RANDOMLY and clone an SPECIFIC prefab

any idea please ?
really i will apreciatte so much any kind of help with this… :frowning:

how goes the script structure…
.
2356436--159696--ontriggerenter picture 2.jpg

void OnTriggerEnter(Collider coll){
    if(coll.gameObject.tag == "Trigger1"){
        Instantiate(prefab1....
    }else if(coll.gameObject.tag == "Trigger2){
        Instantiate(prefab2...
    }
}

thanks so much … its working …
but if the same soldier try to pass again… ( two times ) not work.

thanks againa