astoneshellsnapper4.lua 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. --[[
  2. Script Name : SpawnScripts/Classic_forest/astoneshellsnapper4.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.10.12 04:10:28
  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, 986.43, -23.64, -589.79, 1, 0)
  21. MovementLoopAddLocation(NPC, 986.47, -24.75, -597.75, 1, 0)
  22. MovementLoopAddLocation(NPC, 986.47, -24.75, -597.75, 1, 0)
  23. MovementLoopAddLocation(NPC, 984.55, -24.2, -589.41, 1, 0)
  24. MovementLoopAddLocation(NPC, 978.9, -25.02, -585.73, 1, 0)
  25. MovementLoopAddLocation(NPC, 971.06, -25.45, -583.25, 1, 0)
  26. MovementLoopAddLocation(NPC, 971.06, -25.45, -583.25, 1, 0)
  27. MovementLoopAddLocation(NPC, 973.85, -26.72, -586.33, 1, 0)
  28. MovementLoopAddLocation(NPC, 973.85, -26.72, -586.33, 1, 0)
  29. MovementLoopAddLocation(NPC, 980.02, -27.32, -590.26, 1, 0)
  30. MovementLoopAddLocation(NPC, 980.02, -27.32, -590.26, 1, 0)
  31. MovementLoopAddLocation(NPC, 983.3, -25.49, -591.43, 1, 0)
  32. MovementLoopAddLocation(NPC, 983.3, -25.49, -591.43, 1, 0)
  33. MovementLoopAddLocation(NPC, 983.47, -23.82, -586.33, 1, 0)
  34. MovementLoopAddLocation(NPC, 983.47, -23.82, -586.33, 1, 0)
  35. end