Black Ops III

GetPrimaryDeltaAnim

Returns the primary delta anim playing on this entity, or the name of the animation if the entity is in an animscripted state.

Example:

anim = self GetPrimaryDeltaAnim()