SavanthisHalinthel.lua 4.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. --[[
  2. Script Name : SpawnScripts/Castleview/SavanthisHalinthel.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.10.29 04:10:21
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericEcologyVoiceOvers.lua")
  9. dofile("SpawnScripts/Generic/UnknownLanguage.lua")
  10. function spawn(NPC)
  11. waypoints(NPC)
  12. SetPlayerProximityFunction(NPC, 7, "InRange", "LeaveRange")
  13. end
  14. function hailed(NPC, Spawn)
  15. FaceTarget(NPC, Spawn)
  16. GenericRaceCheckHail(NPC, Spawn, faction)
  17. end
  18. function InRange(NPC,Spawn)
  19. GenericRaceCheckCallout(NPC, Spawn, faction)
  20. end
  21. function waypoints(NPC)
  22. MovementLoopAddLocation(NPC, 769.6, -19.98, -98.53, 2, 28)
  23. MovementLoopAddLocation(NPC, 772.49, -19.95, -100.21, 2, 0)
  24. MovementLoopAddLocation(NPC, 778.09, -20.03, -103.36, 2, 0)
  25. MovementLoopAddLocation(NPC, 782.23, -19.99, -108.53, 2, 0)
  26. MovementLoopAddLocation(NPC, 774.76, -18.22, -111.31, 2, 0)
  27. MovementLoopAddLocation(NPC, 774.04, -18.22, -111.52, 2, 0)
  28. MovementLoopAddLocation(NPC, 770.28, -18.22, -109.58, 2, 0)
  29. MovementLoopAddLocation(NPC, 768.73, -18.22, -105.87, 2, 0)
  30. MovementLoopAddLocation(NPC, 765.48, -14, -97.54, 2, 0)
  31. MovementLoopAddLocation(NPC, 762.58, -13.78, -93.44, 2, 0)
  32. MovementLoopAddLocation(NPC, 759.61, -13.78, -92.87, 2, 0)
  33. MovementLoopAddLocation(NPC, 759.06, -13.76, -94.1, 2, 0)
  34. MovementLoopAddLocation(NPC, 760.22, -13.72, -101.81, 2, 0)
  35. MovementLoopAddLocation(NPC, 760.41, -13.72, -103.06, 2, 0)
  36. MovementLoopAddLocation(NPC, 758.95, -13.76, -105.64, 2, 0)
  37. MovementLoopAddLocation(NPC, 756.71, -13.81, -110.49, 2, 0)
  38. MovementLoopAddLocation(NPC, 752.16, -13.72, -122.81, 2, 25)
  39. MovementLoopAddLocation(NPC, 756.95, -13.82, -111.93, 2, 0)
  40. MovementLoopAddLocation(NPC, 760.07, -13.75, -104.66, 2, 0)
  41. MovementLoopAddLocation(NPC, 762.43, -13.76, -100.26, 2, 0)
  42. MovementLoopAddLocation(NPC, 760.91, -13.75, -95.67, 2, 0)
  43. MovementLoopAddLocation(NPC, 763.26, -13.73, -94.91, 2, 0)
  44. MovementLoopAddLocation(NPC, 764.78, -14.23, -98.26, 2, 0)
  45. MovementLoopAddLocation(NPC, 767.93, -18.22, -106.8, 2, 0)
  46. MovementLoopAddLocation(NPC, 770.15, -18.22, -110.12, 2, 0)
  47. MovementLoopAddLocation(NPC, 773.37, -18.22, -111.45, 2, 0)
  48. MovementLoopAddLocation(NPC, 773.93, -18.22, -113.64, 2, 0)
  49. MovementLoopAddLocation(NPC, 772.1, -18.22, -117.34, 2, 0)
  50. MovementLoopAddLocation(NPC, 774.64, -19.93, -123.96, 2, 0)
  51. MovementLoopAddLocation(NPC, 774.05, -19.95, -129.77, 2, 25)
  52. MovementLoopAddLocation(NPC, 772.63, -19.99, -128.64, 2, 0)
  53. MovementLoopAddLocation(NPC, 767.48, -20.02, -129.24, 2, 0)
  54. MovementLoopAddLocation(NPC, 766.67, -20.45, -137.61, 2, 0)
  55. MovementLoopAddLocation(NPC, 766.64, -20.23, -139.52, 2, 0)
  56. MovementLoopAddLocation(NPC, 766.96, -19.99, -143.7, 2, 0)
  57. MovementLoopAddLocation(NPC, 766.6, -19.73, -148.3, 2, 0)
  58. MovementLoopAddLocation(NPC, 766.09, -19.46, -152.27, 2, 0)
  59. MovementLoopAddLocation(NPC, 766.27, -18.97, -161.17, 2, 0)
  60. MovementLoopAddLocation(NPC, 776.6, -17.39, -164.54, 2, 0)
  61. MovementLoopAddLocation(NPC, 780.96, -17.39, -163.07, 2, 0)
  62. MovementLoopAddLocation(NPC, 784.32, -17.39, -161.94, 2, 0)
  63. MovementLoopAddLocation(NPC, 787.2, -16.22, -156.22, 2, 0)
  64. MovementLoopAddLocation(NPC, 787.48, -16.22, -151.69, 2, 25)
  65. MovementLoopAddLocation(NPC, 788.45, -16.22, -152.75, 2, 0)
  66. MovementLoopAddLocation(NPC, 783.04, -17.39, -161.18, 2, 0)
  67. MovementLoopAddLocation(NPC, 777.01, -17.39, -161.31, 2, 0)
  68. MovementLoopAddLocation(NPC, 768.87, -18.94, -161.22, 2, 0)
  69. MovementLoopAddLocation(NPC, 768.33, -19.01, -157.47, 2, 0)
  70. MovementLoopAddLocation(NPC, 768.21, -19.46, -151.77, 2, 0)
  71. MovementLoopAddLocation(NPC, 768.5, -19.95, -146.03, 2, 0)
  72. MovementLoopAddLocation(NPC, 768.02, -20.22, -140.08, 2, 0)
  73. MovementLoopAddLocation(NPC, 768.12, -20.48, -133.72, 2, 0)
  74. MovementLoopAddLocation(NPC, 771.08, -19.98, -128.11, 2, 0)
  75. MovementLoopAddLocation(NPC, 777.98, -19.95, -123.01, 2, 0)
  76. MovementLoopAddLocation(NPC, 782.93, -19.95, -115.75, 2, 0)
  77. MovementLoopAddLocation(NPC, 782.52, -19.97, -110.58, 2, 0)
  78. MovementLoopAddLocation(NPC, 777.49, -20.02, -102.39, 2, 0)
  79. end