Triggers not working

I’m having an issue getting my trigger to work. I’m using a character controller on my player but it isnt getting detected when I collide. I marked the object as a trigger and named everything correctly. Something must be wrong here. I believe the controllerCollider is the thing it can’t find mabye ? I get no errors.

function OnControllerColliderhit (hit : ControllerColliderHit)
{
if(hit.gameObject.tag == "triggerloadbarracks")
   {



}

A trigger reacts to Character Controller and/or rigidbodies. The problem is that you’re using the wrong event - for triggers use OnTriggerEnter:

function OnTriggerEnter (hit : Collider){    
  if(hit.gameObject.tag == "triggerloadbarracks"){
    // do whatever you want here
  }
}