AI enemy 2D Scroller platforms game

Hello i need to implement some aI to an enemy in a platforms 2d game… I have been searching in internet and i found the typical patrol function from one point to another…I need something different, like chasing the character or whatever you could think of.

The idea different enemies has to have differents behaviours… ( its not valid different patrol points in different places)

Thanks in advance.