ArriaFadilla.lua 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. --[[
  2. Script Name : SpawnScripts/BeggarsCourt/ArriaFadilla.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.11.28 04:11:38
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericEcologyVoiceOvers.lua")
  9. function spawn(NPC)
  10. waypoints(NPC)
  11. SetPlayerProximityFunction(NPC, 6, "InRange", "LeaveRange")
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. GenericRaceCheckHail(NPC, Spawn)
  16. end
  17. function InRange(NPC,Spawn)
  18. GenericRaceCheckCallout(NPC, Spawn)
  19. end
  20. function respawn(NPC)
  21. spawn(NPC)
  22. end
  23. function waypoints(NPC)
  24. MovementLoopAddLocation(NPC, 50.91, -7.08, 101.7, 2, 1)
  25. MovementLoopAddLocation(NPC, 50.91, -7.08, 101.7, 2, MakeRandomInt(15,25),"EcologyEmotes")
  26. MovementLoopAddLocation(NPC, 54.62, -7.08, 97.3, 2, 0)
  27. MovementLoopAddLocation(NPC, 57.77, -7.08, 92.14, 2, 0)
  28. MovementLoopAddLocation(NPC, 57.36, -7.07, 86.32, 2, 0)
  29. MovementLoopAddLocation(NPC, 57.09, -6.61, 84.09, 2, 0)
  30. MovementLoopAddLocation(NPC, 53.26, -6.31, 72.98, 2, 0)
  31. MovementLoopAddLocation(NPC, 52.59, -7, 69.04, 2, 0)
  32. MovementLoopAddLocation(NPC, 50.76, -6.94, 65.11, 2, 0)
  33. MovementLoopAddLocation(NPC, 51.52, -7, 54.1, 2, 0)
  34. MovementLoopAddLocation(NPC, 54.14, -6.5, 49.72, 2, 1)
  35. MovementLoopAddLocation(NPC, 54.14, -6.5, 49.72, 2, MakeRandomInt(15,25),"EcologyEmotes")
  36. MovementLoopAddLocation(NPC, 42.7, -7, 53.16, 2, 0)
  37. MovementLoopAddLocation(NPC, 35.28, -7, 54.34, 2, 0)
  38. MovementLoopAddLocation(NPC, 16.55, -7, 55.2, 2, 0)
  39. MovementLoopAddLocation(NPC, 8.12, -7, 54.22, 2, 0)
  40. MovementLoopAddLocation(NPC, 2.35, -7, 50.98, 2, 0)
  41. MovementLoopAddLocation(NPC, 1, -6.64, 42.35, 2, 0)
  42. MovementLoopAddLocation(NPC, -0.23, -6, 37.28, 2, 0)
  43. MovementLoopAddLocation(NPC, -1.03, -6, 33.48, 2, 1)
  44. MovementLoopAddLocation(NPC, -1.03, -6, 33.48, 2, MakeRandomInt(15,25),"EcologyEmotes")
  45. MovementLoopAddLocation(NPC, 2.07, -6, 32.62, 2, 0)
  46. MovementLoopAddLocation(NPC, 9.72, -5.5, 31.18, 2, 0)
  47. MovementLoopAddLocation(NPC, 12.37, -5.5, 32.28, 2, 0)
  48. MovementLoopAddLocation(NPC, 15.99, -5.5, 32.38, 2, 0)
  49. MovementLoopAddLocation(NPC, 20.59, -5.5, 31.66, 2, 0)
  50. MovementLoopAddLocation(NPC, 25.68, -6, 33.46, 2, 0)
  51. MovementLoopAddLocation(NPC, 29.49, -5.75, 37.28, 2, 0)
  52. MovementLoopAddLocation(NPC, 31.92, -5.5, 37.82, 2, 0)
  53. MovementLoopAddLocation(NPC, 33.54, -5.25, 37.01, 2, 0)
  54. MovementLoopAddLocation(NPC, 36.7, -5, 35.4, 2, 15)
  55. MovementLoopAddLocation(NPC, 38.99, -5, 35.31, 2, 0)
  56. MovementLoopAddLocation(NPC, 40.23, -5, 37.18, 2, 0)
  57. MovementLoopAddLocation(NPC, 39.25, -5.25, 40.31, 2, 0)
  58. MovementLoopAddLocation(NPC, 34.49, -6, 45.11, 2, 0)
  59. MovementLoopAddLocation(NPC, 26.32, -7, 56.09, 2, 0)
  60. MovementLoopAddLocation(NPC, 20.85, -7, 64.2, 2, MakeRandomInt(15,25),"EcologyEmotes")
  61. MovementLoopAddLocation(NPC, 23.57, -7, 57.06, 2, 0)
  62. MovementLoopAddLocation(NPC, 28.69, -7, 53.53, 2, 0)
  63. MovementLoopAddLocation(NPC, 39.23, -7, 52.23, 2, 0)
  64. MovementLoopAddLocation(NPC, 47.18, -7, 57.08, 2, 0)
  65. MovementLoopAddLocation(NPC, 56.63, -6.97, 68.98, 2, 1)
  66. MovementLoopAddLocation(NPC, 56.63, -6.97, 68.98, 2, MakeRandomInt(15,25),"EcologyEmotes")
  67. MovementLoopAddLocation(NPC, 55.31, -7, 67.76, 2, 0)
  68. MovementLoopAddLocation(NPC, 52.97, -7, 68.62, 2, 0)
  69. MovementLoopAddLocation(NPC, 55.09, -6.47, 76.1, 2, 0)
  70. MovementLoopAddLocation(NPC, 57.57, -6.53, 82.93, 2, 0)
  71. MovementLoopAddLocation(NPC, 58.63, -7.05, 86.71, 2, 0)
  72. MovementLoopAddLocation(NPC, 60.11, -7.08, 90.9, 2, 0)
  73. MovementLoopAddLocation(NPC, 56.54, -7.08, 95, 2, 0)
  74. MovementLoopAddLocation(NPC, 48.89, -7.08, 102.31, 2, 0)
  75. MovementLoopAddLocation(NPC, 46.63, -7.08, 111.38, 2, 1)
  76. MovementLoopAddLocation(NPC, 46.63, -7.08, 111.38, 2, MakeRandomInt(15,20),"EcologyEmotes")
  77. end