How can I run an Animation in code?

All I need is to run an animation by passing in a string i.e. the name of the animation to run to, I’m assuming, the method stored within an actor/pawn?

This is what I had in UE3:

CustomAnimNode.PlayCustomAnim("NameOfAnimation", 1.0);

Any help would be great :smiley: