loowoonla.lua 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. --[[
  2. Script Name : loowoonla.lua
  3. Script Purpose : Waypoint Path for loowoonla.lua
  4. Script Author : Devn00b
  5. Script Date : 04/10/2020 02:13:55 PM
  6. Script Notes : Locations collected from Live
  7. --]]
  8. function spawn(NPC)
  9. waypoints(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. end
  14. function respawn(NPC)
  15. spawn(NPC)
  16. end
  17. function waypoints(NPC)
  18. MovementLoopAddLocation(NPC, 673.87, -17.95, 193.59, 2, 0)
  19. MovementLoopAddLocation(NPC, 680.77, -19.28, 191.96, 2, 0)
  20. MovementLoopAddLocation(NPC, 679.3, -19.37, 187.84, 2, 0)
  21. MovementLoopAddLocation(NPC, 610.55, -15.73, 204.39, 2, 0)
  22. MovementLoopAddLocation(NPC, 610.83, -16.46, 210.65, 2, 0)
  23. MovementLoopAddLocation(NPC, 673.56, -17.95, 193.43, 2, 0)
  24. MovementLoopAddLocation(NPC, 673.73, -17.95, 193.1, 2, 0)
  25. MovementLoopAddLocation(NPC, 643.87, -17.95, 202.22, 2, 0)
  26. MovementLoopAddLocation(NPC, 627.89, -17.14, 206.89, 2, 0)
  27. MovementLoopAddLocation(NPC, 611.38, -16.46, 211.17, 2, 0)
  28. MovementLoopAddLocation(NPC, 610.28, -15.74, 204.39, 2, 0)
  29. MovementLoopAddLocation(NPC, 548.65, -15.26, 212.37, 2, 0)
  30. MovementLoopAddLocation(NPC, 549.57, -9.98, 164.3, 2, 0)
  31. MovementLoopAddLocation(NPC, 547.37, -10.5, 153.68, 2, 0)
  32. MovementLoopAddLocation(NPC, 509.28, -10.93, 147.02, 2, 0)
  33. MovementLoopAddLocation(NPC, 490.05, -11.41, 143.3, 2, 0)
  34. MovementLoopAddLocation(NPC, 434.73, -11.61, 114.07, 2, 0)
  35. MovementLoopAddLocation(NPC, 490.05, -11.41, 143.3, 2, 0)
  36. MovementLoopAddLocation(NPC, 509.28, -10.93, 147.02, 2, 0)
  37. MovementLoopAddLocation(NPC, 547.37, -10.5, 153.68, 2, 0)
  38. MovementLoopAddLocation(NPC, 549.57, -9.98, 164.3, 2, 0)
  39. MovementLoopAddLocation(NPC, 548.65, -15.26, 212.37, 2, 0)
  40. MovementLoopAddLocation(NPC, 610.28, -15.74, 204.39, 2, 0)
  41. MovementLoopAddLocation(NPC, 611.38, -16.46, 211.17, 2, 0)
  42. MovementLoopAddLocation(NPC, 627.89, -17.14, 206.89, 2, 0)
  43. MovementLoopAddLocation(NPC, 643.87, -17.95, 202.22, 2, 0)
  44. MovementLoopAddLocation(NPC, 673.73, -17.95, 193.1, 2, 0)
  45. MovementLoopAddLocation(NPC, 673.56, -17.95, 193.43, 2, 0)
  46. MovementLoopAddLocation(NPC, 610.83, -16.46, 210.65, 2, 0)
  47. MovementLoopAddLocation(NPC, 610.55, -15.73, 204.39, 2, 0)
  48. MovementLoopAddLocation(NPC, 679.3, -19.37, 187.84, 2, 0)
  49. MovementLoopAddLocation(NPC, 680.77, -19.28, 191.96, 2, 0)
  50. MovementLoopAddLocation(NPC, 673.87, -17.95, 193.59, 2, 0)
  51. end
  52. function hailed(NPC, Spawn)
  53. FaceTarget(NPC, Spawn)
  54. local choice = math.random(1,5)
  55. if choice == 1 then
  56. PlayFlavor(NPC, "voiceover/english/erudite_eco_good_1/ft/erudite/erudite_eco_good_1_aoi_gf_7fcbca60.mp3", "An era of darkness has finally come to a close. Now we must see what future Norrath has in store.", "confused", 2437621868, 2071976840, Spawn)
  57. elseif choice == 2 then
  58. PlayFlavor(NPC, "voiceover/english/erudite_eco_good_1/ft/erudite/erudite_eco_good_1_hail_gf_5453f96d.mp3", "Paradise has always been here on Norrath for those who are thoughtful and responsible for their actions.", "thanks", 3529954798, 1064012556, Spawn)
  59. elseif choice == 3 then
  60. PlayFlavor(NPC, "voiceover/english/erudite_eco_good_1/ft/erudite/erudite_eco_good_1_hail_gf_e0bc946.mp3", "I have felt the stirrings of a strong magical influence. Good fortune will follow to those with the will to persevere!", "ponder", 4152344209, 239250643, Spawn)
  61. elseif choice == 4 then
  62. PlayFlavor(NPC, "voiceover/english/erudite_eco_good_1/ft/erudite/erudite_eco_good_1_hail_gf_84882e21.mp3", "You must not be afraid to trust others. Openness is the key to finding a correct solution.", "sigh", 1792907516, 2786700542, Spawn)
  63. elseif choice == 5 then
  64. PlayFlavor(NPC, "voiceover/english/erudite_eco_good_1/ft/erudite/erudite_eco_good_1_hail_gf_7895591c.mp3", "If we focus on the higher truths that govern our actions, we fathom the underlying power within them.", "curtsey", 2416988832, 3319542974, Spawn)
  65. else
  66. end
  67. end