How to make camera follow character?

I thought the follow command only works with basic directing?