14 static void PlaySound(
const RE::Actor *a_actor,
const RE::BGSSoundDescriptorForm *a_sound,
const float a_volume)
16 RE::BSSoundHandle handle;
17 const auto am = RE::BSAudioManager::GetSingleton();
18 am->GetSoundHandle(handle, a_sound->soundDescriptor);
19 handle.SetVolume(a_volume);
20 handle.SetObjectToFollow(a_actor->Get3D());