The followPlayer native AI script function sets the activity of an NPC group to follow a specified player.
()followPlayer(PlayerEid: s, Radius: f) // followPlayer_sf_
()followPlayer("(0x0002015bb4:01:88:88)", 10);
This example code sets the activity of the NPC group to follow the player with an ID of "(0x0002015bb4:01:88:88)" with a dispersion radius of 10.