PupilAdeptWazzlefop.lua 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. --[[
  2. Script Name : SpawnScripts/SouthQeynos/PupilAdeptWazzlefop.lua
  3. Script Purpose : Pupil Adept Wazzlefop <Concordium Mage>
  4. Script Author : Cynnar
  5. Script Date : 2020.04.12
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function spawn(NPC)
  9. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function InRange(NPC, Spawn)
  15. end
  16. function LeaveRange(NPC, Spawn)
  17. end
  18. function hailed(NPC, Spawn)
  19. FaceTarget(NPC, Spawn)
  20. dlg_6_1(NPC, Spawn)
  21. end
  22. --[[
  23. conversation = CreateConversation()
  24. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  25. AddConversationOption(conversation, "I would like the writ: Followers of the Fang", "dlg_5_1")
  26. AddConversationOption(conversation, "I would like the writ: Darkpaw Encroachment")
  27. AddConversationOption(conversation, "I will be going.")
  28. StartConversation(conversation, NPC, Spawn, "...")
  29. if convo==6 then
  30. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  31. AddConversationOption(conversation, "I would like the writ: Followers of the Fang", "dlg_6_1")
  32. AddConversationOption(conversation, "I would like the writ: Darkpaw Encroachment")
  33. AddConversationOption(conversation, "I will be going.")
  34. StartConversation(conversation, NPC, Spawn, "...")
  35. end
  36. end
  37. ]]--
  38. function dlg_6_1(NPC, Spawn)
  39. FaceTarget(NPC, Spawn)
  40. conversation = CreateConversation()
  41. PlayFlavor(NPC, "voiceover/english/pupil_adept_wazzlefop/qey_south/100_soc_gnome_concordium_wazzlefop_greeting_fd45f78a.mp3", "", "", 4189930656, 304987589, Spawn)
  42. -- AddConversationOption(conversation, "Okay.", "dlg_6_2")
  43. AddConversationOption(conversation, "Not today.")
  44. StartConversation(conversation, NPC, Spawn, "Are you a seeker of the arcane? Do you thirst for the knowledge of the mystical? You've come to the right place. Here at the Concordium, we serve the queen by using our mystical prowess to aid those in need. Take this writ and help us in our search for truth.")
  45. end