afreshwatertrout6.lua 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. --[[
  2. Script Name : SpawnScripts/Oakmyst_Classic/afreshwatertrout6.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.10.19 07:10:23
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. waypoints(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. end
  14. function respawn(NPC)
  15. spawn(NPC)
  16. end
  17. function waypoints(NPC)
  18. MovementLoopAddLocation(NPC, 918.48, 1.16, -281.58, 2, 4)
  19. MovementLoopAddLocation(NPC, 914.3, 0.81, -277.93, 2, 0)
  20. MovementLoopAddLocation(NPC, 914.17, 0.62, -271.27, 2, math.random(5,10))
  21. MovementLoopAddLocation(NPC, 914.17, 0.62, -271.27, 2, 0)
  22. MovementLoopAddLocation(NPC, 912.18, 0.93, -276.15, 2, math.random(5,10))
  23. MovementLoopAddLocation(NPC, 912.18, 0.93, -276.15, 2, 0)
  24. MovementLoopAddLocation(NPC, 918.84, 0.22, -269.53, 2, math.random(5,10))
  25. MovementLoopAddLocation(NPC, 918.84, 0.22, -269.53, 2, 0)
  26. MovementLoopAddLocation(NPC, 914.07, 0.67, -274.17, 2, 0)
  27. MovementLoopAddLocation(NPC, 915.37, 0.93, -280.26, 2, 0)
  28. MovementLoopAddLocation(NPC, 922.12, 1.13, -282.52, 2, 0)
  29. MovementLoopAddLocation(NPC, 925.92, 1.21, -281.66, 2, math.random(5,10))
  30. MovementLoopAddLocation(NPC, 925.92, 1.21, -281.66, 2, 0)
  31. MovementLoopAddLocation(NPC, 922.71, 1.15, -282.25, 2, 0)
  32. MovementLoopAddLocation(NPC, 913.41, 0.89, -277.63, 2, math.random(5,10))
  33. MovementLoopAddLocation(NPC, 913.41, 0.89, -277.63, 2, 0)
  34. MovementLoopAddLocation(NPC, 914.87, 0.56, -271.98, 2, math.random(5,10))
  35. MovementLoopAddLocation(NPC, 914.87, 0.56, -271.98, 2, 0)
  36. MovementLoopAddLocation(NPC, 913.87, 0.77, -276.57, 2, 0)
  37. MovementLoopAddLocation(NPC, 918.48, 1.16, -281.58, 2, 4)
  38. end