Add files via upload

This commit is contained in:
Dinkledork
2023-03-09 03:36:13 -07:00
committed by GitHub
parent 853f202792
commit eae97d262b
23 changed files with 403 additions and 23 deletions

19
SWTrapQuestR.lua Normal file
View File

@@ -0,0 +1,19 @@
-- Quest ID for the quest that should trigger the sound
local QUEST_ID = 30004
-- Creature ID for the creature that gives the quest
local CREATURE_ID = 12480
-- Sound ID for the sound that should play when the quest is rewarded
local SOUND_ID = 20427
-- Emote ID for the emote that should play when the quest is rewarded
local EMOTE_ID = 113
-- Register the event for quest reward
RegisterCreatureEvent(CREATURE_ID, 34, function(event, player, creature, quest)
if quest:GetId() == QUEST_ID then
creature:PlayDistanceSound(SOUND_ID)
creature:PerformEmote(EMOTE_ID)
end
end)