astoneshellsnapper12.lua 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. --[[
  2. Script Name : SpawnScripts/Classic_forest/astoneshellsnapper12.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.10.12 07:10:04
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/NPCModule"
  9. function spawn(NPC, Spawn)
  10. NPCModule(NPC, Spawn)
  11. AddTimer(NPC, 6000, "waypoints")
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. end
  16. function respawn(NPC)
  17. spawn(NPC)
  18. end
  19. function waypoints(NPC)
  20. MovementLoopAddLocation(NPC, 1109.19, -22.05, -700.64, 1, 0)
  21. MovementLoopAddLocation(NPC, 1108.31, -19.77, -704.5, 1, math.random(5,10))
  22. MovementLoopAddLocation(NPC, 1108.31, -19.77, -704.5, 1, 0)
  23. MovementLoopAddLocation(NPC, 1102.46, -23.66, -699.26, 1, math.random(5,10))
  24. MovementLoopAddLocation(NPC, 1102.46, -23.66, -699.26, 1, 0)
  25. MovementLoopAddLocation(NPC, 1102.93, -21.92, -693.73, 1, math.random(5,10))
  26. MovementLoopAddLocation(NPC, 1102.93, -21.92, -693.73, 1, 0)
  27. MovementLoopAddLocation(NPC, 1104.91, -20.81, -690.86, 1, math.random(5,10))
  28. MovementLoopAddLocation(NPC, 1104.91, -20.81, -690.86, 1, 0)
  29. MovementLoopAddLocation(NPC, 1102.51, -22.55, -694.51, 1, 0)
  30. MovementLoopAddLocation(NPC, 1104.59, -22.47, -699.92, 1, 0)
  31. MovementLoopAddLocation(NPC, 1107.15, -20.95, -702.57, 1, math.random(5,10))
  32. MovementLoopAddLocation(NPC, 1107.15, -20.95, -702.57, 1, 0)
  33. MovementLoopAddLocation(NPC, 1113.34, -20.47, -704.03, 1, 0)
  34. MovementLoopAddLocation(NPC, 1118.66, -21.07, -706.88, 1, 0)
  35. MovementLoopAddLocation(NPC, 1124.32, -23.75, -708.75, 1, math.random(5,10))
  36. MovementLoopAddLocation(NPC, 1124.32, -23.75, -708.75, 1, 0)
  37. MovementLoopAddLocation(NPC, 1119, -23.43, -704.66, 1, 0)
  38. MovementLoopAddLocation(NPC, 1113.87, -23.26, -701.09, 1, 0)
  39. MovementLoopAddLocation(NPC, 1111.56, -19.83, -704.16, 1, 0)
  40. MovementLoopAddLocation(NPC, 1108.13, -18.51, -707.64, 1, math.random(5,10))
  41. MovementLoopAddLocation(NPC, 1108.13, -18.51, -707.64, 1, 0)
  42. MovementLoopAddLocation(NPC, 1102.74, -20.13, -712.21, 1, math.random(5,10))
  43. MovementLoopAddLocation(NPC, 1102.74, -20.13, -712.21, 1, 0)
  44. MovementLoopAddLocation(NPC, 1105.53, -19.26, -708.44, 1, 0)
  45. MovementLoopAddLocation(NPC, 1107.75, -19.42, -705.45, 1, 0)
  46. MovementLoopAddLocation(NPC, 1109.19, -22.05, -700.64, 1, math.random(5,10))
  47. end