Jilaen.lua 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/Jilaen.lua
  3. Script Purpose : Jilaen
  4. Script Author : John Adams
  5. Script Date : 2009.03.01
  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. conversation = CreateConversation()
  21. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1005.mp3", "", "", 0, 0, Spawn)
  22. AddConversationOption(conversation, "I am XXXXXXXX.", "dlg_38_1")
  23. StartConversation(conversation, NPC, Spawn, "Hello there! I'm Jilaen, who are you?")
  24. end
  25. function dlg_38_1(NPC, Spawn)
  26. FaceTarget(NPC, Spawn)
  27. conversation = CreateConversation()
  28. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  29. AddConversationOption(conversation, "Not yet.", "dlg_38_2")
  30. StartConversation(conversation, NPC, Spawn, "It's a pleasure to meet you! I love meeting new people, and exploring new places, and learning new things! Everyone I've met has taught me so much, even if they didn't want to! Have you met Lady Katri?")
  31. end
  32. function dlg_38_2(NPC, Spawn)
  33. FaceTarget(NPC, Spawn)
  34. conversation = CreateConversation()
  35. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  36. AddConversationOption(conversation, "I'll go find her.", "dlg_38_3")
  37. StartConversation(conversation, NPC, Spawn, "Really? You should go speak with her! If you take the path west, staying left when you have a choice, you'll get to Kelethin. There you can ride the lift up right to the platform that Lady Katri is on! She can teach you about the Fae!")
  38. end
  39. function dlg_38_3(NPC, Spawn)
  40. FaceTarget(NPC, Spawn)
  41. conversation = CreateConversation()
  42. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  43. AddConversationOption(conversation, "Goodbye.", "dlg_38_4")
  44. StartConversation(conversation, NPC, Spawn, "Hooray! Goodbye for now!")
  45. end