Is it possible to record NPC route by playing it?

I am making a map for a type of mission where you would have to chase another player in a kind of parkour style. So i would want him to follow a specific route and be able to climb, vault and slide like the playable character. So is it possible for me to record the route by playing that character?