I'm glad to share with you a simple tutorial of how to animater a flag in Houdini and export it to Unreal using vertex animation textures. At the end of the tutorial is shown how to offset and add variety to the animation with a couple of simple parameters.
I hope you find it useful.
Cheers,
Oscar