acaveserpent.lua 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. function spawn(NPC)
  9. waypoints(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. end
  13. function respawn(NPC)
  14. spawn(NPC)
  15. end
  16. function waypoints(NPC)
  17. if GetSpawnLocationID(NPC)== 133776733 or GetSpawnLocationID(NPC)== 133776736 then
  18. MovementLoopAddLocation(NPC, -15.5, 12.78, -54.1, 1, 0)
  19. MovementLoopAddLocation(NPC, -15.19, 12.78, -61.62, 1, 0)
  20. MovementLoopAddLocation(NPC, -15.65, 12.78, -72.43, 1, 0)
  21. MovementLoopAddLocation(NPC, -15.87, 12.78, -83.07, 1, 0)
  22. MovementLoopAddLocation(NPC, -15.59, 12.78, -90.95, 1, 0)
  23. MovementLoopAddLocation(NPC, -17.54, 12.78, -90.05, 1, 0)
  24. MovementLoopAddLocation(NPC, -19.64, 12.78, -86.19, 1, 0)
  25. MovementLoopAddLocation(NPC, -16.79, 12.78, -69.11, 1, 0)
  26. MovementLoopAddLocation(NPC, -16.96, 12.78, -57.59, 1, 0)
  27. MovementLoopAddLocation(NPC, -16.55, 12.78, -54.19, 1, 0)
  28. MovementLoopAddLocation(NPC, -15.12, 12.78, -53.6, 1, 0)
  29. MovementLoopAddLocation(NPC, -15.97, 12.78, -64.15, 1, 0)
  30. MovementLoopAddLocation(NPC, -17.04, 12.78, -74.82, 1, 0)
  31. MovementLoopAddLocation(NPC, -21.94, 12.78, -78.49, 1, 0)
  32. MovementLoopAddLocation(NPC, -20.36, 12.78, -85.44, 1, 0)
  33. MovementLoopAddLocation(NPC, -15.8, 12.78, -94.3, 1, 0)
  34. MovementLoopAddLocation(NPC, -5.6, 12.78, -96.8, 1, 0)
  35. MovementLoopAddLocation(NPC, -9.77, 12.78, -94.27, 1, 0)
  36. MovementLoopAddLocation(NPC, -13.64, 12.78, -90.41, 1, 0)
  37. MovementLoopAddLocation(NPC, -14.22, 12.78, -80.79, 1, 0)
  38. MovementLoopAddLocation(NPC, -15.06, 12.78, -57.85, 1, 0)
  39. MovementLoopAddLocation(NPC, -14.22, 12.78, -80.79, 1, 0)
  40. MovementLoopAddLocation(NPC, -13.64, 12.78, -90.41, 1, 0)
  41. MovementLoopAddLocation(NPC, -9.77, 12.78, -94.27, 1, 0)
  42. MovementLoopAddLocation(NPC, -5.6, 12.78, -96.8, 1, 0)
  43. MovementLoopAddLocation(NPC, -15.8, 12.78, -94.3, 1, 0)
  44. MovementLoopAddLocation(NPC, -20.36, 12.78, -85.44, 1, 0)
  45. MovementLoopAddLocation(NPC, -21.94, 12.78, -78.49, 1, 0)
  46. MovementLoopAddLocation(NPC, -17.04, 12.78, -74.82, 1, 0)
  47. MovementLoopAddLocation(NPC, -15.97, 12.78, -64.15, 1, 0)
  48. MovementLoopAddLocation(NPC, -15.12, 12.78, -53.6, 1, 0)
  49. MovementLoopAddLocation(NPC, -16.55, 12.78, -54.19, 1, 0)
  50. MovementLoopAddLocation(NPC, -16.96, 12.78, -57.59, 1, 0)
  51. MovementLoopAddLocation(NPC, -16.79, 12.78, -69.11, 1, 0)
  52. MovementLoopAddLocation(NPC, -19.64, 12.78, -86.19, 1, 0)
  53. MovementLoopAddLocation(NPC, -17.54, 12.78, -90.05, 1, 0)
  54. MovementLoopAddLocation(NPC, -15.59, 12.78, -90.95, 1, 0)
  55. MovementLoopAddLocation(NPC, -15.87, 12.78, -83.07, 1, 0)
  56. MovementLoopAddLocation(NPC, -15.65, 12.78, -72.43, 1, 0)
  57. MovementLoopAddLocation(NPC, -15.19, 12.78, -61.62, 1, 0)
  58. MovementLoopAddLocation(NPC, -15.5, 12.78, -54.1, 1, 0)
  59. end
  60. end