9
3

afreshwatertrout1.lua 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. --[[
  2. Script Name : SpawnScripts/Oakmyst_Classic/afreshwatertrout1.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.10.19 07:10:50
  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, 912.84, 0.89, -276.71, 2, 4)
  19. MovementLoopAddLocation(NPC, 915.41, 0.53, -270.76, 2, 0)
  20. MovementLoopAddLocation(NPC, 920.29, -0.06, -265.84, 2, math.random(5,10))
  21. MovementLoopAddLocation(NPC, 920.29, -0.06, -265.84, 2, 0)
  22. MovementLoopAddLocation(NPC, 918.9, 0.06, -266.17, 2, 0)
  23. MovementLoopAddLocation(NPC, 915.31, 0.45, -264.44, 2, math.random(5,10))
  24. MovementLoopAddLocation(NPC, 915.31, 0.45, -264.44, 2, 0)
  25. MovementLoopAddLocation(NPC, 913.9, 0.79, -276.75, 2, 0)
  26. MovementLoopAddLocation(NPC, 916.55, 0.9, -280.01, 2, math.random(5,10))
  27. MovementLoopAddLocation(NPC, 916.55, 0.9, -280.01, 2, 0)
  28. MovementLoopAddLocation(NPC, 912.21, 0.9, -275.92, 2, math.random(5,10))
  29. MovementLoopAddLocation(NPC, 912.21, 0.9, -275.92, 2, 0)
  30. MovementLoopAddLocation(NPC, 918.74, 0.07, -265.99, 2, math.random(5,10))
  31. MovementLoopAddLocation(NPC, 918.74, 0.07, -265.99, 2, 0)
  32. MovementLoopAddLocation(NPC, 912.84, 0.89, -276.71, 2, 4)
  33. end