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.
https://www.fab.com/listings/66e0d72e-982f-4d9e-aaaf-13a1d22efad1
1 Like