11 static void PlayGameSound(
const RE::Actor* a_actor,
const RE::BGSSoundDescriptorForm* a_sound,
const float a_volume)
13 if (!a_actor || !a_sound)
18 RE::BSSoundHandle handle;
19 const auto am = RE::BSAudioManager::GetSingleton();
20 am->GetSoundHandle(handle, a_sound->soundDescriptor);
21 handle.SetVolume(a_volume);
22 handle.SetObjectToFollow(a_actor->Get3D());