MaryDillon.lua 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. --[[
  2. Script Name : SpawnScripts/QeynosHarbor/MaryDillon.lua
  3. Script Purpose : Mary Dillon
  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. SetInfoStructString(NPC, "action_state", "mood_sad")
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function InRange(NPC, Spawn)
  16. end
  17. function LeaveRange(NPC, Spawn)
  18. end
  19. function hailed(NPC, Spawn)
  20. FaceTarget(NPC, Spawn)
  21. conversation = CreateConversation()
  22. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1053.mp3", "", "", 0, 0, Spawn)
  23. AddConversationOption(conversation, "Nothing.", "dlg_11_1")
  24. StartConversation(conversation, NPC, Spawn, "What?")
  25. --[[ if convo==18 then
  26. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1053.mp3", "", "", 0, 0, Spawn)
  27. AddConversationOption(conversation, "Nothing.", "dlg_18_1")
  28. StartConversation(conversation, NPC, Spawn, "What?")
  29. end
  30. if convo==19 then
  31. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1053.mp3", "", "", 0, 0, Spawn)
  32. AddConversationOption(conversation, "Nothing.", "dlg_19_1")
  33. StartConversation(conversation, NPC, Spawn, "What?")
  34. end
  35. if convo==20 then
  36. PlayFlavor(NPC, "", "Just leave me alone. Please!", "no", 1689589577, 4560189, Spawn)
  37. end]]--
  38. end