double trigger

I had everything working great, until i tested another script and noticed the enemy skipping waypoints. upon checking in the inspetoer it wasn’t skipping but double triggering throu the way points, as it enters it triggers twice.`

function OnTriggerEnter(col : Collider){

	if(col.tag == "waypoint" ){
		print("hi");
		currentWaypoint++;
	}

}`

i have tried deleting the other script and it changed nothing any ideas on this would be helpful.

I answered this for someone else last week actually. Here is a link to that answer. All you need to do is add a boolean to prevent the second trigger event.