NPC follow player

Hello,

I have c++ problem. I need function, which is able to follow player, who is victim.

i have classic template for creature script and i have in this.


void EnterCombat(Unit* /*who*/)

	    {

	    me->SetIsFollowing(true);

	    }

Its correct? or shall i write it other way? I just need, when he gets victim (got from other NPC, which summoning), to stuck on him and follow him.