Download

How do i play WAV file from c++ ( in blueprint there is a node for it ) or making a new sound cue ?

How do i play WAV file from c++ ( in blueprint there is a node for it ) or making a new sound cue and assign the wav file to it at runtime so i can use PlaySoundAtLocation ?

You can create sound cue in the editor and then use UGameplayStatics::PlaySoundAtLocation or UGameplayStatics::PlaySoundAttached.

Documentation:
https://docs.unrealengine.com/latest/INT/API/Runtime/Engine/Kismet/UGameplayStatics/PlaySoundAtLocation/index.html
https://docs.unrealengine.com/latest/INT/API/Runtime/Engine/Kismet/UGameplayStatics/PlaySoundAttached/index.html

Hi,
I have recently created a plugin to import the audio files with mp3, wav, flac in runtime.