FirionaVie.lua 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. --[[
  2. Script Name : SpawnScripts/FrostfangSea/FirionaVie.lua
  3. Script Author : TyroneSWG
  4. Script Date : 2020.07.01 08:07:55
  5. Script Purpose : General Testing Information.
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function hailed(NPC, Spawn)
  11. FaceTarget(NPC, Spawn)
  12. conversation = CreateConversation()
  13. --PlaySound(NPC, "blah.mp3", GetX(NPC), GetY(NPC), GetZ(NPC))
  14. AddConversationOption(conversation, "How do I get to the Discord?", "Choice1")
  15. AddConversationOption(conversation, "How do I use commands?", "Choice2")
  16. AddConversationOption(conversation, "I need gear!", "Choice3")
  17. -- AddConversationOption(conversation, "Can you take me to Memorial Island please?", "Choice4")
  18. AddConversationOption(conversation, "I do not require anything at this time.", "EndConvo")
  19. StartConversation(conversation, NPC, Spawn, "Hail, Adventurer. How may I assist you?")
  20. --AddCharacterTitle(Spawn, "Lord")
  21. end
  22. function Choice1(NPC, Spawn)
  23. FaceTarget(NPC, Spawn)
  24. conversation = CreateConversation()
  25. AddConversationOption(conversation, "Tell me more.","Discord2")
  26. AddConversationOption(conversation, "Thank you!")
  27. StartConversation(conversation, NPC, Spawn, "Visit the website to get a link to the Discord server. There you will find many useful resources. I have more information regarding Discord if you would like to know.")
  28. end
  29. function Discord2(NPC, Spawn)
  30. FaceTarget(NPC, Spawn)
  31. conversation = CreateConversation()
  32. AddConversationOption(conversation, "Thank you!")
  33. StartConversation(conversation, NPC, Spawn, "There are 2 public EQ2EMU Discord Channels. 'EQ2EMU & EQ2PVP' channel handels more backend code discussion. 'EQ2Emu' channel covers more content related updates (and Bug reporting). ")
  34. end
  35. function Choice2(NPC, Spawn)
  36. FaceTarget(NPC, Spawn)
  37. conversation = CreateConversation()
  38. AddConversationOption(conversation, "Thank you!")
  39. StartConversation(conversation, NPC, Spawn, "Visit the Wiki to view the list of commands players can use to help test.")
  40. end
  41. function Choice3(NPC, Spawn)
  42. FaceTarget(NPC, Spawn)
  43. conversation = CreateConversation()
  44. AddConversationOption(conversation, "Thank you!")
  45. StartConversation(conversation, NPC, Spawn, "This magical creature next to me will give you what you need to start your adventure!")
  46. CloseConversation()
  47. end
  48. function Choice4(NPC, Spawn)
  49. FaceTarget(NPC, Spawn)
  50. conversation = CreateConversation()
  51. Emote(NPC, "begins casting Call of the Beyond")
  52. StartConversation(conversation, NPC, Spawn, "Sending you away!")
  53. Zone(GetZone(816), Spawn, 48.28, -1.08, 44.05, 221.37)
  54. end
  55. function EndConvo(NPC, Spawn)
  56. FaceTarget(NPC, Spawn)
  57. conversation = CreateConversation()
  58. AddConversationOption(conversation, "Thank you!")
  59. StartConversation(conversation, NPC, Spawn, "Farewell, I will be here if you need information!")
  60. Emote(NPC, "waves")
  61. CloseConversation()
  62. end
  63. function respawn(NPC)
  64. end