This commit is contained in:
andrew6180
2023-04-16 00:31:14 -07:00
parent 6be1be1c09
commit 1e9fa2aaca
99 changed files with 55800 additions and 2 deletions
+14
View File
@@ -0,0 +1,14 @@
if not VoiceOver or not VoiceOver.DataModules then return end
AI_VoiceOverData_Vanilla = {}
function AI_VoiceOverData_Vanilla:GetSoundPath(fileName, event)
setfenv(1, VoiceOver)
if Enums.SoundEvent:IsQuestEvent(event) then
return format([[generated\sounds\quests\%s.mp3]], fileName)
elseif Enums.SoundEvent:IsGossipEvent(event) then
return format([[generated\sounds\gossip\%s.mp3]], fileName)
end
end
VoiceOver.DataModules:Register("AI_VoiceOverData_Vanilla", AI_VoiceOverData_Vanilla)