Hi Philipp,
As Dmitry mentioned, there are different approaches. simplest is to open specific animation (like a walk cycle) and in Notifies section, Add Notify > Play Sound, and link it to a Sound Wave or Sound Cue.
more involved method involves generating sounds based on surface type. For this, first you will want to specify types in your project’s DefaultEngine.ini as such:
[PhysicalMaterial.SurfaceTypes] SurfaceType1=Wood SurfaceType2=Concrete SurfaceType3=Metal
(this is likely to be moved in-editor at some point)
Then, in your Animation Sequence’s AnimNotify, make Notify Events instead of a sound. These Event can be used in Animation Blueprint’s EventGraph, where you can do a Single Line Trace down from your actor to Get Surface Type, and connect that to a Misc > Select node which you’ll set to EPhysicalSurface. Populate list of surface types with your sound cues, and Play Sound at Location of Line Trace.
I hope that helps!