9
3

Ivashko.lua 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. --[[
  2. Script Name : SpawnScripts/ScaleYard/Ivashko.lua
  3. Script Author : torsten
  4. Script Date : 2022.07.25 12:07:27
  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, -4.36, -5.24, 1.67, 2, math.random(0, 4))
  19. MovementLoopAddLocation(NPC, -0.35, -5.07, 4.42, 2, math.random(0, 4))
  20. MovementLoopAddLocation(NPC, 6.18, -4.75, 8.15, 2, math.random(0, 4))
  21. MovementLoopAddLocation(NPC, 27.4, -2.25, 14.04, 2, math.random(0, 4))
  22. MovementLoopAddLocation(NPC, 30.47, 0, 6.05, 2, math.random(0, 4))
  23. MovementLoopAddLocation(NPC, 24.62, 0, -1.35, 2, math.random(0, 4))
  24. MovementLoopAddLocation(NPC, 31.76, 0, -5.53, 2, math.random(0, 4))
  25. MovementLoopAddLocation(NPC, 36.71, -2.25, -15.72, 2, math.random(0, 4))
  26. MovementLoopAddLocation(NPC, 41.62, -4.35, -25.46, 2, math.random(0, 4))
  27. MovementLoopAddLocation(NPC, 44.88, -4.35, -34.8, 2, math.random(0, 4))
  28. MovementLoopAddLocation(NPC, 50.99, -4.35, -43.18, 2, math.random(0, 4))
  29. MovementLoopAddLocation(NPC, 66.9, -4.35, -36.63, 2, math.random(0, 4))
  30. MovementLoopAddLocation(NPC, 61.77, -4.35, -23.91, 2, math.random(0, 4))
  31. MovementLoopAddLocation(NPC, 62.06, -2.51, -9.62, 2, math.random(0, 4))
  32. MovementLoopAddLocation(NPC, 63.04, -1.97, -6.65, 2, math.random(0, 4))
  33. MovementLoopAddLocation(NPC, 70.7, 0, -4.58, 2, math.random(0, 4))
  34. MovementLoopAddLocation(NPC, 68.74, -2.25, 4.41, 2, math.random(0, 4))
  35. MovementLoopAddLocation(NPC, 76.28, -4.37, 6.56, 2, math.random(0, 4))
  36. MovementLoopAddLocation(NPC, 68.75, -4.37, 16.27, 2, math.random(0, 4))
  37. MovementLoopAddLocation(NPC, 77.56, -4.37, 7.53, 2, math.random(0, 4))
  38. MovementLoopAddLocation(NPC, 68.53, -2.25, 3.47, 2, math.random(0, 4))
  39. MovementLoopAddLocation(NPC, 70.92, 0, -4.18, 2, math.random(0, 4))
  40. MovementLoopAddLocation(NPC, 36.58, -2.25, -14.86, 2, math.random(0, 4))
  41. MovementLoopAddLocation(NPC, 31.45, 0, -4.1, 2, math.random(0, 4))
  42. MovementLoopAddLocation(NPC, 29.14, 0, 6.45, 2, math.random(0, 4))
  43. MovementLoopAddLocation(NPC, 23.15, -4.38, 22.58, 2, math.random(0, 4))
  44. MovementLoopAddLocation(NPC, 10.25, -4.2, 10.43, 2, math.random(0, 4))
  45. MovementLoopAddLocation(NPC, -5.29, -5.2, 0.99, 2, math.random(0, 4))
  46. end