acaveserpent.lua 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. --[[
  2. Script Name : SpawnScripts/Caves/acaveserpent.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.10.13 12:10:26
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/NPCModule"
  9. function spawn(NPC, Spawn)
  10. NPCModule(NPC, Spawn)
  11. waypoints(NPC)
  12. end
  13. function hailed(NPC, Spawn)
  14. end
  15. function respawn(NPC)
  16. spawn(NPC)
  17. end
  18. function waypoints(NPC)
  19. if GetSpawnLocationID(NPC)== 133776733 or GetSpawnLocationID(NPC)== 133776736 then
  20. MovementLoopAddLocation(NPC, -15.5, 12.78, -54.1, 1, 0)
  21. MovementLoopAddLocation(NPC, -15.19, 12.78, -61.62, 1, 0)
  22. MovementLoopAddLocation(NPC, -15.65, 12.78, -72.43, 1, 0)
  23. MovementLoopAddLocation(NPC, -15.87, 12.78, -83.07, 1, 0)
  24. MovementLoopAddLocation(NPC, -15.59, 12.78, -90.95, 1, 0)
  25. MovementLoopAddLocation(NPC, -17.54, 12.78, -90.05, 1, 0)
  26. MovementLoopAddLocation(NPC, -19.64, 12.78, -86.19, 1, 0)
  27. MovementLoopAddLocation(NPC, -16.79, 12.78, -69.11, 1, 0)
  28. MovementLoopAddLocation(NPC, -16.96, 12.78, -57.59, 1, 0)
  29. MovementLoopAddLocation(NPC, -16.55, 12.78, -54.19, 1, 0)
  30. MovementLoopAddLocation(NPC, -15.12, 12.78, -53.6, 1, 0)
  31. MovementLoopAddLocation(NPC, -15.97, 12.78, -64.15, 1, 0)
  32. MovementLoopAddLocation(NPC, -17.04, 12.78, -74.82, 1, 0)
  33. MovementLoopAddLocation(NPC, -21.94, 12.78, -78.49, 1, 0)
  34. MovementLoopAddLocation(NPC, -20.36, 12.78, -85.44, 1, 0)
  35. MovementLoopAddLocation(NPC, -15.8, 12.78, -94.3, 1, 0)
  36. MovementLoopAddLocation(NPC, -5.6, 12.78, -96.8, 1, 0)
  37. MovementLoopAddLocation(NPC, -9.77, 12.78, -94.27, 1, 0)
  38. MovementLoopAddLocation(NPC, -13.64, 12.78, -90.41, 1, 0)
  39. MovementLoopAddLocation(NPC, -14.22, 12.78, -80.79, 1, 0)
  40. MovementLoopAddLocation(NPC, -15.06, 12.78, -57.85, 1, 0)
  41. MovementLoopAddLocation(NPC, -14.22, 12.78, -80.79, 1, 0)
  42. MovementLoopAddLocation(NPC, -13.64, 12.78, -90.41, 1, 0)
  43. MovementLoopAddLocation(NPC, -9.77, 12.78, -94.27, 1, 0)
  44. MovementLoopAddLocation(NPC, -5.6, 12.78, -96.8, 1, 0)
  45. MovementLoopAddLocation(NPC, -15.8, 12.78, -94.3, 1, 0)
  46. MovementLoopAddLocation(NPC, -20.36, 12.78, -85.44, 1, 0)
  47. MovementLoopAddLocation(NPC, -21.94, 12.78, -78.49, 1, 0)
  48. MovementLoopAddLocation(NPC, -17.04, 12.78, -74.82, 1, 0)
  49. MovementLoopAddLocation(NPC, -15.97, 12.78, -64.15, 1, 0)
  50. MovementLoopAddLocation(NPC, -15.12, 12.78, -53.6, 1, 0)
  51. MovementLoopAddLocation(NPC, -16.55, 12.78, -54.19, 1, 0)
  52. MovementLoopAddLocation(NPC, -16.96, 12.78, -57.59, 1, 0)
  53. MovementLoopAddLocation(NPC, -16.79, 12.78, -69.11, 1, 0)
  54. MovementLoopAddLocation(NPC, -19.64, 12.78, -86.19, 1, 0)
  55. MovementLoopAddLocation(NPC, -17.54, 12.78, -90.05, 1, 0)
  56. MovementLoopAddLocation(NPC, -15.59, 12.78, -90.95, 1, 0)
  57. MovementLoopAddLocation(NPC, -15.87, 12.78, -83.07, 1, 0)
  58. MovementLoopAddLocation(NPC, -15.65, 12.78, -72.43, 1, 0)
  59. MovementLoopAddLocation(NPC, -15.19, 12.78, -61.62, 1, 0)
  60. MovementLoopAddLocation(NPC, -15.5, 12.78, -54.1, 1, 0)
  61. end
  62. end